SUPER SPIDER
获取页面坐标,生成十字交叉线,方便开发时校准元素对齐
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"name": "SUPER SPIDER",
"short_name": "超级狙击手",
"description": "获取页面坐标,生成十字交叉线,方便开发时校准元素对齐",
"version": "0.0.1",
"manifest_version": 2,
"permissions": [
"tabs",
"http://*/*",
"https://*/*"
],
"browser_action": {
"default_icon": {
"19": "images/icon-48.png"
},
"default_popup": "popup.html",
"default_title": "SUPER SPIDER"
},
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"css": [
"style.css"
]
}
],
"background": {
"scripts": [
"background.js"
]
},
"commands": {
"_execute_browser_action": {
"suggested_key": {
"default": "Alt+L"
}
}
},
"icons": {
"16": "images/icon-16.png",
"48": "images/icon-48.png",
"128": "images/icon-128.png"
},
"content_security_policy": "script-src 'self'; object-src 'self'"
}