Custom Style Script
Add Custom JavaScript (JS) Code or Styles (CSS) to any page.
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"version": "0.1.6",
"manifest_version": 3,
"offline_enabled": true,
"name": "Custom Style Script",
"host_permissions": [
"<all_urls>"
],
"short_name": "custom-style-script",
"homepage_url": "https://mybrowseraddon.com/custom-style-script.html",
"description": "Add Custom JavaScript (JS) Code or Styles (CSS) to any page.",
"commands": {
"_execute_action": {}
},
"background": {
"service_worker": "background.js"
},
"permissions": [
"storage",
"scripting"
],
"options_ui": {
"open_in_tab": true,
"page": "data/options/options.html"
},
"action": {
"default_title": "Custom Style Script",
"default_popup": "data/popup/popup.html",
"default_icon": {
"16": "data/icons/16.png",
"32": "data/icons/32.png",
"48": "data/icons/48.png",
"64": "data/icons/64.png"
}
},
"content_scripts": [
{
"all_frames": true,
"matches": [
"<all_urls>"
],
"run_at": "document_start",
"js": [
"data/content_script/inject.js"
]
}
],
"icons": {
"16": "data/icons/16.png",
"32": "data/icons/32.png",
"48": "data/icons/48.png",
"64": "data/icons/64.png",
"128": "data/icons/128.png"
}
}