twitter: pretend to be Windows 10 - firefox-fix-web - Firefox extension: fix web | |
git clone git://git.codemadness.org/firefox-fix-web | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit c3f263a560549afadef48cb668af08ea91b41f1c | |
parent 4962c0571299f0ed3af45630de874b3e333fc543 | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Sun, 20 Dec 2020 11:20:19 +0100 | |
twitter: pretend to be Windows 10 | |
The site deprecated the mobile version and forces to use javascript. | |
Diffstat: | |
M extension/background.js | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/extension/background.js b/extension/background.js | |
@@ -22,7 +22,7 @@ var patterns = [ | |
// Twitter: remove User-Agent, this prevents an annoying redirect to "… | |
{ | |
"re": new RegExp(prefix + "twitter\.com\/.*"), | |
- "ua": ua_none | |
+ "ua": ua_windows10 | |
} | |
]; | |