music soooooonnnnnn

This commit is contained in:
thom2305 2025-07-04 13:08:38 -04:00
parent db7d7137d0
commit 3801d12e24
No known key found for this signature in database
GPG Key ID: 0171038FEE1BEF12
3 changed files with 59 additions and 11 deletions

BIN
audio/bgm.wav Normal file

Binary file not shown.

50
manifest-chome.json Normal file
View File

@ -0,0 +1,50 @@
{
"manifest_version": 3,
"name": "WiiShop but on browsers (Chrome)",
"version": "1.0",
"permissions": [
"scripting",
"activeTab",
"storage",
"webRequest",
"tabs"
],
"host_permissions": [
"<all_urls>"
],
"action": {
"default_popup": "popup.html"
},
"background": {
"service_worker": "background.js"
},
"content_scripts": [
{
"matches": [
"https://oss-auth.blinklab.com/*",
"https://oss-auth.thecheese.io/*",
"https://oss-auth.shop.wii.com/*",
"http://wiimart:8080/oss/serv/*",
"https://wiimart:8080/oss/serv/*"
],
"js": ["content.js"],
"run_at": "document_start"
}
],
"web_accessible_resources": [
{
"resources": [
"images/*",
"audio/*",
"classDefinitions.js"
],
"matches": [
"https://oss-auth.blinklab.com/*",
"https://oss-auth.thecheese.io/*",
"https://oss-auth.shop.wii.com/*",
"http://wiimart:8080/oss/serv/*",
"https://wiimart:8080/oss/serv/*"
]
}
]
}

View File

@ -1,28 +1,27 @@
{ {
"manifest_version": 3, "manifest_version": 3,
"name": "WiiShop but on browsers", "name": "WiiShop but on browsers (Firefox)",
"version": "1.0", "version": "1.0",
"permissions": [ "permissions": [
"scripting", "scripting",
"activeTab", "activeTab",
"storage", "storage",
"webRequest", "webRequest",
"webRequestBlocking",
"tabs" "tabs"
], ],
"host_permissions": [
"<all_urls>"
],
"action": { "action": {
"default_popup": "popup.html" "default_popup": "popup.html"
}, },
"host_permissions": [
"<all_urls>"
],
"background": { "background": {
"scripts": ["background.js"] "scripts": ["background.js"]
}, },
"content_scripts": [ "content_scripts": [
{ {
"matches": [ "matches": [
"https://oss-auth.blinklab.com/*", "https://oss-auth.blinklab.com/*",
"https://oss-auth.thecheese.io/*", "https://oss-auth.thecheese.io/*",
"https://oss-auth.shop.wii.com/*", "https://oss-auth.shop.wii.com/*",
"http://wiimart:8080/oss/serv/*", "http://wiimart:8080/oss/serv/*",
@ -35,14 +34,13 @@
"web_accessible_resources": [ "web_accessible_resources": [
{ {
"resources": [ "resources": [
"fonts/*",
"images/*", "images/*",
"audio/*", "audio/*",
"classDefinitions.js" "classDefinitions.js"
], ],
"matches": [ "matches": [
"https://oss-auth.blinklab.com/*", "https://oss-auth.blinklab.com/*",
"https://oss-auth.thecheese.io/*", "https://oss-auth.thecheese.io/*",
"https://oss-auth.shop.wii.com/*", "https://oss-auth.shop.wii.com/*",
"http://wiimart:8080/oss/serv/*", "http://wiimart:8080/oss/serv/*",
"https://wiimart:8080/oss/serv/*" "https://wiimart:8080/oss/serv/*"