-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
48 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
// @license AGPL-3.0-only | ||
// @author Sv443 | ||
// @copyright Sv443 (https://github.com/Sv443) | ||
// @icon https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/images/logo/logo_dev_48.png | ||
// @icon https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/images/logo/logo_dev_48.png | ||
// @match https://music.youtube.com/* | ||
// @match https://www.youtube.com/* | ||
// @run-at document-start | ||
|
@@ -33,52 +33,52 @@ | |
// @grant GM.openInTab | ||
// @grant unsafeWindow | ||
// @noframes | ||
// @resource css-above_queue_btns https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/style/aboveQueueBtns.css | ||
// @resource css-anchor_improvements https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/style/anchorImprovements.css | ||
// @resource css-auto_like https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/style/autoLike.css | ||
// @resource css-bundle https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/dist/BetterYTM.css | ||
// @resource css-fix_hdr https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/style/fixHDR.css | ||
// @resource css-fix_spacing https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/style/fixSpacing.css | ||
// @resource css-show_votes https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/style/showVotes.css | ||
// @resource css-vol_slider_size https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/style/volSliderSize.css | ||
// @resource doc-changelog https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/changelog.md | ||
// @resource icon-advanced_mode https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/icons/plus_circle_small.svg | ||
// @resource icon-arrow_down https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/icons/arrow_down.svg | ||
// @resource icon-auto_like https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/icons/auto_like.svg | ||
// @resource icon-auto_like_enabled https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/icons/auto_like_enabled.svg | ||
// @resource icon-clear_list https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/icons/clear_list.svg | ||
// @resource icon-copy https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/icons/copy.svg | ||
// @resource icon-delete https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/icons/delete.svg | ||
// @resource icon-edit https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/icons/edit.svg | ||
// @resource icon-error https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/icons/error.svg | ||
// @resource icon-experimental https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/icons/beaker_small.svg | ||
// @resource icon-globe https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/icons/globe.svg | ||
// @resource icon-globe_small https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/icons/globe_small.svg | ||
// @resource icon-help https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/icons/help.svg | ||
// @resource icon-image https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/icons/image.svg | ||
// @resource icon-image_filled https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/icons/image_filled.svg | ||
// @resource icon-link https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/icons/link.svg | ||
// @resource icon-lyrics https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/icons/lyrics.svg | ||
// @resource icon-reload https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/icons/refresh.svg | ||
// @resource icon-skip_to https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/icons/skip_to.svg | ||
// @resource icon-spinner https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/icons/spinner.svg | ||
// @resource icon-upload https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/icons/upload.svg | ||
// @resource img-close https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/images/close.png | ||
// @resource img-discord https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/images/external/discord.png | ||
// @resource img-github https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/images/external/github.png | ||
// @resource img-greasyfork https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/images/external/greasyfork.png | ||
// @resource img-logo https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/images/logo/logo_48.png | ||
// @resource img-logo_dev https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/images/logo/logo_dev_48.png | ||
// @resource img-openuserjs https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/images/external/openuserjs.png | ||
// @resource trans-de_DE https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/translations/de_DE.json | ||
// @resource trans-en_UK https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/translations/en_UK.json | ||
// @resource trans-en_US https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/translations/en_US.json | ||
// @resource trans-es_ES https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/translations/es_ES.json | ||
// @resource trans-fr_FR https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/translations/fr_FR.json | ||
// @resource trans-hi_IN https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/translations/hi_IN.json | ||
// @resource trans-ja_JA https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/translations/ja_JA.json | ||
// @resource trans-pt_BR https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/translations/pt_BR.json | ||
// @resource trans-zh_CN https://raw.githubusercontent.com/Sv443/BetterYTM/3460f66b/assets/translations/zh_CN.json | ||
// @resource css-above_queue_btns https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/style/aboveQueueBtns.css | ||
// @resource css-anchor_improvements https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/style/anchorImprovements.css | ||
// @resource css-auto_like https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/style/autoLike.css | ||
// @resource css-bundle https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/dist/BetterYTM.css | ||
// @resource css-fix_hdr https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/style/fixHDR.css | ||
// @resource css-fix_spacing https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/style/fixSpacing.css | ||
// @resource css-show_votes https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/style/showVotes.css | ||
// @resource css-vol_slider_size https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/style/volSliderSize.css | ||
// @resource doc-changelog https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/changelog.md | ||
// @resource icon-advanced_mode https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/icons/plus_circle_small.svg | ||
// @resource icon-arrow_down https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/icons/arrow_down.svg | ||
// @resource icon-auto_like https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/icons/auto_like.svg | ||
// @resource icon-auto_like_enabled https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/icons/auto_like_enabled.svg | ||
// @resource icon-clear_list https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/icons/clear_list.svg | ||
// @resource icon-copy https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/icons/copy.svg | ||
// @resource icon-delete https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/icons/delete.svg | ||
// @resource icon-edit https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/icons/edit.svg | ||
// @resource icon-error https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/icons/error.svg | ||
// @resource icon-experimental https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/icons/beaker_small.svg | ||
// @resource icon-globe https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/icons/globe.svg | ||
// @resource icon-globe_small https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/icons/globe_small.svg | ||
// @resource icon-help https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/icons/help.svg | ||
// @resource icon-image https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/icons/image.svg | ||
// @resource icon-image_filled https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/icons/image_filled.svg | ||
// @resource icon-link https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/icons/link.svg | ||
// @resource icon-lyrics https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/icons/lyrics.svg | ||
// @resource icon-reload https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/icons/refresh.svg | ||
// @resource icon-skip_to https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/icons/skip_to.svg | ||
// @resource icon-spinner https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/icons/spinner.svg | ||
// @resource icon-upload https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/icons/upload.svg | ||
// @resource img-close https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/images/close.png | ||
// @resource img-discord https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/images/external/discord.png | ||
// @resource img-github https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/images/external/github.png | ||
// @resource img-greasyfork https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/images/external/greasyfork.png | ||
// @resource img-logo https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/images/logo/logo_48.png | ||
// @resource img-logo_dev https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/images/logo/logo_dev_48.png | ||
// @resource img-openuserjs https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/images/external/openuserjs.png | ||
// @resource trans-de_DE https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/translations/de_DE.json | ||
// @resource trans-en_UK https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/translations/en_UK.json | ||
// @resource trans-en_US https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/translations/en_US.json | ||
// @resource trans-es_ES https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/translations/es_ES.json | ||
// @resource trans-fr_FR https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/translations/fr_FR.json | ||
// @resource trans-hi_IN https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/translations/hi_IN.json | ||
// @resource trans-ja_JA https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/translations/ja_JA.json | ||
// @resource trans-pt_BR https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/translations/pt_BR.json | ||
// @resource trans-zh_CN https://raw.githubusercontent.com/Sv443/BetterYTM/cc87ce8f/assets/translations/zh_CN.json | ||
// @require https://cdn.jsdelivr.net/npm/@sv443-network/[email protected]/dist/index.global.js | ||
// @require https://cdn.jsdelivr.net/npm/[email protected]/lib/marked.umd.js | ||
// @require https://cdn.jsdelivr.net/npm/[email protected]/lib/umd/index.js | ||
|
@@ -191,7 +191,7 @@ var PluginIntent; | |
const modeRaw = "development"; | ||
const branchRaw = "develop"; | ||
const hostRaw = "github"; | ||
const buildNumberRaw = "3460f66b"; | ||
const buildNumberRaw = "cc87ce8f"; | ||
/** The mode in which the script was built (production or development) */ | ||
const mode = (modeRaw.match(/^#{{.+}}$/) ? "production" : modeRaw); | ||
/** The branch to use in various URLs that point to the GitHub repo */ | ||
|