|
@@ -17,7 +17,7 @@
|
|
|
// @license AGPL-3.0-only
|
|
|
// @author Sv443
|
|
|
// @copyright Sv443 (https://github.com/Sv443)
|
|
|
-// @icon http://localhost:8710/assets/logo/logo_48.png?t=da9f1d9d-3d3b-4fa7-af94-17d54063c2d2
|
|
|
+// @icon https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/logo/logo_48.png
|
|
|
// @match https://music.youtube.com/*
|
|
|
// @match https://www.youtube.com/*
|
|
|
// @run-at document-start
|
|
@@ -34,33 +34,33 @@
|
|
|
// @grant GM.xmlHttpRequest
|
|
|
// @grant unsafeWindow
|
|
|
// @noframes
|
|
|
-// @resource css-fix_spacing http://localhost:8710/assets/style/fixSpacing.css?t=da9f1d9d-3d3b-4fa7-af94-17d54063c2d2
|
|
|
-// @resource css-anchor_improvements http://localhost:8710/assets/style/anchorImprovements.css?t=da9f1d9d-3d3b-4fa7-af94-17d54063c2d2
|
|
|
-// @resource doc-changelog http://localhost:8710/changelog.md?t=da9f1d9d-3d3b-4fa7-af94-17d54063c2d2
|
|
|
-// @resource icon-arrow_down http://localhost:8710/assets/icons/arrow_down.svg?t=da9f1d9d-3d3b-4fa7-af94-17d54063c2d2
|
|
|
-// @resource icon-delete http://localhost:8710/assets/icons/delete.svg?t=da9f1d9d-3d3b-4fa7-af94-17d54063c2d2
|
|
|
-// @resource icon-error http://localhost:8710/assets/icons/error.svg?t=da9f1d9d-3d3b-4fa7-af94-17d54063c2d2
|
|
|
-// @resource icon-globe http://localhost:8710/assets/icons/globe.svg?t=da9f1d9d-3d3b-4fa7-af94-17d54063c2d2
|
|
|
-// @resource icon-help http://localhost:8710/assets/icons/help.svg?t=da9f1d9d-3d3b-4fa7-af94-17d54063c2d2
|
|
|
-// @resource icon-lyrics http://localhost:8710/assets/icons/lyrics.svg?t=da9f1d9d-3d3b-4fa7-af94-17d54063c2d2
|
|
|
-// @resource icon-skip_to http://localhost:8710/assets/icons/skip_to.svg?t=da9f1d9d-3d3b-4fa7-af94-17d54063c2d2
|
|
|
-// @resource icon-spinner http://localhost:8710/assets/icons/spinner.svg?t=da9f1d9d-3d3b-4fa7-af94-17d54063c2d2
|
|
|
-// @resource icon-advanced_mode http://localhost:8710/assets/icons/plus_circle_small.svg?t=da9f1d9d-3d3b-4fa7-af94-17d54063c2d2
|
|
|
-// @resource img-logo http://localhost:8710/assets/logo/logo_48.png?t=da9f1d9d-3d3b-4fa7-af94-17d54063c2d2
|
|
|
-// @resource img-close http://localhost:8710/assets/icons/close.png?t=da9f1d9d-3d3b-4fa7-af94-17d54063c2d2
|
|
|
-// @resource img-discord http://localhost:8710/assets/external/discord.png?t=da9f1d9d-3d3b-4fa7-af94-17d54063c2d2
|
|
|
-// @resource img-github http://localhost:8710/assets/external/github.png?t=da9f1d9d-3d3b-4fa7-af94-17d54063c2d2
|
|
|
-// @resource img-greasyfork http://localhost:8710/assets/external/greasyfork.png?t=da9f1d9d-3d3b-4fa7-af94-17d54063c2d2
|
|
|
-// @resource img-openuserjs http://localhost:8710/assets/external/openuserjs.png?t=da9f1d9d-3d3b-4fa7-af94-17d54063c2d2
|
|
|
-// @resource trans-de_DE http://localhost:8710/assets/translations/de_DE.json?t=da9f1d9d-3d3b-4fa7-af94-17d54063c2d2
|
|
|
-// @resource trans-en_US http://localhost:8710/assets/translations/en_US.json?t=da9f1d9d-3d3b-4fa7-af94-17d54063c2d2
|
|
|
-// @resource trans-en_UK http://localhost:8710/assets/translations/en_UK.json?t=da9f1d9d-3d3b-4fa7-af94-17d54063c2d2
|
|
|
-// @resource trans-es_ES http://localhost:8710/assets/translations/es_ES.json?t=da9f1d9d-3d3b-4fa7-af94-17d54063c2d2
|
|
|
-// @resource trans-fr_FR http://localhost:8710/assets/translations/fr_FR.json?t=da9f1d9d-3d3b-4fa7-af94-17d54063c2d2
|
|
|
-// @resource trans-hi_IN http://localhost:8710/assets/translations/hi_IN.json?t=da9f1d9d-3d3b-4fa7-af94-17d54063c2d2
|
|
|
-// @resource trans-ja_JA http://localhost:8710/assets/translations/ja_JA.json?t=da9f1d9d-3d3b-4fa7-af94-17d54063c2d2
|
|
|
-// @resource trans-pt_BR http://localhost:8710/assets/translations/pt_BR.json?t=da9f1d9d-3d3b-4fa7-af94-17d54063c2d2
|
|
|
-// @resource trans-zh_CN http://localhost:8710/assets/translations/zh_CN.json?t=da9f1d9d-3d3b-4fa7-af94-17d54063c2d2
|
|
|
+// @resource css-fix_spacing https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/style/fixSpacing.css
|
|
|
+// @resource css-anchor_improvements https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/style/anchorImprovements.css
|
|
|
+// @resource doc-changelog https://raw.githubusercontent.com/Sv443/BetterYTM/develop/changelog.md
|
|
|
+// @resource icon-arrow_down https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/icons/arrow_down.svg
|
|
|
+// @resource icon-delete https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/icons/delete.svg
|
|
|
+// @resource icon-error https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/icons/error.svg
|
|
|
+// @resource icon-globe https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/icons/globe.svg
|
|
|
+// @resource icon-help https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/icons/help.svg
|
|
|
+// @resource icon-lyrics https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/icons/lyrics.svg
|
|
|
+// @resource icon-skip_to https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/icons/skip_to.svg
|
|
|
+// @resource icon-spinner https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/icons/spinner.svg
|
|
|
+// @resource icon-advanced_mode https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/icons/plus_circle_small.svg
|
|
|
+// @resource img-logo https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/logo/logo_48.png
|
|
|
+// @resource img-close https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/icons/close.png
|
|
|
+// @resource img-discord https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/external/discord.png
|
|
|
+// @resource img-github https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/external/github.png
|
|
|
+// @resource img-greasyfork https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/external/greasyfork.png
|
|
|
+// @resource img-openuserjs https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/external/openuserjs.png
|
|
|
+// @resource trans-de_DE https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/translations/de_DE.json
|
|
|
+// @resource trans-en_US https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/translations/en_US.json
|
|
|
+// @resource trans-en_UK https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/translations/en_UK.json
|
|
|
+// @resource trans-es_ES https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/translations/es_ES.json
|
|
|
+// @resource trans-fr_FR https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/translations/fr_FR.json
|
|
|
+// @resource trans-hi_IN https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/translations/hi_IN.json
|
|
|
+// @resource trans-ja_JA https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/translations/ja_JA.json
|
|
|
+// @resource trans-pt_BR https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/translations/pt_BR.json
|
|
|
+// @resource trans-zh_CN https://raw.githubusercontent.com/Sv443/BetterYTM/develop/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]/dist/fuse.basic.js
|
|
|
// @require https://cdn.jsdelivr.net/npm/[email protected]/lib/marked.umd.js
|
|
@@ -237,7 +237,7 @@ var LogLevel;
|
|
|
})(LogLevel || (LogLevel = {}));const modeRaw = "development";
|
|
|
const branchRaw = "develop";
|
|
|
const hostRaw = "github";
|
|
|
-const buildNumberRaw = "0b31c5a";
|
|
|
+const buildNumberRaw = "e436a15";
|
|
|
/** 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 */
|