Skip to content

Commit

Permalink
Add System Settings - Main Theme
Browse files Browse the repository at this point in the history
  • Loading branch information
WebSnke committed May 23, 2023
1 parent 8b82978 commit 0c4a7c6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Binary file added audio/settings-main.mp3
Binary file not shown.
1 change: 1 addition & 0 deletions pages/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<select id="settings-select" multiple>
<option value="amiibo-settings.mp3" selected>Amiibo - Settings</option>
<option value="miiverse-settings.mp3">Miiverse - Settings</option>
<option value="settings-main.mp3">System Settings - Main Theme</option>
<option value="settings-internet.mp3">System Settings - Internet Settings</option>
</select>
<label class="orange">Shopping music</label>
Expand Down
4 changes: 2 additions & 2 deletions scripts/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ let audioSource = {
};

const regex = {
shopping: /(?<!\.)(www\.)?(adidas|alibaba|amazon|asos|bestbuy|costco|ebay|etsy|flipkart|idealo|myntra|newegg|nike|overstock|rakuten|sephora|shopify|target|ulta|walmart|zara)\./,
settings: /(duolingo|github|reddit|spotify|tutanota)\.\w{2,3}\/(settings|preferences)/
settings: /(duolingo|github|reddit|spotify|tutanota)\.\w{2,3}\/(settings|preferences)/,
shopping: /(?<!\.)(www\.)?(adidas|alibaba|amazon|asos|bestbuy|costco|ebay|etsy|flipkart|idealo|myntra|newegg|nike|overstock|rakuten|sephora|shopify|target|ulta|walmart|zara)\./
};

setInterval(() => {
Expand Down

0 comments on commit 0c4a7c6

Please sign in to comment.