mirror of
https://github.com/FranP-code/wii-shop-extension.git
synced 2025-10-12 23:52:52 +00:00
Merge branch 'master' into patch-1
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
|
||||
|
||||
@@ -1,19 +1,22 @@
|
||||
const siteList = [
|
||||
'aliexpress.com',
|
||||
'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.pl',
|
||||
'amazon.sg',
|
||||
'azerty.nl',
|
||||
'bauhaus.dk',
|
||||
'bestbuy.com',
|
||||
@@ -26,19 +29,22 @@ const siteList = [
|
||||
'boozt.com',
|
||||
'buy123.com.tw',
|
||||
'canadacomputers.com',
|
||||
'castorama.pl',
|
||||
'cdon.com',
|
||||
'coolblue.nl',
|
||||
'coop.dk',
|
||||
'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',
|
||||
@@ -46,9 +52,13 @@ const siteList = [
|
||||
'ebay.ph',
|
||||
'elgiganten.dk',
|
||||
'emag.ro',
|
||||
'empik.com',
|
||||
'eobuwie.com.pl',
|
||||
'eprice.com.tw',
|
||||
'es.aliexpress.com',
|
||||
'etmall.com.tw',
|
||||
'etsy.com',
|
||||
'euro.com.pl',
|
||||
'feebee.com.tw',
|
||||
'findprice.com.tw',
|
||||
'flipkart.com',
|
||||
@@ -62,29 +72,59 @@ const siteList = [
|
||||
'hm.com',
|
||||
'ikea.com',
|
||||
'ilva.dk',
|
||||
'invadeit.co.th',
|
||||
'jib.co.th',
|
||||
'jula.pl',
|
||||
'jysk.dk',
|
||||
'komputronik.pl',
|
||||
'lazada.co.th',
|
||||
'lttstore.com',
|
||||
'macys.com',
|
||||
'marktplaats.nl',
|
||||
'matas.dk',
|
||||
'mediaexpert.pl',
|
||||
'mediamarkt.nl',
|
||||
'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',
|
||||
'nemlig.com',
|
||||
'neonet.pl',
|
||||
'newegg.com',
|
||||
'olx.ro',
|
||||
'olx.pl',
|
||||
'overstock.com',
|
||||
'pchome.com.tw',
|
||||
'pcone.com.tw',
|
||||
'pricerunner.co.uk',
|
||||
'pricerunner.dk',
|
||||
'qvc.com',
|
||||
'rakuten.com.tw',
|
||||
'rakuten.com',
|
||||
'rakuten.com.tw',
|
||||
'reserved.com',
|
||||
'rossmann.pl',
|
||||
'ruten.com.tw',
|
||||
'saxo.com',
|
||||
'saxo.dk',
|
||||
'shop.cosmed.com.tw',
|
||||
'shopee.co.th',
|
||||
'shopee.tw',
|
||||
'shopping.google.com',
|
||||
'silvan.dk',
|
||||
@@ -94,29 +134,56 @@ 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',
|
||||
'smyk.com',
|
||||
'staples.ca',
|
||||
'staples.com',
|
||||
'swappa.com',
|
||||
'system76.com',
|
||||
'taniaksiazka.pl',
|
||||
'target.com',
|
||||
'tw.bid.yahoo.com',
|
||||
'tw.buy.yahoo.com',
|
||||
'tw.mail.yahoo.com',
|
||||
'u-mall.com.tw',
|
||||
'ultima.pl',
|
||||
'walmart.com',
|
||||
'wish.com',
|
||||
'x-kom.pl',
|
||||
'xl-byg.dk',
|
||||
'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',
|
||||
'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>
|
||||
|
||||
Reference in New Issue
Block a user