replace jQuery

Inserts chinese hosted jQuery into your page

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
hamsolo474
日安装量
0
总安装量
13
评分
0 0 0
版本
0.1
创建于
2021-08-27
更新于
2021-08-27
大小
3.5 KB
许可证
MIT
适用于
所有网站

Should hopefully fix jquery for people browsing from china.

Loading websites with jQuery from china can sometimes cause issues as people often link to google's servers for jQuery, google's servers are blocked in china so the end user ends up with semi-functional website. Not good, assuming jQuery fails to load, this will attempt to load A (not necessarily the right) version of jQuery from a server visible in china.

Good luck.

Code mostly taken from this SO answer
https://stackoverflow.com/questions/7700728/replace-jquery-version-of-a-page-with-greasemonkey#7703530