Introduction
Introduction Statistics Contact Development Disclaimer Help
update UA to Windows 10 - firefox-fix-web - Firefox extension: fix web
git clone git://git.codemadness.org/firefox-fix-web
Log
Files
Refs
README
LICENSE
---
commit deee659665bec6079694d48833f97070bca5f8f7
parent c1a70013f87cc63d47ae971168b21aa31ba3ca67
Author: Hiltjo Posthuma <[email protected]>
Date: Sun, 22 Mar 2020 23:40:15 +0100
update UA to Windows 10
Diffstat:
M extension/background.js | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/extension/background.js b/extension/background.js
@@ -6,10 +6,18 @@ function main(info) {
var ff_version = info.version || "72.0";
/* User-Agent's */
-var ua_windows = "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:" + ff_version +…
+// Windows 7 (64-bit)
+//var ua_windows7 = "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:" + ff_versio…
+// Windows 10 (64-bit)
+var ua_windows10 = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:" + ff_versio…
+// Windows 10 Chrome, NOTE: update version manually if needed.
+//var ua_windows10_chrome = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWe…
+
+// OpenBSD amd64
var ua_openbsd = "Mozilla/5.0 (X11; OpenBSD amd64; rv:" + ff_version + ") Geck…
+
var ua_none = "";
-var ua_default = ua_windows;
+var ua_default = ua_windows10;
var prefix = "^(http|https):\/\/([^\.]+\.)?"; // HTTP and HTTPS, optional subd…
var patterns = [
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.