反正又是重复劳动,唔理有冇,自己写先是重点,又冇难度。
firefox的mason插件
https://addons.mozilla.org/zh-CN/firefox/addon/mason/
系某个目录下新建一个“googleapis Redirector.mason.js”,粘贴下边的。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
<mason> Author=ztj Created=2015/5/4 Version=1.0 Description=googleapis.com Redirector Website=ztjal.info Usage= Url=ajax\.googleapis\.com </mason> <parts> part1=.@@@L3 </parts> <part1> function _masonRedirect(spec){ return spec.replace('https:','http:').replace('ajax.googleapis.com','ajax.lug.ustc.edu.cn'); } </part1> |
打开Mason选项,添加一个,描述随便,包含地址“(ajax|fonts)\.googleapis\.com”,功能“Mason脚本”,配置选择上边果个文件,完。
2016.10更新:
由于fonts.googleapis.com依家系解释系国内的,就唔好加上了。
360的useso.com系GG的API入返来国内果阵瞬间出个公告几日后就收皮了。