URL Shorten 缩短网址
使用微博™将长网址缩短成t.cn的短网址
Additional files are visible only to premium users
manifest.json
{
"name": "URL Shorten 缩短网址",
"version": "1.2.2",
"manifest_version": 3,
"description": "使用微博™将长网址缩短成t.cn的短网址",
"permissions": [
"contextMenus",
"activeTab",
"storage",
"scripting",
"cookies"
],
"host_permissions": [
"https://weibo.com/*"
],
"content_scripts": [
{
"matches": [
"https://weibo.com/*"
],
"js": [
"js/utils.js",
"js/content.js"
]
}
],
"background": {
"service_worker": "js/background.js"
},
"action": {
"default_popup": "shorten.html",
"default_icon": {
"16": "image/shorten-16.png",
"32": "image/shorten-32.png",
"48": "image/shorten-48.png",
"128": "image/shorten-128.png"
}
},
"icons": {
"16": "image/shorten-16.png",
"32": "image/shorten-32.png",
"48": "image/shorten-48.png",
"128": "image/shorten-128.png"
},
"update_url": "https://clients2.google.com/service/update2/crx"
}