Link Javascript 文件托管在 google 驱动器上
Link Javascript file hosted on google drive
正在研究如何完成此操作,但我的 .js 文件无法正常工作。
此处嵌入:
<script type="text/javascript" src="https://googledrive.com/host/id_goes_here/"></script>
我已经把文件夹和文件public发给大家了。为什么我的 html 无法识别此链接文件?
根据我能找到的最有信誉的文档(我自己浪费了大约一个小时尝试这个但没有成功),Google Drive 不再支持托管 Web 文件。这就是为什么您的 <script>
标记源不起作用。这在以下链接中说明:
Google no longer allows hosting files from Google Drive. It is no
longer possible to serve javascript or css files from Google Drive.
This feature was shutdown on 1st September 2016...
https://productforums.google.com/forum/#!msg/blogger/HjOU0jIidQY/_k6FtwnVDwAJ
https://gsuiteupdates.googleblog.com/2015/08/deprecating-web-hosting-support-in.html
正在研究如何完成此操作,但我的 .js 文件无法正常工作。
此处嵌入:
<script type="text/javascript" src="https://googledrive.com/host/id_goes_here/"></script>
我已经把文件夹和文件public发给大家了。为什么我的 html 无法识别此链接文件?
根据我能找到的最有信誉的文档(我自己浪费了大约一个小时尝试这个但没有成功),Google Drive 不再支持托管 Web 文件。这就是为什么您的 <script>
标记源不起作用。这在以下链接中说明:
Google no longer allows hosting files from Google Drive. It is no longer possible to serve javascript or css files from Google Drive. This feature was shutdown on 1st September 2016...
https://productforums.google.com/forum/#!msg/blogger/HjOU0jIidQY/_k6FtwnVDwAJ https://gsuiteupdates.googleblog.com/2015/08/deprecating-web-hosting-support-in.html