Skip to content
This repository has been archived by the owner on Oct 21, 2021. It is now read-only.

Commit

Permalink
make script run in frame
Browse files Browse the repository at this point in the history
  • Loading branch information
dong-zeyu committed Dec 31, 2017
1 parent e457348 commit 81aeda1
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,28 @@
"description": "Auto login cas in SUSTech",
"icons": { "128": "icon.png" },
"permissions": [
"https://cas.sustc.edu.cn/",
"http://enet.10000.gd.cn:10001/",
"http://jwxt.sustc.edu.cn/",
"storage",
"tabs"],
"https://cas.sustc.edu.cn/",
"http://enet.10000.gd.cn:10001/",
"http://jwxt.sustc.edu.cn/",
"storage",
"tabs"],
"browser_action": {
"default_title": "CAS Login",
"default_icon": "icon.png",
"default_popup": "popup.html"
"default_title": "CAS Login",
"default_icon": "icon.png",
"default_popup": "popup.html"
},
"background": {
"scripts": ["background.js"]
},
"content_scripts": [
{
"matches": [
"https://cas.sustc.edu.cn/cas/*",
"http://enet.10000.gd.cn:10001/*",
"http://jwxt.sustc.edu.cn/*"
],
"js": ["content.js"]
"all_frames": true,
"matches": [
"https://cas.sustc.edu.cn/cas/*",
"http://enet.10000.gd.cn:10001/*",
"http://jwxt.sustc.edu.cn/*"
],
"js": ["content.js"]
}
]
]
}

0 comments on commit 81aeda1

Please sign in to comment.