去除微信/微博对链接的重定向
Premium users can view and search full source code, and see the source code differences
between two versions.
Upgrade to premium
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"manifest_version": 2,
"name": "去除重定向",
"description": "去除微信/微博对链接的重定向",
"version": "2.1",
"icons": {
"128": "icon128.png"
},
"background": {
"scripts": [
"background.js"
],
"persistent": true
},
"content_scripts": [
{
"matches": [
"https://weixin110.qq.com/cgi-bin/mmspamsupport-bin/newredirectconfirmcgi?*"
],
"js": [
"content-scripts/weixin.js"
]
},
{
"matches": [
"*://t.cn/*"
],
"js": [
"content-scripts/weibo.js"
]
}
],
"permissions": [
"webRequest",
"webRequestBlocking",
"https://weixin110.qq.com/cgi-bin/mmspamsupport-bin/newredirectconfirmcgi?*",
"https://support.weixin.qq.com/cgi-bin/mmsupport-bin/readtemplate?*"
]
}