mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-12-01 02:17:53 +01:00
3.0.0.1
This commit is contained in:
1 parent
c3c13738e7
commit
0df5bb75e7
9 files changed
+92
-77
No files matched your search
@@ -36,6 +36,14 @@ function localize(localeString) {
|
||||
function getNumberFormatter(optionSelect) {
|
||||
let formatterNotation;
|
||||
let formatterCompactDisplay;
|
||||
let userLocales;
|
||||
try {
|
||||
userLocales = new URL(
|
||||
Array.from(document.querySelectorAll("head > link[rel='search']"))
|
||||
?.find((n) => n?.getAttribute("href")?.includes("?locale="))
|
||||
?.getAttribute("href")
|
||||
)?.searchParams?.get("locale");
|
||||
} catch {}
|
||||
|
||||
switch (optionSelect) {
|
||||
case "compactLong":
|
||||
|
||||
Reference in new issue
Block a user