158 lines
4.9 KiB
JSON
Executable file
158 lines
4.9 KiB
JSON
Executable file
{
|
|
"manifest_version": 3,
|
|
"author": "Index",
|
|
"name": "Poly+",
|
|
"version": "1.21",
|
|
"version_name": "Pre-Release Build (v1.2.1)",
|
|
"description": "Power-up your Polytoria experience with Poly+! Created by Index.",
|
|
"homepage_url": "https://polyplus.vercel.app/",
|
|
"permissions": ["storage", "contextMenus", "scripting", "alarms", "notifications"],
|
|
"content_scripts": [
|
|
{
|
|
"matches": ["https://polytoria.com/*", "https://polytoria.co/*"],
|
|
"js": ["/js/sitewide.js", "/js/membership-themes.js"],
|
|
"css": ["/css/specific.css"],
|
|
"run_at": "document_start"
|
|
},
|
|
|
|
{
|
|
"matches": ["https://polytoria.com/my/settings/*", "https://polytoria.co/my/settings/*"],
|
|
"js": ["/js/settings.js", "/js/extra-pages.js"],
|
|
"run_at": "document_start"
|
|
},
|
|
|
|
{
|
|
"matches": ["https://polytoria.com/", "https://polytoria.com/home", "https://polytoria.co/", "https://polytoria.co/home"],
|
|
"js": ["/js/account/home.js"],
|
|
"run_at": "document_idle"
|
|
},
|
|
|
|
{
|
|
"matches": ["https://polytoria.com/places/**", "https://polytoria.co/places/**"],
|
|
"js": ["/js/places/place-view.js"]
|
|
},
|
|
|
|
{
|
|
"matches": ["https://polytoria.com/create/place/**", "https://polytoria.co/create/place/**"],
|
|
"js": ["/js/places/place-edit.js"]
|
|
},
|
|
|
|
{
|
|
"matches": ["https://polytoria.com/create/image", "https://polytoria.com/create/image/", "https://polytoria.co/create/image", "https://polytoria.co/create/image/"],
|
|
"js": ["/js/create/image.js"]
|
|
},
|
|
|
|
{
|
|
"matches": ["https://polytoria.com/forum/post/**", "https://polytoria.co/forum/post/**"],
|
|
"js": ["/js/forum/forum-view.js"]
|
|
},
|
|
|
|
{
|
|
"matches": ["https://polytoria.com/u/**", "https://polytoria.com/users/**", "https://polytoria.co/u/**", "https://polytoria.co/users/**"],
|
|
"js": ["/js/account/profile.js", "/js/account/inventory.js"]
|
|
},
|
|
|
|
{
|
|
"matches": ["https://polytoria.com/my/friends", "https://polytoria.com/my/friends/", "https://polytoria.co/my/friends", "https://polytoria.co/my/friends/"],
|
|
"js": ["/js/account/friends.js"]
|
|
},
|
|
|
|
{
|
|
"matches": ["https://polytoria.com/store", "https://polytoria.com/store/", "https://polytoria.co/store", "https://polytoria.co/store/"],
|
|
"js": ["/js/store/store.js"]
|
|
},
|
|
|
|
{
|
|
"matches": ["https://polytoria.com/store/**", "https://polytoria.co/store/**"],
|
|
"js": ["/js/store/item-view.js"]
|
|
},
|
|
|
|
{
|
|
"matches": ["https://polytoria.com/forum/search", "https://polytoria.com/forum/search?*", "https://polytoria.co/forum/search", "https://polytoria.co/forum/search?*"],
|
|
"js": ["/js/forum/forum-search.js"]
|
|
},
|
|
|
|
{
|
|
"matches": ["https://polytoria.com/trade/sent/*", "https://polytoria.co/trade/sent/*"],
|
|
"js": ["/js/account/trades-outbound.js"]
|
|
},
|
|
|
|
{
|
|
"matches": ["https://polytoria.com/u/*/inventory/", "https://polytoria.co/u/*/inventory/"],
|
|
"js": ["/js/account/inventory.js"],
|
|
"run_at": "document_idle"
|
|
},
|
|
|
|
{
|
|
"matches": ["https://polytoria.com/my/settings/privacy", "https://polytoria.co/my/settings/privacy"],
|
|
"js": ["/js/account/settings-privacy.js"]
|
|
},
|
|
|
|
{
|
|
"matches": ["https://polytoria.com/my/settings/transactions*", "https://polytoria.co/my/settings/transactions*"],
|
|
"js": ["/js/account/transactions.js"]
|
|
},
|
|
|
|
{
|
|
"matches": ["https://polytoria.com/store/**", "https://polytoria.com/places/**", "https://polytoria.com/guilds/**", "https://polytoria.com/feed/**", "https://polytoria.co/store/**", "https://polytoria.co/places/**", "https://polytoria.co/guilds/**", "https://polytoria.co/feed/**"],
|
|
"js": ["/js/op-comments.js"]
|
|
},
|
|
|
|
{
|
|
"matches": ["https://polytoria.com/my/avatar*", "https://polytoria.co/my/avatar*"],
|
|
"js": ["/js/account/avatar-sandbox-rewrite.js"]
|
|
},
|
|
|
|
{
|
|
"matches": ["https://polytoria.com/inbox*", "https://polytoria.co/inbox*"],
|
|
"js": ["/js/account/inbox.js"]
|
|
},
|
|
|
|
{
|
|
"matches": ["https://polytoria.com/guilds/**", "https://polytoria.co/guilds/**"],
|
|
"js": ["/js/guilds.js"]
|
|
},
|
|
|
|
{
|
|
"matches": ["https://polytoria.com/store/**", "https://polytoria.com/models/**", "https://polytoria.co/store/**", "https://polytoria.co/models/**"],
|
|
"js": ["/js/library-download.js"]
|
|
},
|
|
|
|
{
|
|
"matches": ["https://polytoria.com/places/**", "https://polytoria.com/u/**", "https://polytoria.co/places/**", "https://polytoria.co/u/**"],
|
|
"js": ["the-great-divide.js"]
|
|
}
|
|
],
|
|
"background": {
|
|
"service_worker": "/js/background.js",
|
|
"type": "module"
|
|
},
|
|
"host_permissions": ["https://*.polytoria.com/*", "https://*.polytoria.co/*"],
|
|
"web_accessible_resources": [
|
|
{
|
|
"resources": ["resources/*"],
|
|
"matches": ["https://polytoria.com/*", "https://polytoria.co/*"]
|
|
},
|
|
|
|
{
|
|
"resources": ["settings.html", "settings.js"],
|
|
"matches": ["https://polytoria.com/*", "https://polytoria.co/*"]
|
|
}
|
|
],
|
|
"short_name": "Poly+",
|
|
"action": {
|
|
"default_title": "Poly+",
|
|
"default_icon": {
|
|
"16": "/images/icon.png",
|
|
"32": "/images/icon.png",
|
|
"48": "/images/icon.png",
|
|
"128": "/images/icon.png"
|
|
}
|
|
},
|
|
"icons": {
|
|
"16": "/images/icon.png",
|
|
"32": "/images/icon.png",
|
|
"48": "/images/icon.png",
|
|
"128": "/images/icon.png"
|
|
}
|
|
}
|