#ifdef XP_UNIX #ifndef XP_MACOSX #define OS_SLICE X11; Linux x86_64; #else #define OS_SLICE Macintosh; Intel Mac OS X 10.13; #endif #else #define OS_SLICE Windows NT 10.0; Win64; #endif #filter substitution #filter slashslash #define FF60 Mozilla/5.0 (@OS_SLICE@ rv:60.0) Gecko/20100101 Firefox/60.0 #define FF68 Mozilla/5.0 (@OS_SLICE@ rv:68.0) Gecko/20100101 Firefox/68.0 #define FF78 Mozilla/5.0 (@OS_SLICE@ rv:78.0) Gecko/20100101 Firefox/78.0 #define FF102 Mozilla/5.0 (@OS_SLICE@ rv:102.0) Gecko/20100101 Firefox/102.0 #define CHROME76 Mozilla/5.0 (@OS_SLICE@) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36 #define CHROME91 Mozilla/5.0 (@OS_SLICE@) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36 // Everything after the first // on a line will be removed by the preproccesor. // Send these sites a custom user-agent. Bugs should be included with an entry. // Format: // "example.org": "regex_string#new_string" // "#" hash sign is the separator. If no hash sign, the full string is used as replacement. // NOTE: trailing commas are not valid JSON and will prevent the CDN from syncing. { // Idenify as SeaMonkey only for these three specific sites (addons, accounts etc). "thunderbird.net": "Firefox/.*#SeaMonkey/@APP_VERSION@", "firefox.com": "Firefox/.*#SeaMonkey/@APP_VERSION@", "seamonkey-project.org": "Firefox/.*#SeaMonkey/@APP_VERSION@", "cdn.polyfill.io": "@FF60@", "instagram.com": "@FF68@", "lexiacore5.com": "@FF78@", "netflix.com": "@FF78@", "xfinity.com": "@FF78@", "tresorit.com": "@FF78@", "facebook.com": "@FF78@", "facebook.net": "@FF78@", "fbcdn.net": "@FF78@", "responsiblestatecraft.org": "@FF102@", "steamcommunity.com": "@CHROME76@", "saxoinvestor.fr": "@CHROME91@", // Derived from Waterfox-Classic // (see https://github.com/WaterfoxCo/Waterfox-Classic/blob/classic/browser/app/ua-update.json.in). // Need the proper check. // "att.tv": "@CHROME76@", // "citi.com": "Mozilla/5.0 (@OS_SLICE@ rv:88.0) Gecko/20100101 Firefox/88.0", // "dailymotion.com": "Mozilla/5.0 (@OS_SLICE@ rv:56.0) Gecko/20100101 Firefox/56.0", // "eon.tv": "Mozilla/5.0 (@OS_SLICE@ rv:56.0) Gecko/20100101 Firefox/56.0", // "hoopladigital.com": "Mozilla/5.0 (@OS_SLICE@ rv:56.0) Gecko/20100101 Firefox/56.0", // "kb.vmware.com": "Mozilla/5.0 (@OS_SLICE@ Trident/8.0; rv:11.0) like Gecko", // "yahoo.com": "Mozilla/5.0 (@OS_SLICE@ rv:99.9) Gecko/20100101 Firefox/99.9", // from Firefox's about:compat (from Firefox's webcompat addon) // "directv.com": "@CHROME76@", // "sling.com": "@CHROME76@", // "www.mobilesuica.com": "@CHROME76@", // or 79.0.3945.88 // "covid.cdc.gov": "@CHROME76@", // "www.otsuka.co.jp": "@CHROME91@", // or 97.0.4692.9 "end_of_list": "Just don't forget to skip the last comma at the end of the list :)" }