PreMiD
Your Rich Presence for web services!
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"manifest_version": 3,
"name": "PreMiD",
"description": "__MSG_description__",
"version": "2.6.0",
"icons": {
"512": "icons/PreMiD.png"
},
"author": "Timeraa",
"default_locale": "en",
"host_permissions": [
"*://*/*"
],
"permissions": [
"tabs",
"storage",
"unlimitedStorage",
"alarms",
"scripting"
],
"web_accessible_resources": [
{
"matches": [
"*://*/*"
],
"resources": [
"variableGetterDependencies.js",
"presences/*"
]
}
],
"background": {
"type": "module",
"service_worker": "background.js"
},
"action": {
"default_title": "Popup",
"default_popup": "popup.html"
},
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"run_at": "document_start",
"js": [
"content-scripts/content.js"
],
"world": "ISOLATED"
},
{
"matches": [
"<all_urls>"
],
"all_frames": true,
"run_at": "document_start",
"js": [
"content-scripts/iframe.js"
]
},
{
"matches": [
"https://premid.app/*"
],
"run_at": "document_start",
"js": [
"content-scripts/premid.js"
]
}
]
}