mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-11-22 14:23:01 +01:00
Update Return Youtube Dislike.user.js
This commit is contained in:
1 parent
01df1d741b
commit
15215558ae
1 file changed
+1
-1
@@ -358,7 +358,7 @@ function numberFormat(numberState) {
|
||||
?.find((n) => n?.getAttribute("href")?.includes("?locale="))
|
||||
?.getAttribute("href");
|
||||
|
||||
const userLocales = localeURL ? new URL(localeURL)?.searchParams?.get("locale") : null;
|
||||
const userLocales = localeURL ? new URL(localeURL)?.searchParams?.get("locale") : document.body.lang;
|
||||
|
||||
const formatter = Intl.NumberFormat(
|
||||
document.documentElement.lang || userLocales || navigator.language,
|
||||
|
||||
Reference in new issue
Block a user