将指定网站的 Cookie 同步到当前页面。
解决本地开发期间单点登录 (SSO) Cookie 不同步的问题。
在本地开发集成 SSO 系统的应用程序时,通常需要此功能,因为来自认证域的 Cookie 需要与本地开发环境共享。
Premium users can view and search full source code, and see the source code differences
between two versions.
Upgrade to premium
manifest.json
{
"manifest_version": 2,
"name": "sync_cookies",
"description": "manifest.json description",
"version": "1.2.2",
"icons": {
"16": "icon/16.png",
"32": "icon/32.png",
"48": "icon/48.png",
"96": "icon/96.png",
"128": "icon/128.png"
},
"permissions": [
"activeTab",
"cookies",
"storage",
"*://*/*"
],
"background": {
"scripts": [
"background.js"
]
},
"browser_action": {
"default_title": "async_cookies",
"default_popup": "popup.html"
},
"browser_specific_settings": {
"gecko": {
"id": "{d1c1cda2-7c2c-4f52-957b-67ead03b67ae}"
}
}
}