mirror of
https://github.com/FranP-code/wii-shop-extension.git
synced 2025-10-12 23:52:52 +00:00
Merge branch 'master' into add-sites
This commit is contained in:
8
CONTRIBUTING.md
Normal file
8
CONTRIBUTING.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# Contributing to Wii Shop Channel Music
|
||||
|
||||
The Wii Shop Music extension is intended to be a fun and simple browser extension. With that in mind, there are two main rules for contributing code or submitting issues:
|
||||
|
||||
1. **No major new features.** I have no plans or desire to implement new major features, besides those already listed on the [issues page](https://github.com/corbindavenport/wii-shop-extension/issues).
|
||||
2. **No new music.** The extension already has 10 tracks included, and that will probably be it. The [ability to import custom music](https://github.com/corbindavenport/wii-shop-extension/issues/22) may be implemented in the future.
|
||||
|
||||
Future development on the extension will mainly focus on bug fixes, shopping website additions, and any changes required to keep up with evolving browser standards.
|
||||
@@ -3,7 +3,7 @@
|
||||

|
||||
|
||||
|
||||
This is a browser extension that plays the [Wii Shop Channel theme](https://www.youtube.com/watch?v=yyjUmv1gJEg) in the background when you visit a shopping website. You can also select the music from the 3DS eShop, DSi Shop, Wii Shop Banner/Home, Wii U eShop, and Coconut Mall.
|
||||
This is a browser extension that plays the [Wii Shop Channel theme](https://www.youtube.com/watch?v=yyjUmv1gJEg) in the background when you visit a shopping website. You can also select the music from the 3DS eShop, DSi Shop, Wii Shop Banner/Home, Wii U eShop, Mii Channel (Wii or 3DS), and Coconut Mall.
|
||||
|
||||
The extension only requires two permissions: [Tabs](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs), to check the URL of the currently-active tab, and [Notifications](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/user_interface/Notifications), to show a message after the extension is installed.
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ if ('mediaSession' in navigator) {
|
||||
})
|
||||
}
|
||||
|
||||
// Creat audio object
|
||||
// Create audio object
|
||||
var themeAudio = new Audio()
|
||||
themeAudio.volume = 0.5
|
||||
themeAudio.loop = true
|
||||
|
||||
206
js/site-list.js
206
js/site-list.js
@@ -1,19 +1,53 @@
|
||||
const siteList = [
|
||||
'gatry.com',
|
||||
'buscape.com.br',
|
||||
'mercadolivre.com.br',
|
||||
'shopee.com.br',
|
||||
'pt.aliexpress.com',
|
||||
'webstore.com.br',
|
||||
'kabum.com.br',
|
||||
'pichau.com.br',
|
||||
'chipart.com.br',
|
||||
'cea.com.br',
|
||||
'avon.com.br',
|
||||
'lojasrenner.com.br',
|
||||
'marisa.com.br',
|
||||
'kalunga.com.br',
|
||||
'iplace.com.br',
|
||||
'americanas.com.br',
|
||||
'pontofrio.com.br',
|
||||
'casasbahia.com.br',
|
||||
'magazineluiza.com.br',
|
||||
'netshoes.com.br',
|
||||
'zattini.com.br',
|
||||
'carrefour.com.br',
|
||||
'7net.omni7.jp',
|
||||
'a-onstore.jp',
|
||||
'a.sofmap.com',
|
||||
'aliexpress.com',
|
||||
'amazon.ae',
|
||||
'allegro.pl',
|
||||
'amazon.ca',
|
||||
'amazon.cn',
|
||||
'amazon.co.jp',
|
||||
'amazon.co.uk',
|
||||
'amazon.com',
|
||||
'amazon.com.au',
|
||||
'amazon.com.br',
|
||||
'amazon.com.mx',
|
||||
'amazon.com',
|
||||
'amazon.de',
|
||||
'amazon.es',
|
||||
'amazon.fr',
|
||||
'amazon.in',
|
||||
'amazon.it',
|
||||
'amazon.nl',
|
||||
'amazon.sa',
|
||||
'amnibus.com',
|
||||
'animate-onlineshop.jp',
|
||||
'auctions.yahoo.co.jp',
|
||||
'americanas.com.br',
|
||||
'amazon.pl',
|
||||
'amazon.sg',
|
||||
'azerty.nl',
|
||||
'bauhaus.dk',
|
||||
'bestbuy.com',
|
||||
@@ -23,39 +57,69 @@ const siteList = [
|
||||
'billig-arbejdstoj.dk',
|
||||
'bol.com',
|
||||
'books.com.tw',
|
||||
'books.rakuten.co.jp',
|
||||
'boozt.com',
|
||||
'bushiroad-store.com',
|
||||
'buy123.com.tw',
|
||||
'buyee.jp',
|
||||
'banggood.com',
|
||||
'canadacomputers.com',
|
||||
'casasbahia.com.br',
|
||||
'cdon.com',
|
||||
'coolblue.nl',
|
||||
'coop.dk',
|
||||
'dafiti.com.br',
|
||||
'castorama.pl',
|
||||
'cdon.com',
|
||||
'coolblue.nl',
|
||||
'coop.dk',
|
||||
'compumundo.com.ar',
|
||||
'correocompras.com.ar',
|
||||
'dengekiya.com',
|
||||
'e-onkyo.com',
|
||||
'decathlon.pl',
|
||||
'dekudeals.com',
|
||||
'ebay.at',
|
||||
'ebay.be',
|
||||
'ebay.ca',
|
||||
'ebay.ch',
|
||||
'ebay.co.uk',
|
||||
'ebay.com',
|
||||
'ebay.com.au',
|
||||
'ebay.com.cn',
|
||||
'ebay.com.my',
|
||||
'ebay.com.sg',
|
||||
'ebay.com',
|
||||
'ebay.de',
|
||||
'ebay.fr',
|
||||
'ebay.it',
|
||||
'ebay.nl',
|
||||
'ebay.ph',
|
||||
'ecs.toranoana.jp',
|
||||
'elgiganten.dk',
|
||||
'en.animate-onlineshop.jp',
|
||||
'emag.ro',
|
||||
'empik.com',
|
||||
'eobuwie.com.pl',
|
||||
'eprice.com.tw',
|
||||
'es.aliexpress.com',
|
||||
'etmall.com.tw',
|
||||
'etsy.com',
|
||||
'epicgames.com'
|
||||
'epicgames.com',
|
||||
'falabella.com',
|
||||
'falabella.com.ar',
|
||||
'event.rakuten.co.jp',
|
||||
'euro.com.pl',
|
||||
'feebee.com.tw',
|
||||
'findprice.com.tw',
|
||||
'flipkart.com',
|
||||
'fnac.fr',
|
||||
'foetex.dk',
|
||||
'gamestop.com',
|
||||
'fravega.com',
|
||||
'fromjapan.co.jp',
|
||||
'gamers.co.jp',
|
||||
'gamma.nl',
|
||||
'garbarino.com',
|
||||
'gearbest.com',
|
||||
'gog.com',
|
||||
'greenmangaming.com',
|
||||
@@ -69,29 +133,114 @@ const siteList = [
|
||||
'itch.io',
|
||||
'jysk.dk',
|
||||
'limitedrungames.com',
|
||||
'hmv.co.jp',
|
||||
'ikea.com',
|
||||
'ilva.dk',
|
||||
'invadeit.co.th',
|
||||
'jd.co.th',
|
||||
'jib.co.th',
|
||||
'jysk.dk',
|
||||
'jarir.com',
|
||||
'item.rakuten.co.jp',
|
||||
'jysk.dk',
|
||||
'livertineage.jp',
|
||||
'lttstore.com',
|
||||
'macys.com',
|
||||
'mandarake.co.jp',
|
||||
'invadeit.co.th',
|
||||
'jib.co.th',
|
||||
'jula.pl',
|
||||
'jysk.dk',
|
||||
'jbhifi.com.au',
|
||||
'kabum.com.br',
|
||||
'komputronik.pl',
|
||||
'lazada.co.th',
|
||||
'lttstore.com',
|
||||
'macys.com',
|
||||
'magazineluiza.com.br',
|
||||
'marktplaats.nl',
|
||||
'matas.dk',
|
||||
'mediaexpert.pl',
|
||||
'mediamarkt.nl',
|
||||
'mercadolibre.com',
|
||||
'mercadolibre.com.ar',
|
||||
'mercadolibre.bo',
|
||||
'mercadolivre.co.br',
|
||||
'mercadolibre.cl',
|
||||
'mercadolibre.com.co',
|
||||
'mercadolibre.co.cr',
|
||||
'melonbooks.co.jp',
|
||||
'mercari.com',
|
||||
'mercadolivre.com.br',
|
||||
'mercadolibre.com.ar',
|
||||
'mercadolibre.com.bo',
|
||||
'mercadolibre.com.cl',
|
||||
'mercadolibre.com.co',
|
||||
'mercadolibre.com.cr',
|
||||
'mercadolibre.com.do',
|
||||
'mercadolibre.com.ec',
|
||||
'mercadolibre.com.gt',
|
||||
'mercadolibre.com.hn',
|
||||
'mercadolibre.com.mx',
|
||||
'mercadolibre.com.ni',
|
||||
'mercadolibre.com.pa',
|
||||
'mercadolibre.com.py',
|
||||
'mercadolibre.com.pe',
|
||||
'mercadolibre.com.sv',
|
||||
'mercadolibre.com.uy',
|
||||
'mercadolibre.com.ve',
|
||||
'mediamarkt.pl',
|
||||
'microcenter.com',
|
||||
'morele.net',
|
||||
'momoshop.com.tw',
|
||||
'musimundo.com',
|
||||
'mora.jp',
|
||||
'movic.jp',
|
||||
'nemlig.com',
|
||||
'netshoes.com.br',
|
||||
'neonet.pl',
|
||||
'newegg.com',
|
||||
'officeworks.com.au',
|
||||
'noon.com'
|
||||
'official-goods-store.jp',
|
||||
'order.mandarake.co.jp',
|
||||
'otakumode.com',
|
||||
'newegg.ca',
|
||||
'olx.ro',
|
||||
'olx.pl',
|
||||
'overstock.com',
|
||||
'p-bandai.com',
|
||||
'p-bandai.jp',
|
||||
'page.auctions.yahoo.co.jp',
|
||||
'pchome.com.tw',
|
||||
'pcone.com.tw',
|
||||
'price.com.hk',
|
||||
'pricerunner.co.uk',
|
||||
'pricerunner.dk',
|
||||
'qvc.com',
|
||||
'rakuten.co.jp',
|
||||
'rakuten.com.tw',
|
||||
'pontofrio.com.br',
|
||||
'pricerunner.co.uk',
|
||||
'pricerunner.dk',
|
||||
'qvc.com',
|
||||
'rakuten.com',
|
||||
'rakuten.ca',
|
||||
'rakuten.com.tw',
|
||||
'reserved.com',
|
||||
'rossmann.pl',
|
||||
'ruten.com.tw',
|
||||
'saxo.com',
|
||||
'saxo.dk',
|
||||
'shop.cosmed.com.tw',
|
||||
'shop.geekjack.net',
|
||||
'shop.gekirock.com',
|
||||
'shop.hololivepro.com',
|
||||
'shop.ponycan.com',
|
||||
'shopee.co.th',
|
||||
'shopee.tw',
|
||||
'shopping.google.com',
|
||||
'shopping.yahoo.co.jp',
|
||||
'silvan.dk',
|
||||
'skroutz.gr',
|
||||
'smile.amazon.ca',
|
||||
@@ -99,32 +248,81 @@ const siteList = [
|
||||
'smile.amazon.co.jp',
|
||||
'smile.amazon.co.uk',
|
||||
'smile.amazon.co.uk',
|
||||
'smile.amazon.com',
|
||||
'smile.amazon.com.au',
|
||||
'smile.amazon.com.br',
|
||||
'smile.amazon.com.mx',
|
||||
'smile.amazon.com',
|
||||
'smile.amazon.de',
|
||||
'smile.amazon.es',
|
||||
'smile.amazon.fr',
|
||||
'smile.amazon.in',
|
||||
'smile.amazon.it',
|
||||
'smile.amazon.nl',
|
||||
'sofmap.com',
|
||||
'sonymusicshop.jp',
|
||||
'staples.ca',
|
||||
'staples.com',
|
||||
'suruga-ya.jp',
|
||||
'smyk.com',
|
||||
'staples.ca',
|
||||
'staples.com',
|
||||
'store.nintendo.com',
|
||||
'store.playstation.com',
|
||||
'store.steampowered.com',
|
||||
'submarino.com.br',
|
||||
'swappa.com',
|
||||
'system76.com',
|
||||
'taniaksiazka.pl',
|
||||
'target.com',
|
||||
'tower.jp',
|
||||
'tw.bid.yahoo.com',
|
||||
'tw.buy.yahoo.com',
|
||||
'tw.mail.yahoo.com',
|
||||
'u-mall.com.tw',
|
||||
'vvstore.jp',
|
||||
'ultima.pl',
|
||||
'walmart.com',
|
||||
'wish.com',
|
||||
'x-kom.pl',
|
||||
'xl-byg.dk',
|
||||
'yodobashi.com',
|
||||
'zalando.dk',
|
||||
'zalando.nl',
|
||||
'zehrs.ca',
|
||||
'zenmarket.jp'
|
||||
'vinted.fr',
|
||||
'leboncoin.fr',
|
||||
'omakebooks.com',
|
||||
'carrefour.fr',
|
||||
'instant-gaming.com',
|
||||
'backmarket.fr',
|
||||
'steampowered.com',
|
||||
'fnac.com',
|
||||
'cdiscount.com',
|
||||
'ldlc.com',
|
||||
'zalando.dk',
|
||||
'zalando.nl',
|
||||
'zehrs.ca',
|
||||
'pccomponentes.com',
|
||||
'daraz.com.bd',
|
||||
'ryanscomputers.com',
|
||||
'startech.com.bd',
|
||||
'gadgetmonkeybd.com',
|
||||
'gadgetandgear.com',
|
||||
'gngbd.com',
|
||||
'bikroy.com',
|
||||
'materiel.net',
|
||||
'darty.com',
|
||||
'boulanger.com',
|
||||
'e.leclerc',
|
||||
'rueducommerce.fr',
|
||||
'gog.com',
|
||||
'tesco.com',
|
||||
'waitrose.com',
|
||||
'sainsburys.co.uk',
|
||||
'morrisons.com',
|
||||
'coop.co.uk',
|
||||
'zalando.pl',
|
||||
'zara.com',
|
||||
'zehrs.ca'
|
||||
]
|
||||
|
||||
Binary file not shown.
Binary file not shown.
BIN
music/mii-channel-3ds.ogg
Normal file
BIN
music/mii-channel-3ds.ogg
Normal file
Binary file not shown.
BIN
music/mii-channel-wii.ogg
Normal file
BIN
music/mii-channel-wii.ogg
Normal file
Binary file not shown.
BIN
music/oot-shop.ogg
Normal file
BIN
music/oot-shop.ogg
Normal file
Binary file not shown.
BIN
music/sims-buy-mode.ogg
Normal file
BIN
music/sims-buy-mode.ogg
Normal file
Binary file not shown.
@@ -35,10 +35,14 @@
|
||||
<select id="music-picker" multiple size="6" class="form-select w-100" multiple>
|
||||
<option value="wii-shop-theme">Wii Shop Channel</option>
|
||||
<option value="wii-shop-banner-theme">Wii Shop Channel (Menu)</option>
|
||||
<option value="mii-channel-wii">Mii Channel (Wii)</option>
|
||||
<option value="mii-channel-3ds">Mii Maker (3DS)</option>
|
||||
<option value="wii-u-eshop-theme">Wii U eShop</option>
|
||||
<option value="3ds-eshop-theme">3DS eShop</option>
|
||||
<option value="dsi-shop-theme">DSi Shop</option>
|
||||
<option value="coconut-mall">Coconut Mall</option>
|
||||
<option value="oot-shop">Ocarina Of Time Shop</option>
|
||||
<option value="sims-buy-mode">The Sims Buy Mode</option>
|
||||
</select>
|
||||
|
||||
<div class="mt-2">More stuff</div>
|
||||
@@ -51,4 +55,4 @@
|
||||
<script src="js/popup.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
||||
128
site-list.js
Normal file
128
site-list.js
Normal file
@@ -0,0 +1,128 @@
|
||||
const siteList = [
|
||||
'aliexpress.com',
|
||||
'amazon.ca',
|
||||
'amazon.cn',
|
||||
'amazon.co.jp',
|
||||
'amazon.co.uk',
|
||||
'amazon.com.au',
|
||||
'amazon.com.br',
|
||||
'amazon.com.mx',
|
||||
'amazon.com',
|
||||
'amazon.de',
|
||||
'amazon.es',
|
||||
'amazon.fr',
|
||||
'amazon.in',
|
||||
'amazon.it',
|
||||
'amazon.nl',
|
||||
'azerty.nl',
|
||||
'au.banggood.com',
|
||||
'banggood.cn',
|
||||
'banggood.com',
|
||||
'gr.banggood.com',
|
||||
'jp.banggood.com',
|
||||
'nl.banggood.com',
|
||||
'ru.banggood.com',
|
||||
'sea.banggood.com',
|
||||
'bauhaus.dk',
|
||||
'bestbuy.com',
|
||||
'bhphotovideo.com',
|
||||
'biggo.com.tw',
|
||||
'bilka.dk',
|
||||
'billig-arbejdstoj.dk',
|
||||
'bol.com',
|
||||
'books.com.tw',
|
||||
'boozt.com',
|
||||
'buy123.com.tw',
|
||||
'canadacomputers.com',
|
||||
'cdon.com',
|
||||
'coolblue.nl',
|
||||
'coop.dk',
|
||||
'ebay.at',
|
||||
'ebay.be',
|
||||
'ebay.ca',
|
||||
'ebay.ch',
|
||||
'ebay.co.uk',
|
||||
'ebay.com.au',
|
||||
'ebay.com.cn',
|
||||
'ebay.com.my',
|
||||
'ebay.com.sg',
|
||||
'ebay.com',
|
||||
'ebay.de',
|
||||
'ebay.fr',
|
||||
'ebay.it',
|
||||
'ebay.nl',
|
||||
'ebay.ph',
|
||||
'elgiganten.dk',
|
||||
'eprice.com.tw',
|
||||
'etmall.com.tw',
|
||||
'etsy.com',
|
||||
'feebee.com.tw',
|
||||
'findprice.com.tw',
|
||||
'flipkart.com',
|
||||
'fnac.fr',
|
||||
'foetex.dk',
|
||||
'gamma.nl',
|
||||
'gearbest.com',
|
||||
'harald-nyborg.dk',
|
||||
'hema.com',
|
||||
'hema.nl',
|
||||
'hm.com',
|
||||
'ikea.com',
|
||||
'ilva.dk',
|
||||
'jysk.dk',
|
||||
'lttstore.com',
|
||||
'macys.com',
|
||||
'marktplaats.nl',
|
||||
'matas.dk',
|
||||
'mediamarkt.nl',
|
||||
'microcenter.com',
|
||||
'momoshop.com.tw',
|
||||
'nemlig.com',
|
||||
'newegg.com',
|
||||
'overstock.com',
|
||||
'pchome.com.tw',
|
||||
'pcone.com.tw',
|
||||
'pricerunner.co.uk',
|
||||
'pricerunner.dk',
|
||||
'qvc.com',
|
||||
'rakuten.com.tw',
|
||||
'rakuten.com',
|
||||
'ruten.com.tw',
|
||||
'saxo.com',
|
||||
'saxo.dk',
|
||||
'shop.cosmed.com.tw',
|
||||
'shopee.tw',
|
||||
'shopping.google.com',
|
||||
'silvan.dk',
|
||||
'skroutz.gr',
|
||||
'smile.amazon.ca',
|
||||
'smile.amazon.cn',
|
||||
'smile.amazon.co.jp',
|
||||
'smile.amazon.co.uk',
|
||||
'smile.amazon.co.uk',
|
||||
'smile.amazon.com.au',
|
||||
'smile.amazon.com.br',
|
||||
'smile.amazon.com.mx',
|
||||
'smile.amazon.com',
|
||||
'smile.amazon.de',
|
||||
'smile.amazon.es',
|
||||
'smile.amazon.fr',
|
||||
'smile.amazon.in',
|
||||
'smile.amazon.it',
|
||||
'smile.amazon.nl',
|
||||
'staples.ca',
|
||||
'staples.com',
|
||||
'swappa.com',
|
||||
'system76.com',
|
||||
'target.com',
|
||||
'tw.bid.yahoo.com',
|
||||
'tw.buy.yahoo.com',
|
||||
'tw.mail.yahoo.com',
|
||||
'u-mall.com.tw',
|
||||
'walmart.com',
|
||||
'wish.com',
|
||||
'xl-byg.dk',
|
||||
'zalando.dk',
|
||||
'zalando.nl',
|
||||
'zehrs.ca'
|
||||
]
|
||||
Reference in New Issue
Block a user