diff --git a/browser/extensions/webcompat/data/injections.js b/browser/extensions/webcompat/data/injections.js index 2b2fc049589e..0582331ebf76 100644 --- a/browser/extensions/webcompat/data/injections.js +++ b/browser/extensions/webcompat/data/injections.js @@ -356,7 +356,6 @@ const AVAILABLE_INJECTIONS = [ bug: "1724764", contentScripts: { matches: [ - "*://*.amextravel.com/*", // 1724764 "*://*.edupage.org/*", // 1804477 and 1800118 ], js: [ @@ -691,20 +690,6 @@ const AVAILABLE_INJECTIONS = [ ], }, }, - { - id: "bug1803976", - platform: "desktop", - domain: "www.youtube.com", - bug: "1803976", - contentScripts: { - matches: ["*://www.youtube.com/*"], - js: [ - { - file: "injections/js/bug1803976-www.youtube.com-performance-now-precision.js", - }, - ], - }, - }, { id: "bug1448747", platform: "android", @@ -721,7 +706,6 @@ const AVAILABLE_INJECTIONS = [ "*://bathpublishing.com/*", // 100145 "*://dylantalkstone.com/*", // 101356 "*://renewd.com.au/*", // 104998 - "*://gofreeconcepts.de/*", // 105534 "*://*.lamudi.co.id/*", // 106767 "*://*.thehawksmoor.com/*", // 107549 "*://weaversofireland.com/*", // 116816 @@ -746,7 +730,6 @@ const AVAILABLE_INJECTIONS = [ contentScripts: { matches: [ "*://*.chatiw.com/*", // 5544 - "*://*.marksandspencer.com/*", // 101811 "*://*.wellcare.com/*", // 116595 ], js: [ @@ -812,20 +795,6 @@ const AVAILABLE_INJECTIONS = [ ], }, }, - { - id: "bug1827678-85474", - platform: "desktop", - domain: "elal.com", - bug: "1827678", - contentScripts: { - matches: ["*://*.elal.com/*"], - css: [ - { - file: "injections/css/bug1819678-elal.com-unsupported-banner.css", - }, - ], - }, - }, { id: "bug1827678-webc119017", platform: "desktop", @@ -1012,6 +981,65 @@ const AVAILABLE_INJECTIONS = [ ], }, }, + { + id: "bug1836157", + platform: "android", + domain: "thai-masszazs.net", + bug: "1836157", + contentScripts: { + matches: ["*://www.thai-masszazs.net/en/*"], + js: [ + { + file: "injections/js/bug1836157-thai-masszazs-niceScroll-disable.js", + }, + ], + }, + }, + { + id: "bug1836103", + platform: "all", + domain: "autostar-novoross.ru", + bug: "1836103", + contentScripts: { + matches: ["*://autostar-novoross.ru/*"], + css: [ + { + file: "injections/css/bug1836103-autostar-novoross.ru-make-map-taller.css", + }, + ], + }, + }, + { + id: "bug1836105", + platform: "all", + domain: "cnn.com", + bug: "1836105", + contentScripts: { + matches: ["*://*.cnn.com/*"], + css: [ + { + file: "injections/css/bug1836105-cnn.com-fix-blank-pages-when-printing.css", + }, + ], + }, + }, + { + id: "bug1836177", + platform: "desktop", + domain: "clalit.co.il", + bug: "1836177", + contentScripts: { + matches: [ + "*://e-services.clalit.co.il/OnlineWeb/General/InfoFullLogin.aspx*", + ], + css: [ + { + file: "injections/css/bug1836177-clalit.co.il-hide-number-input-spinners.css", + }, + ], + allFrames: true, + }, + }, ]; module.exports = AVAILABLE_INJECTIONS; diff --git a/browser/extensions/webcompat/data/ua_overrides.js b/browser/extensions/webcompat/data/ua_overrides.js index 8b130cd5044c..150d13465d9e 100644 --- a/browser/extensions/webcompat/data/ua_overrides.js +++ b/browser/extensions/webcompat/data/ua_overrides.js @@ -474,26 +474,6 @@ const AVAILABLE_UA_OVERRIDES = [ }, }, }, - { - /* - * Bug 1719846 - Add UA override for https://covid.cdc.gov/covid-data-tracker/ - * Webcompat issue #76944 - https://webcompat.com/issues/76944 - * - * The application locks out Firefox via User Agent sniffing, but in our - * tests, there appears to be no reason for this. Everything looks fine if - * we spoof as Chrome. - */ - id: "bug1719846", - platform: "all", - domain: "covid.cdc.gov", - bug: "1719846", - config: { - matches: ["*://covid.cdc.gov/covid-data-tracker/*"], - uaTransformer: () => { - return UAHelpers.getDeviceAppropriateChromeUA(); - }, - }, - }, { /* * Bug 1719859 - Add UA override for saxoinvestor.fr @@ -1233,6 +1213,159 @@ const AVAILABLE_UA_OVERRIDES = [ }, }, }, + { + /* + * Bug 1831441 - UA override for luna.amazon.com + * + * Games are unplayable unless a Chrome UA is used. + */ + id: "bug1831441", + platform: "all", + domain: "luna.amazon.com", + bug: "1831441", + config: { + matches: ["*://luna.amazon.com/*"], + uaTransformer: originalUA => { + return UAHelpers.getDeviceAppropriateChromeUA(); + }, + }, + }, + { + /* + * Bug 1836109 - UA override for watch.tonton.com.my + * + * The site's content is not loaded unless a Chrome UA is used. + */ + id: "bug1836109", + platform: "all", + domain: "watch.tonton.com.my", + bug: "1836109", + config: { + matches: ["*://watch.tonton.com.my/*"], + uaTransformer: originalUA => { + return UAHelpers.getDeviceAppropriateChromeUA(); + }, + }, + }, + { + /* + * Bug 1836112 - UA override for www.capcut.cn + * + * The site's content is not loaded unless a Chrome UA is used. + */ + id: "bug1836112", + platform: "all", + domain: "www.capcut.cn", + bug: "1836112", + config: { + matches: ["*://www.capcut.cn/editor*"], + uaTransformer: originalUA => { + return UAHelpers.getDeviceAppropriateChromeUA(); + }, + }, + }, + { + /* + * Bug 1836116 - UA override for www.slushy.com + * + * The site's content is not loaded without a Chrome UA spoof. + */ + id: "bug1836116", + platform: "all", + domain: "www.slushy.com", + bug: "1836116", + config: { + matches: ["*://www.slushy.com/*"], + uaTransformer: originalUA => { + return originalUA + " Chrome/113.0.0.0"; + }, + }, + }, + { + /* + * Bug 1836135 - UA override for gts-pro.sdimedia.com + * + * The site's content is not loaded without a Chrome UA spoof. + */ + id: "bug1836135", + platform: "all", + domain: "gts-pro.sdimedia.com", + bug: "1836135", + config: { + matches: ["*://gts-pro.sdimedia.com/*"], + uaTransformer: originalUA => { + return originalUA.replace("Firefox/", "Fx/") + " Chrome/113.0.0.0"; + }, + }, + }, + { + /* + * Bug 1836140 - UA override for indices.iriworldwide.com + * + * The site's content is not loaded without a UA spoof. + */ + id: "bug1836140", + platform: "all", + domain: "indices.iriworldwide.com", + bug: "1836140", + config: { + matches: ["*://indices.iriworldwide.com/covid19/*"], + uaTransformer: originalUA => { + return originalUA.replace("Firefox/", "Fx/"); + }, + }, + }, + { + /* + * Bug 1836178 - UA override for atracker.pro + * + * The site's content is not loaded without a Chrome UA spoof. + */ + id: "bug1836178", + platform: "all", + domain: "atracker.pro", + bug: "1836178", + config: { + matches: ["*://atracker.pro/*"], + uaTransformer: originalUA => { + return originalUA + " Chrome/113.0.0.0"; + }, + }, + }, + { + /* + * Bug 1836181 - UA override for conference.amwell.com + * + * The site's content is not loaded unless a Chrome UA is used. + */ + id: "bug1836181", + platform: "all", + domain: "conference.amwell.com", + bug: "1836181", + config: { + matches: ["*://conference.amwell.com/*"], + uaTransformer: originalUA => { + return UAHelpers.getDeviceAppropriateChromeUA(); + }, + }, + }, + { + /* + * Bug 1836182 - UA override for www.flatsatshadowglen.com + * + * The site's content is not loaded without a Chrome UA spoof. + */ + id: "bug1836182", + platform: "all", + domain: "www.flatsatshadowglen.com", + bug: "1836182", + config: { + matches: ["*://www.flatsatshadowglen.com/*"], + uaTransformer: originalUA => { + return originalUA + " Chrome/113.0.0.0"; + }, + }, + }, ]; module.exports = AVAILABLE_UA_OVERRIDES; diff --git a/browser/extensions/webcompat/injections/css/bug0000000-testbed-css-injection.css b/browser/extensions/webcompat/injections/css/bug0000000-testbed-css-injection.css index 1e82ee9722cc..566685c2da75 100644 --- a/browser/extensions/webcompat/injections/css/bug0000000-testbed-css-injection.css +++ b/browser/extensions/webcompat/injections/css/bug0000000-testbed-css-injection.css @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + #css-injection.red { background-color: #0f0; } diff --git a/browser/extensions/webcompat/injections/css/bug1570328-developer-apple.com-transform-scale.css b/browser/extensions/webcompat/injections/css/bug1570328-developer-apple.com-transform-scale.css index 2ffd45a3611d..05f7e685b9c8 100644 --- a/browser/extensions/webcompat/injections/css/bug1570328-developer-apple.com-transform-scale.css +++ b/browser/extensions/webcompat/injections/css/bug1570328-developer-apple.com-transform-scale.css @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + /** * developer.apple.com - content of the page is shifted to the left * Bug #1570328 - https://bugzilla.mozilla.org/show_bug.cgi?id=1570328 diff --git a/browser/extensions/webcompat/injections/css/bug1575000-apply.lloydsbank.co.uk-radio-buttons-fix.css b/browser/extensions/webcompat/injections/css/bug1575000-apply.lloydsbank.co.uk-radio-buttons-fix.css index d6c7e82e2639..e157dc692010 100644 --- a/browser/extensions/webcompat/injections/css/bug1575000-apply.lloydsbank.co.uk-radio-buttons-fix.css +++ b/browser/extensions/webcompat/injections/css/bug1575000-apply.lloydsbank.co.uk-radio-buttons-fix.css @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + /** * apply.lloydsbank.co.uk - radio buttons are misplaced * Bug #1575000 - https://bugzilla.mozilla.org/show_bug.cgi?id=1575000 diff --git a/browser/extensions/webcompat/injections/css/bug1605611-maps.google.com-directions-time.css b/browser/extensions/webcompat/injections/css/bug1605611-maps.google.com-directions-time.css index 5bb62f96a876..75ca4a872326 100644 --- a/browser/extensions/webcompat/injections/css/bug1605611-maps.google.com-directions-time.css +++ b/browser/extensions/webcompat/injections/css/bug1605611-maps.google.com-directions-time.css @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + /** * Bug 1605611 - Cannot change Departure/arrival dates in Google Maps on Android * diff --git a/browser/extensions/webcompat/injections/css/bug1610344-directv.com.co-hide-unsupported-message.css b/browser/extensions/webcompat/injections/css/bug1610344-directv.com.co-hide-unsupported-message.css index 80f94aa30656..9f673bee9515 100644 --- a/browser/extensions/webcompat/injections/css/bug1610344-directv.com.co-hide-unsupported-message.css +++ b/browser/extensions/webcompat/injections/css/bug1610344-directv.com.co-hide-unsupported-message.css @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + /** * directv.com.co - Browser is not supported message * Bug #1610344 - https://bugzilla.mozilla.org/show_bug.cgi?id=1610344 diff --git a/browser/extensions/webcompat/injections/css/bug1644830-missingmail.usps.com-checkboxes-not-visible.css b/browser/extensions/webcompat/injections/css/bug1644830-missingmail.usps.com-checkboxes-not-visible.css index 191985b69185..fc1cb7489ac1 100644 --- a/browser/extensions/webcompat/injections/css/bug1644830-missingmail.usps.com-checkboxes-not-visible.css +++ b/browser/extensions/webcompat/injections/css/bug1644830-missingmail.usps.com-checkboxes-not-visible.css @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + /** * missingmail.usps.com - Unable to mark the check-boxes from "Disclaimer and * Terms and Conditions" section diff --git a/browser/extensions/webcompat/injections/css/bug1651917-teletrader.com.body-transform-origin.css b/browser/extensions/webcompat/injections/css/bug1651917-teletrader.com.body-transform-origin.css index e7a44a93d756..2c4429a301cc 100644 --- a/browser/extensions/webcompat/injections/css/bug1651917-teletrader.com.body-transform-origin.css +++ b/browser/extensions/webcompat/injections/css/bug1651917-teletrader.com.body-transform-origin.css @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + /** * teletrader.com - content is shifted down and right * Bug #1651917 - https://bugzilla.mozilla.org/show_bug.cgi?id=1651917 diff --git a/browser/extensions/webcompat/injections/css/bug1653075-livescience.com-scrollbar-width.css b/browser/extensions/webcompat/injections/css/bug1653075-livescience.com-scrollbar-width.css index 5edc344d934a..ae14d1ec1355 100644 --- a/browser/extensions/webcompat/injections/css/bug1653075-livescience.com-scrollbar-width.css +++ b/browser/extensions/webcompat/injections/css/bug1653075-livescience.com-scrollbar-width.css @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + /** * livescience.com - a scrollbar covering navigation menu * Bug #1653075 - https://bugzilla.mozilla.org/show_bug.cgi?id=1653075 diff --git a/browser/extensions/webcompat/injections/css/bug1654877-preev.com-moz-appearance-fix.css b/browser/extensions/webcompat/injections/css/bug1654877-preev.com-moz-appearance-fix.css index 111ec522dfc5..b13c3052f329 100644 --- a/browser/extensions/webcompat/injections/css/bug1654877-preev.com-moz-appearance-fix.css +++ b/browser/extensions/webcompat/injections/css/bug1654877-preev.com-moz-appearance-fix.css @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + /** * preev.com - typed numbers are not fully visible * Bug #1654877 - https://bugzilla.mozilla.org/show_bug.cgi?id=1654877 diff --git a/browser/extensions/webcompat/injections/css/bug1654907-reactine.ca-hide-unsupported.css b/browser/extensions/webcompat/injections/css/bug1654907-reactine.ca-hide-unsupported.css index 2893e873eda6..6cecb6658a3a 100644 --- a/browser/extensions/webcompat/injections/css/bug1654907-reactine.ca-hide-unsupported.css +++ b/browser/extensions/webcompat/injections/css/bug1654907-reactine.ca-hide-unsupported.css @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + /** * reactine.ca - Unsupported browser message * Bug #1654907 - https://bugzilla.mozilla.org/show_bug.cgi?id=1654907 diff --git a/browser/extensions/webcompat/injections/css/bug1694470-myvidster.com-content-not-shown.css b/browser/extensions/webcompat/injections/css/bug1694470-myvidster.com-content-not-shown.css index a77bd0761dc8..adec7101bab7 100644 --- a/browser/extensions/webcompat/injections/css/bug1694470-myvidster.com-content-not-shown.css +++ b/browser/extensions/webcompat/injections/css/bug1694470-myvidster.com-content-not-shown.css @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + /** * m.myvidster.com - Content is not shown * Bug #1694470 - https://bugzilla.mozilla.org/show_bug.cgi?id=1694470 diff --git a/browser/extensions/webcompat/injections/css/bug1707795-office365-sheets-overscroll-disable.css b/browser/extensions/webcompat/injections/css/bug1707795-office365-sheets-overscroll-disable.css index 41ee4060f62c..7165ceb70f34 100644 --- a/browser/extensions/webcompat/injections/css/bug1707795-office365-sheets-overscroll-disable.css +++ b/browser/extensions/webcompat/injections/css/bug1707795-office365-sheets-overscroll-disable.css @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + /** * www.office.com - There is an overscroll effect on Excel sheets which is * not a very pleasant user experience. This invention disables it. diff --git a/browser/extensions/webcompat/injections/css/bug1712833-buskocchi.desuca.co.jp-fix-map-height.css b/browser/extensions/webcompat/injections/css/bug1712833-buskocchi.desuca.co.jp-fix-map-height.css index fb858974068a..b4b8ca4a34fd 100644 --- a/browser/extensions/webcompat/injections/css/bug1712833-buskocchi.desuca.co.jp-fix-map-height.css +++ b/browser/extensions/webcompat/injections/css/bug1712833-buskocchi.desuca.co.jp-fix-map-height.css @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + /** * buskocchi.desuca.co.jp - Ensure that the map has a height so it is visible. * Bug #1712833 - https://bugzilla.mozilla.org/show_bug.cgi?id=1712833 diff --git a/browser/extensions/webcompat/injections/css/bug1741234-patient.alphalabs.ca-height-fix.css b/browser/extensions/webcompat/injections/css/bug1741234-patient.alphalabs.ca-height-fix.css index 03004d00fe55..3765d1de1e9d 100644 --- a/browser/extensions/webcompat/injections/css/bug1741234-patient.alphalabs.ca-height-fix.css +++ b/browser/extensions/webcompat/injections/css/bug1741234-patient.alphalabs.ca-height-fix.css @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + /** * patient.alphalabs.ca - "Continue" button is overlapped by displaced page footer * Bug #1741234 - https://bugzilla.mozilla.org/show_bug.cgi?id=1741234 diff --git a/browser/extensions/webcompat/injections/css/bug1765947-veniceincoming.com-left-fix.css b/browser/extensions/webcompat/injections/css/bug1765947-veniceincoming.com-left-fix.css index 4c2df651ba02..8c1ab7b2ae42 100644 --- a/browser/extensions/webcompat/injections/css/bug1765947-veniceincoming.com-left-fix.css +++ b/browser/extensions/webcompat/injections/css/bug1765947-veniceincoming.com-left-fix.css @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + /** * veniceincoming.com - site is not usable * Bug #1765947 - https://bugzilla.mozilla.org/show_bug.cgi?id=1765947 diff --git a/browser/extensions/webcompat/injections/css/bug1770962-coldwellbankerhomes.com-image-height.css b/browser/extensions/webcompat/injections/css/bug1770962-coldwellbankerhomes.com-image-height.css index 22a6b331d1db..f9460951afbe 100644 --- a/browser/extensions/webcompat/injections/css/bug1770962-coldwellbankerhomes.com-image-height.css +++ b/browser/extensions/webcompat/injections/css/bug1770962-coldwellbankerhomes.com-image-height.css @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + /** * coldwellbankerhomes.com - Property images are displayed squeezed * Bug #1770962 - https://bugzilla.mozilla.org/show_bug.cgi?id=1770962 diff --git a/browser/extensions/webcompat/injections/css/bug1774490-rainews.it-gallery-fix.css b/browser/extensions/webcompat/injections/css/bug1774490-rainews.it-gallery-fix.css index 95dbf219c947..840e4ad7fb59 100644 --- a/browser/extensions/webcompat/injections/css/bug1774490-rainews.it-gallery-fix.css +++ b/browser/extensions/webcompat/injections/css/bug1774490-rainews.it-gallery-fix.css @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + /** * rainews.it - Image slideshow is not shown * Bug #1774490 - https://bugzilla.mozilla.org/show_bug.cgi?id=1774490 diff --git a/browser/extensions/webcompat/injections/css/bug1784141-aveeno.com-acuvue.com-unsupported.css b/browser/extensions/webcompat/injections/css/bug1784141-aveeno.com-acuvue.com-unsupported.css index 6d3aff1eead8..50b5bb2e90d3 100644 --- a/browser/extensions/webcompat/injections/css/bug1784141-aveeno.com-acuvue.com-unsupported.css +++ b/browser/extensions/webcompat/injections/css/bug1784141-aveeno.com-acuvue.com-unsupported.css @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + /** * aveeno.com and acuvue.com - Unsupported message is displayed * diff --git a/browser/extensions/webcompat/injections/css/bug1784199-entrata-platform-unsupported.css b/browser/extensions/webcompat/injections/css/bug1784199-entrata-platform-unsupported.css index 78ffaeb53ecc..d20b84a99bc3 100644 --- a/browser/extensions/webcompat/injections/css/bug1784199-entrata-platform-unsupported.css +++ b/browser/extensions/webcompat/injections/css/bug1784199-entrata-platform-unsupported.css @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + /** * aptsovation.com - Unsupported message is displayed on sites based on Entrata platform * Bug #1784199 - https://bugzilla.mozilla.org/show_bug.cgi?id=1784199 diff --git a/browser/extensions/webcompat/injections/css/bug1799994-www.vivobarefoot.com-product-filters-fix.css b/browser/extensions/webcompat/injections/css/bug1799994-www.vivobarefoot.com-product-filters-fix.css index 3684b4d5550b..fd42fd76488a 100644 --- a/browser/extensions/webcompat/injections/css/bug1799994-www.vivobarefoot.com-product-filters-fix.css +++ b/browser/extensions/webcompat/injections/css/bug1799994-www.vivobarefoot.com-product-filters-fix.css @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + /** * www.vivobarefoot.com - product filters cannot be interacted-with * Bug #1799994 - https://bugzilla.mozilla.org/show_bug.cgi?id=1799994 diff --git a/browser/extensions/webcompat/injections/css/bug1800000-www.honda.co.uk-choose-dealer-button-fix.css b/browser/extensions/webcompat/injections/css/bug1800000-www.honda.co.uk-choose-dealer-button-fix.css index b1df5f8bc268..5ce3d9f15cf7 100644 --- a/browser/extensions/webcompat/injections/css/bug1800000-www.honda.co.uk-choose-dealer-button-fix.css +++ b/browser/extensions/webcompat/injections/css/bug1800000-www.honda.co.uk-choose-dealer-button-fix.css @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + /** * www.honda.co.uk- "choose dealer" buttons cannot be interacted-with * Bug #1800000 - https://bugzilla.mozilla.org/show_bug.cgi?id=1800000 diff --git a/browser/extensions/webcompat/injections/css/bug1819678-elal.com-unsupported-banner.css b/browser/extensions/webcompat/injections/css/bug1819678-elal.com-unsupported-banner.css deleted file mode 100644 index 14727268a4fc..000000000000 --- a/browser/extensions/webcompat/injections/css/bug1819678-elal.com-unsupported-banner.css +++ /dev/null @@ -1,11 +0,0 @@ -/** - * www.elal.com - Firefox is an unsupported browser - * WebCompat issue #85474 - https://github.com/webcompat/web-bugs/issues/85474 - * - * As everything seems to work just fine, this intervention simply hides the - * banner. - */ - -.pnlOldBrowser { - display: none !important; -} diff --git a/browser/extensions/webcompat/injections/css/bug1819678-nppes.cms.hhs.gov-unsupported-banner.css b/browser/extensions/webcompat/injections/css/bug1819678-nppes.cms.hhs.gov-unsupported-banner.css index dc2ed5467c86..ab9788ddc10c 100644 --- a/browser/extensions/webcompat/injections/css/bug1819678-nppes.cms.hhs.gov-unsupported-banner.css +++ b/browser/extensions/webcompat/injections/css/bug1819678-nppes.cms.hhs.gov-unsupported-banner.css @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + /** * nppes.cms.hhs.gov - Firefox is an unsupported browser * WebCompat issue #119017 - https://github.com/webcompat/web-bugs/issues/119017 diff --git a/browser/extensions/webcompat/injections/css/bug1829949-tomshardware.com-scrollbar-width.css b/browser/extensions/webcompat/injections/css/bug1829949-tomshardware.com-scrollbar-width.css index 7f5765ed51ca..f6bee8c87859 100644 --- a/browser/extensions/webcompat/injections/css/bug1829949-tomshardware.com-scrollbar-width.css +++ b/browser/extensions/webcompat/injections/css/bug1829949-tomshardware.com-scrollbar-width.css @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + /** * tomshardware.com - a scrollbar covering navigation menu * Bug #1829949 - https://bugzilla.mozilla.org/show_bug.cgi?id=1829949 diff --git a/browser/extensions/webcompat/injections/css/bug1829952-eventer.co.il-button-height.css b/browser/extensions/webcompat/injections/css/bug1829952-eventer.co.il-button-height.css index d4950cf5d9a7..54de51589a85 100644 --- a/browser/extensions/webcompat/injections/css/bug1829952-eventer.co.il-button-height.css +++ b/browser/extensions/webcompat/injections/css/bug1829952-eventer.co.il-button-height.css @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + /** * eventer.co.il - a button is covering entire page * Bug #1829952 - https://bugzilla.mozilla.org/show_bug.cgi?id=1829952 diff --git a/browser/extensions/webcompat/injections/css/bug1830747-babbel.com-page-height.css b/browser/extensions/webcompat/injections/css/bug1830747-babbel.com-page-height.css index 22b39865ac14..1f7585e6373a 100644 --- a/browser/extensions/webcompat/injections/css/bug1830747-babbel.com-page-height.css +++ b/browser/extensions/webcompat/injections/css/bug1830747-babbel.com-page-height.css @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + /** * my.babbel.com - "Next" button is not visible * Bug #1830747 - https://bugzilla.mozilla.org/show_bug.cgi?id=1830747 diff --git a/browser/extensions/webcompat/injections/css/bug1830752-afisha.ru-slider-pointer-events.css b/browser/extensions/webcompat/injections/css/bug1830752-afisha.ru-slider-pointer-events.css index 14d86c7bd2f7..64974c46e4cb 100644 --- a/browser/extensions/webcompat/injections/css/bug1830752-afisha.ru-slider-pointer-events.css +++ b/browser/extensions/webcompat/injections/css/bug1830752-afisha.ru-slider-pointer-events.css @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + /** * afisha.ru - Slider not working * Bug #1830752 - https://bugzilla.mozilla.org/show_bug.cgi?id=1830752 diff --git a/browser/extensions/webcompat/injections/css/bug1830761-91mobiles.com-content-height.css b/browser/extensions/webcompat/injections/css/bug1830761-91mobiles.com-content-height.css index 623e36447dcf..f2e24346e161 100644 --- a/browser/extensions/webcompat/injections/css/bug1830761-91mobiles.com-content-height.css +++ b/browser/extensions/webcompat/injections/css/bug1830761-91mobiles.com-content-height.css @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + /** * 91mobiles.com - Text overlapping * Bug #1830761 - https://bugzilla.mozilla.org/show_bug.cgi?id=1830761 diff --git a/browser/extensions/webcompat/injections/css/bug1830796-copyleaks.com-hide-unsupported.css b/browser/extensions/webcompat/injections/css/bug1830796-copyleaks.com-hide-unsupported.css index a4246182bace..753835de6ac3 100644 --- a/browser/extensions/webcompat/injections/css/bug1830796-copyleaks.com-hide-unsupported.css +++ b/browser/extensions/webcompat/injections/css/bug1830796-copyleaks.com-hide-unsupported.css @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + /** * copyleaks.com - Unsupported message * Bug #1830796 - https://bugzilla.mozilla.org/show_bug.cgi?id=1830796 diff --git a/browser/extensions/webcompat/injections/css/bug1830810-interceramic.com-hide-unsupported.css b/browser/extensions/webcompat/injections/css/bug1830810-interceramic.com-hide-unsupported.css index 132a097394c3..7726140d0efe 100644 --- a/browser/extensions/webcompat/injections/css/bug1830810-interceramic.com-hide-unsupported.css +++ b/browser/extensions/webcompat/injections/css/bug1830810-interceramic.com-hide-unsupported.css @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + /** * interceramic.com - Unsupported message * Bug #1830810 - https://bugzilla.mozilla.org/show_bug.cgi?id=1830810 diff --git a/browser/extensions/webcompat/injections/css/bug1830813-page.onstove.com-hide-unsupported.css b/browser/extensions/webcompat/injections/css/bug1830813-page.onstove.com-hide-unsupported.css index 9f6d792c690a..707e75765ec5 100644 --- a/browser/extensions/webcompat/injections/css/bug1830813-page.onstove.com-hide-unsupported.css +++ b/browser/extensions/webcompat/injections/css/bug1830813-page.onstove.com-hide-unsupported.css @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + /** * onstove.com - Unsupported message * Bug #1830813 - https://bugzilla.mozilla.org/show_bug.cgi?id=1830813 diff --git a/browser/extensions/webcompat/injections/css/bug1836103-autostar-novoross.ru-make-map-taller.css b/browser/extensions/webcompat/injections/css/bug1836103-autostar-novoross.ru-make-map-taller.css new file mode 100644 index 000000000000..70fc01b86f41 --- /dev/null +++ b/browser/extensions/webcompat/injections/css/bug1836103-autostar-novoross.ru-make-map-taller.css @@ -0,0 +1,13 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +/** + * autostar-novoross.ru - Map is not as tall as expected + * Bug #1836103 - https://bugzilla.mozilla.org/show_bug.cgi?id=1836103 + * WebCompat issue #80763 - https://github.com/webcompat/web-bugs/issues/80763 + */ + +.t396 .tn-atom { + height: 100%; +} diff --git a/browser/extensions/webcompat/injections/css/bug1836105-cnn.com-fix-blank-pages-when-printing.css b/browser/extensions/webcompat/injections/css/bug1836105-cnn.com-fix-blank-pages-when-printing.css new file mode 100644 index 000000000000..db6f018619e5 --- /dev/null +++ b/browser/extensions/webcompat/injections/css/bug1836105-cnn.com-fix-blank-pages-when-printing.css @@ -0,0 +1,19 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +/** + * cnn.com - Printing in portrait mode results in blank pages + * Bug #1836105 - https://bugzilla.mozilla.org/show_bug.cgi?id=1836105 + * + * Disable some of CNN's giant styles for height, top and margin-bottom, + * since they break print layout in Firefox (as per bug 1830307) + */ + +@media print { + .header__wrapper-outer { + height: initial !important; + top: initial !important; + margin-bottom: initial !important; + } +} diff --git a/browser/extensions/webcompat/injections/css/bug1836177-clalit.co.il-hide-number-input-spinners.css b/browser/extensions/webcompat/injections/css/bug1836177-clalit.co.il-hide-number-input-spinners.css new file mode 100644 index 000000000000..ef255c7b897a --- /dev/null +++ b/browser/extensions/webcompat/injections/css/bug1836177-clalit.co.il-hide-number-input-spinners.css @@ -0,0 +1,13 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +/** + * clalit.co.il - Hide number input spinners as page intends + * Bug #1836177 - https://bugzilla.mozilla.org/show_bug.cgi?id=1836177 + * WebCompat issue #109468 - https://github.com/webcompat/web-bugs/issues/109468 + */ + +input[type="number"] { + -moz-appearance: textfield; +} diff --git a/browser/extensions/webcompat/injections/js/bug0000000-testbed-js-injection.js b/browser/extensions/webcompat/injections/js/bug0000000-testbed-js-injection.js index c491aae4bfce..7a192d6c4142 100644 --- a/browser/extensions/webcompat/injections/js/bug0000000-testbed-js-injection.js +++ b/browser/extensions/webcompat/injections/js/bug0000000-testbed-js-injection.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; /* globals exportFunction */ diff --git a/browser/extensions/webcompat/injections/js/bug1448747-fastclick-shim.js b/browser/extensions/webcompat/injections/js/bug1448747-fastclick-shim.js index 8857205053bd..7a8e85f538bd 100644 --- a/browser/extensions/webcompat/injections/js/bug1448747-fastclick-shim.js +++ b/browser/extensions/webcompat/injections/js/bug1448747-fastclick-shim.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; /** diff --git a/browser/extensions/webcompat/injections/js/bug1452707-window.controllers-shim-ib.absa.co.za.js b/browser/extensions/webcompat/injections/js/bug1452707-window.controllers-shim-ib.absa.co.za.js index 4a16fbd9570a..40e17b4a36ce 100644 --- a/browser/extensions/webcompat/injections/js/bug1452707-window.controllers-shim-ib.absa.co.za.js +++ b/browser/extensions/webcompat/injections/js/bug1452707-window.controllers-shim-ib.absa.co.za.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; /** diff --git a/browser/extensions/webcompat/injections/js/bug1457335-histography.io-ua-change.js b/browser/extensions/webcompat/injections/js/bug1457335-histography.io-ua-change.js index ca47505bd3fe..06085acc5a15 100644 --- a/browser/extensions/webcompat/injections/js/bug1457335-histography.io-ua-change.js +++ b/browser/extensions/webcompat/injections/js/bug1457335-histography.io-ua-change.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; /** diff --git a/browser/extensions/webcompat/injections/js/bug1472075-bankofamerica.com-ua-change.js b/browser/extensions/webcompat/injections/js/bug1472075-bankofamerica.com-ua-change.js index 77333fab282b..5aa72e75aed9 100644 --- a/browser/extensions/webcompat/injections/js/bug1472075-bankofamerica.com-ua-change.js +++ b/browser/extensions/webcompat/injections/js/bug1472075-bankofamerica.com-ua-change.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; /** diff --git a/browser/extensions/webcompat/injections/js/bug1579159-m.tailieu.vn-pdfjs-worker-disable.js b/browser/extensions/webcompat/injections/js/bug1579159-m.tailieu.vn-pdfjs-worker-disable.js index 9a5bd6121a60..5c757466c63f 100644 --- a/browser/extensions/webcompat/injections/js/bug1579159-m.tailieu.vn-pdfjs-worker-disable.js +++ b/browser/extensions/webcompat/injections/js/bug1579159-m.tailieu.vn-pdfjs-worker-disable.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; /** diff --git a/browser/extensions/webcompat/injections/js/bug1605611-maps.google.com-directions-time.js b/browser/extensions/webcompat/injections/js/bug1605611-maps.google.com-directions-time.js index 75526ced0353..a068e8dcd5a4 100644 --- a/browser/extensions/webcompat/injections/js/bug1605611-maps.google.com-directions-time.js +++ b/browser/extensions/webcompat/injections/js/bug1605611-maps.google.com-directions-time.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; /** diff --git a/browser/extensions/webcompat/injections/js/bug1631811-datastudio.google.com-indexedDB.js b/browser/extensions/webcompat/injections/js/bug1631811-datastudio.google.com-indexedDB.js index 63bb420d8dd1..fb9be740391c 100644 --- a/browser/extensions/webcompat/injections/js/bug1631811-datastudio.google.com-indexedDB.js +++ b/browser/extensions/webcompat/injections/js/bug1631811-datastudio.google.com-indexedDB.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; /** diff --git a/browser/extensions/webcompat/injections/js/bug1722955-frontgate.com-ua-override.js b/browser/extensions/webcompat/injections/js/bug1722955-frontgate.com-ua-override.js index 8c229fd0e518..577a55450ac5 100644 --- a/browser/extensions/webcompat/injections/js/bug1722955-frontgate.com-ua-override.js +++ b/browser/extensions/webcompat/injections/js/bug1722955-frontgate.com-ua-override.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; /* diff --git a/browser/extensions/webcompat/injections/js/bug1724764-window-print.js b/browser/extensions/webcompat/injections/js/bug1724764-window-print.js index e9beaa7db53f..20e9ecf22dff 100644 --- a/browser/extensions/webcompat/injections/js/bug1724764-window-print.js +++ b/browser/extensions/webcompat/injections/js/bug1724764-window-print.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; /** diff --git a/browser/extensions/webcompat/injections/js/bug1724868-news.yahoo.co.jp-ua-override.js b/browser/extensions/webcompat/injections/js/bug1724868-news.yahoo.co.jp-ua-override.js index adaed6043c0f..ab7b76c799e6 100644 --- a/browser/extensions/webcompat/injections/js/bug1724868-news.yahoo.co.jp-ua-override.js +++ b/browser/extensions/webcompat/injections/js/bug1724868-news.yahoo.co.jp-ua-override.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; /** diff --git a/browser/extensions/webcompat/injections/js/bug1731825-office365-email-handling-prompt-autohide.js b/browser/extensions/webcompat/injections/js/bug1731825-office365-email-handling-prompt-autohide.js index 7a6c4e09e3e8..d1823aec745e 100644 --- a/browser/extensions/webcompat/injections/js/bug1731825-office365-email-handling-prompt-autohide.js +++ b/browser/extensions/webcompat/injections/js/bug1731825-office365-email-handling-prompt-autohide.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; /** diff --git a/browser/extensions/webcompat/injections/js/bug1739489-draftjs-beforeinput.js b/browser/extensions/webcompat/injections/js/bug1739489-draftjs-beforeinput.js index 542f224af5ce..5ae55ec6f323 100644 --- a/browser/extensions/webcompat/injections/js/bug1739489-draftjs-beforeinput.js +++ b/browser/extensions/webcompat/injections/js/bug1739489-draftjs-beforeinput.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; /** diff --git a/browser/extensions/webcompat/injections/js/bug1769762-tiktok.com-plugins-shim.js b/browser/extensions/webcompat/injections/js/bug1769762-tiktok.com-plugins-shim.js index f2fd5b15cb73..7383a4e56747 100644 --- a/browser/extensions/webcompat/injections/js/bug1769762-tiktok.com-plugins-shim.js +++ b/browser/extensions/webcompat/injections/js/bug1769762-tiktok.com-plugins-shim.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; /** diff --git a/browser/extensions/webcompat/injections/js/bug1774005-installtrigger-shim.js b/browser/extensions/webcompat/injections/js/bug1774005-installtrigger-shim.js index a3273c8d0191..ca7ef5b6c5f7 100644 --- a/browser/extensions/webcompat/injections/js/bug1774005-installtrigger-shim.js +++ b/browser/extensions/webcompat/injections/js/bug1774005-installtrigger-shim.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; /** diff --git a/browser/extensions/webcompat/injections/js/bug1784302-effectiveType-shim.js b/browser/extensions/webcompat/injections/js/bug1784302-effectiveType-shim.js index 4e4035b88ef2..7bde4a7d8225 100644 --- a/browser/extensions/webcompat/injections/js/bug1784302-effectiveType-shim.js +++ b/browser/extensions/webcompat/injections/js/bug1784302-effectiveType-shim.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; /** diff --git a/browser/extensions/webcompat/injections/js/bug1795490-www.china-airlines.com-undisable-date-fields-on-mobile.js b/browser/extensions/webcompat/injections/js/bug1795490-www.china-airlines.com-undisable-date-fields-on-mobile.js index 7ef0e283929e..f3c0e035137d 100644 --- a/browser/extensions/webcompat/injections/js/bug1795490-www.china-airlines.com-undisable-date-fields-on-mobile.js +++ b/browser/extensions/webcompat/injections/js/bug1795490-www.china-airlines.com-undisable-date-fields-on-mobile.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; /** diff --git a/browser/extensions/webcompat/injections/js/bug1799968-www.samsung.com-appVersion-linux-fix.js b/browser/extensions/webcompat/injections/js/bug1799968-www.samsung.com-appVersion-linux-fix.js index 73e73efbd2ad..941f071e2ca7 100644 --- a/browser/extensions/webcompat/injections/js/bug1799968-www.samsung.com-appVersion-linux-fix.js +++ b/browser/extensions/webcompat/injections/js/bug1799968-www.samsung.com-appVersion-linux-fix.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; /** diff --git a/browser/extensions/webcompat/injections/js/bug1799980-healow.com-infinite-loop-fix.js b/browser/extensions/webcompat/injections/js/bug1799980-healow.com-infinite-loop-fix.js index 6ec963196843..191e97dec113 100644 --- a/browser/extensions/webcompat/injections/js/bug1799980-healow.com-infinite-loop-fix.js +++ b/browser/extensions/webcompat/injections/js/bug1799980-healow.com-infinite-loop-fix.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; /** diff --git a/browser/extensions/webcompat/injections/js/bug1803976-www.youtube.com-performance-now-precision.js b/browser/extensions/webcompat/injections/js/bug1803976-www.youtube.com-performance-now-precision.js deleted file mode 100644 index cca8916de687..000000000000 --- a/browser/extensions/webcompat/injections/js/bug1803976-www.youtube.com-performance-now-precision.js +++ /dev/null @@ -1,35 +0,0 @@ -"use strict"; - -/** - * Bug 1803976 - When attempting to go back on youtube.com, the content remains the same - * - * If consecutive session history entries had history.state.entryTime set to same value, - * back button doesn't work as expected. The entryTime value is coming from performance.now() - * and modifying its return value slightly to make sure two close consecutive calls don't - * get the same result helped with resolving the issue. - */ - -/* globals exportFunction */ - -console.info( - "performance.now precision has been modified for compatibility reasons. See https://bugzilla.mozilla.org/show_bug.cgi?id=1756970 for details." -); - -const origPerf = performance.wrappedJSObject; -const origNow = origPerf.now; - -let counter = 0; -let previousVal = 0; - -Object.defineProperty(window.performance.wrappedJSObject, "now", { - value: exportFunction(function () { - let originalVal = origNow.call(origPerf); - if (originalVal === previousVal) { - originalVal += 0.00000003 * ++counter; - } else { - previousVal = originalVal; - counter = 0; - } - return originalVal; - }, window), -}); diff --git a/browser/extensions/webcompat/injections/js/bug1818818-fastclick-legacy-shim.js b/browser/extensions/webcompat/injections/js/bug1818818-fastclick-legacy-shim.js index 032850a875d9..91f1c1a19a2a 100644 --- a/browser/extensions/webcompat/injections/js/bug1818818-fastclick-legacy-shim.js +++ b/browser/extensions/webcompat/injections/js/bug1818818-fastclick-legacy-shim.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; /** diff --git a/browser/extensions/webcompat/injections/js/bug1819450-cmbchina.com-ua-change.js b/browser/extensions/webcompat/injections/js/bug1819450-cmbchina.com-ua-change.js index 835d57060645..bbe76c465f2a 100644 --- a/browser/extensions/webcompat/injections/js/bug1819450-cmbchina.com-ua-change.js +++ b/browser/extensions/webcompat/injections/js/bug1819450-cmbchina.com-ua-change.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; /** diff --git a/browser/extensions/webcompat/injections/js/bug1819476-axisbank.com-webkitSpeechRecognition-shim.js b/browser/extensions/webcompat/injections/js/bug1819476-axisbank.com-webkitSpeechRecognition-shim.js index 732e963f709b..a72e938e4f1b 100644 --- a/browser/extensions/webcompat/injections/js/bug1819476-axisbank.com-webkitSpeechRecognition-shim.js +++ b/browser/extensions/webcompat/injections/js/bug1819476-axisbank.com-webkitSpeechRecognition-shim.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; /** diff --git a/browser/extensions/webcompat/injections/js/bug1819678-cnki.net-undisable-search-field.js b/browser/extensions/webcompat/injections/js/bug1819678-cnki.net-undisable-search-field.js index d9d2b97872be..c230feb43d08 100644 --- a/browser/extensions/webcompat/injections/js/bug1819678-cnki.net-undisable-search-field.js +++ b/browser/extensions/webcompat/injections/js/bug1819678-cnki.net-undisable-search-field.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; /** diff --git a/browser/extensions/webcompat/injections/js/bug1819678-free4talk.com-window-chrome-shim.js b/browser/extensions/webcompat/injections/js/bug1819678-free4talk.com-window-chrome-shim.js index fe3b1b0a40b1..6e6b5823cb79 100644 --- a/browser/extensions/webcompat/injections/js/bug1819678-free4talk.com-window-chrome-shim.js +++ b/browser/extensions/webcompat/injections/js/bug1819678-free4talk.com-window-chrome-shim.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; /** diff --git a/browser/extensions/webcompat/injections/js/bug1830776-blueshieldca.com-unsupported.js b/browser/extensions/webcompat/injections/js/bug1830776-blueshieldca.com-unsupported.js index 794d2d10dc26..2b1eb11baf76 100644 --- a/browser/extensions/webcompat/injections/js/bug1830776-blueshieldca.com-unsupported.js +++ b/browser/extensions/webcompat/injections/js/bug1830776-blueshieldca.com-unsupported.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; /** diff --git a/browser/extensions/webcompat/injections/js/bug1831007-nintendo-window-OnetrustActiveGroups.js b/browser/extensions/webcompat/injections/js/bug1831007-nintendo-window-OnetrustActiveGroups.js index 9d454af8f890..433c416770de 100644 --- a/browser/extensions/webcompat/injections/js/bug1831007-nintendo-window-OnetrustActiveGroups.js +++ b/browser/extensions/webcompat/injections/js/bug1831007-nintendo-window-OnetrustActiveGroups.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; /** diff --git a/browser/extensions/webcompat/injections/js/bug1836157-thai-masszazs-niceScroll-disable.js b/browser/extensions/webcompat/injections/js/bug1836157-thai-masszazs-niceScroll-disable.js new file mode 100644 index 000000000000..719267748b5b --- /dev/null +++ b/browser/extensions/webcompat/injections/js/bug1836157-thai-masszazs-niceScroll-disable.js @@ -0,0 +1,23 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +/** + * Bug 1836157 - Shim navigator.platform on www.thai-massaszs.net/en/ + * + * This page adds niceScroll on Android, which breaks scrolling and + * zooming on Firefox. Adding ` Mac` to `navigator.platform` makes + * the page avoid adding niceScroll entirely, unbreaking the page. + */ + +var plat = navigator.platform; +if (!plat.includes("Mac")) { + console.info( + "The navigator.platform property has been shimmed to include 'Mac' for compatibility reasons. See https://bugzilla.mozilla.org/show_bug.cgi?id=1836157 for details." + ); + + Object.defineProperty(navigator.__proto__.wrappedJSObject, "platform", { + value: plat + " Mac", + writable: true, + }); +} diff --git a/browser/extensions/webcompat/manifest.json b/browser/extensions/webcompat/manifest.json index b5400d63bf0a..d3fb0c2e8be9 100644 --- a/browser/extensions/webcompat/manifest.json +++ b/browser/extensions/webcompat/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "Web Compatibility Interventions", "description": "Urgent post-release fixes for web compatibility.", - "version": "114.0.1", + "version": "115.0.0", "browser_specific_settings": { "gecko": { "id": "webcompat@mozilla.org", diff --git a/browser/extensions/webcompat/moz.build b/browser/extensions/webcompat/moz.build index 6a2fe5514958..b0626e8b6946 100644 --- a/browser/extensions/webcompat/moz.build +++ b/browser/extensions/webcompat/moz.build @@ -63,7 +63,6 @@ FINAL_TARGET_FILES.features["webcompat@mozilla.org"]["injections"]["css"] += [ "injections/css/bug1784199-entrata-platform-unsupported.css", "injections/css/bug1799994-www.vivobarefoot.com-product-filters-fix.css", "injections/css/bug1800000-www.honda.co.uk-choose-dealer-button-fix.css", - "injections/css/bug1819678-elal.com-unsupported-banner.css", "injections/css/bug1819678-nppes.cms.hhs.gov-unsupported-banner.css", "injections/css/bug1829949-tomshardware.com-scrollbar-width.css", "injections/css/bug1829952-eventer.co.il-button-height.css", @@ -73,6 +72,9 @@ FINAL_TARGET_FILES.features["webcompat@mozilla.org"]["injections"]["css"] += [ "injections/css/bug1830796-copyleaks.com-hide-unsupported.css", "injections/css/bug1830810-interceramic.com-hide-unsupported.css", "injections/css/bug1830813-page.onstove.com-hide-unsupported.css", + "injections/css/bug1836103-autostar-novoross.ru-make-map-taller.css", + "injections/css/bug1836105-cnn.com-fix-blank-pages-when-printing.css", + "injections/css/bug1836177-clalit.co.il-hide-number-input-spinners.css", ] FINAL_TARGET_FILES.features["webcompat@mozilla.org"]["injections"]["js"] += [ @@ -95,7 +97,6 @@ FINAL_TARGET_FILES.features["webcompat@mozilla.org"]["injections"]["js"] += [ "injections/js/bug1795490-www.china-airlines.com-undisable-date-fields-on-mobile.js", "injections/js/bug1799968-www.samsung.com-appVersion-linux-fix.js", "injections/js/bug1799980-healow.com-infinite-loop-fix.js", - "injections/js/bug1803976-www.youtube.com-performance-now-precision.js", "injections/js/bug1818818-fastclick-legacy-shim.js", "injections/js/bug1819450-cmbchina.com-ua-change.js", "injections/js/bug1819476-axisbank.com-webkitSpeechRecognition-shim.js", @@ -103,6 +104,7 @@ FINAL_TARGET_FILES.features["webcompat@mozilla.org"]["injections"]["js"] += [ "injections/js/bug1819678-free4talk.com-window-chrome-shim.js", "injections/js/bug1830776-blueshieldca.com-unsupported.js", "injections/js/bug1831007-nintendo-window-OnetrustActiveGroups.js", + "injections/js/bug1836157-thai-masszazs-niceScroll-disable.js", ] FINAL_TARGET_FILES.features["webcompat@mozilla.org"]["shims"] += [ diff --git a/browser/extensions/webcompat/tests/browser/iframe_test.html b/browser/extensions/webcompat/tests/browser/iframe_test.html index bf86cc3b0b7e..baf1ee9024bb 100644 --- a/browser/extensions/webcompat/tests/browser/iframe_test.html +++ b/browser/extensions/webcompat/tests/browser/iframe_test.html @@ -1,7 +1,7 @@ - + - + diff --git a/browser/extensions/webcompat/tests/browser/shims_test.html b/browser/extensions/webcompat/tests/browser/shims_test.html index 9c0204615ccc..ebe877316d2e 100644 --- a/browser/extensions/webcompat/tests/browser/shims_test.html +++ b/browser/extensions/webcompat/tests/browser/shims_test.html @@ -1,7 +1,7 @@ - + - +
diff --git a/browser/extensions/webcompat/tests/browser/shims_test_2.html b/browser/extensions/webcompat/tests/browser/shims_test_2.html index 38dfc26208da..b080f74f6e78 100644 --- a/browser/extensions/webcompat/tests/browser/shims_test_2.html +++ b/browser/extensions/webcompat/tests/browser/shims_test_2.html @@ -1,7 +1,7 @@ - + - +
diff --git a/browser/extensions/webcompat/tests/browser/shims_test_3.html b/browser/extensions/webcompat/tests/browser/shims_test_3.html index 7f8848d44734..bcb6f1204372 100644 --- a/browser/extensions/webcompat/tests/browser/shims_test_3.html +++ b/browser/extensions/webcompat/tests/browser/shims_test_3.html @@ -1,7 +1,7 @@ - + - +