Name Description Size
1986438-gamma.app-hide-unsupported.js Bug 1986438 - hide browser warning on gamma.app 880
1994704-avlguest.justice.nsw.gov.au-shim-mozRTC-APIs.js Bug 1994704 - avlguest.justice.nsw.gov.au test page does not load The page relies on non-standard mozRTCPeerConnection, which is no longer needed. We can just set it to RTCPeerConnection. 894
1997575-perplexity.ai-covered-fixed-element.js Bug 1997575 - Perplexity toolbar hides behind the keyboard Dynamic toolbar in Firefox for Android is covering the input field in Perplexity. 930
bug196916-mpi.mb.ca-polyfill-getWeekInfo.js Bug 1969165 - Polyfill getWeekInfo for mpi.mb.ca 44269
bug0000000-testbed-js-injection.js globals exportFunction 444
bug1287715-littlealchemy2.com-fix-audio-race-condition.js Bugs 1287715 - Audio intermittently does not work. The site relies on unspecified behavior in Chromium and WebKit where they will defer firing loadedmetadata events until after a listener for the event is attached. We can mimic that behavior here. 1826
bug1448747-fastclick-shim.js Bug 1448747 - Neutralize FastClick The patch is applied on sites using FastClick library to make sure `FastClick.notNeeded` returns `true`. This allows to disable FastClick and fix various breakage caused by the library (mainly non-functioning drop-down lists). 997
bug1457335-histography.io-ua-change.js Bug 1457335 - histography.io - Override UA & navigator.vendor WebCompat issue #1804 - https://webcompat.com/issues/1804 This site is using a strict matching of navigator.userAgent and navigator.vendor to allow access for Safari or Chrome. Here, we set the values appropriately so we get recognized as Chrome. 1176
bug1472075-bankofamerica.com-ua-change.js Bug 1472075 - Build UA override for Bank of America for OSX & Linux WebCompat issue #2787 - https://webcompat.com/issues/2787 BoA is showing a red warning to Linux and macOS users, while accepting Windows users without warning. From our side, there is no difference here and we receive a lot of user complains about the warnings, so we spoof as Firefox on Windows in those cases. 1561
bug1579159-m.tailieu.vn-pdfjs-worker-disable.js m.tailieu.vn - Override PDFJS.disableWorker to be true WebCompat issue #39057 - https://webcompat.com/issues/39057 Custom viewer built with PDF.js is not working in Firefox for Android Disabling worker to match Chrome behavior fixes the issue 956
bug1724868-news.yahoo.co.jp-ua-override.js Bug 1724868 - news.yahoo.co.jp - Override UA on Android and Linux WebCompat issue #82605 - https://webcompat.com/issues/82605 Yahoo Japan news doesn't allow playing video in Firefox on Android or Linux as those are not in their support matrix. They check UA override twice and display different UI with the same error. Changing the UA to Chrome via content script allows playing the videos. 888
bug1739489-draftjs-beforeinput.js Bug 1739489 - Entering an emoji using the MacOS IME "crashes" Draft.js editors. 1205
bug1769762-tiktok.com-plugins-shim.js Bug 1769762 - Empty out navigator.plugins WebCompat issue #103612 - https://webcompat.com/issues/103612 Certain features of the site are breaking if navigator.plugins array is not empty: 1. "Likes" on the comments are not saved 2. Can't reply to other people's comments 3. "Likes" on the videos are not saved 4. Can't follow an account (after refreshing "Follow" button is visible again) (note that the first 2 are still broken if you open devtools even with this intervention) 1303
bug1774005-installtrigger-shim.js Bug 1774005 - Generic window.InstallTrigger shim This interventions shims window.InstallTrigger to a string, which evaluates as `true` in web developers browser sniffing code. This intervention will be applied to multiple domains, see bug 1774005 for more information. 806
bug1799968-www.samsung.com-appVersion-linux-fix.js Bug 1799968 - Build site patch for www.samsung.com on Linux Bug 1860417 - and Android WebCompat issue #108993 - https://webcompat.com/issues/108993 Samsung's Watch pages try to detect the OS via navigator.appVersion, but fail with Linux and Android because they expect it to contain the literal string "linux", and their JS breaks. As such this site patch sets appVersion to "5.0 (Linux)", and is only meant to be applied on Linux or Android. 1122
bug1799980-healow.com-infinite-loop-fix.js Bug 1799980 - Healow gets stuck in an infinite loop while pages load This patch keeps Healow's localization scripts from getting stuck in an infinite loop while their pages are loading. This happens because they use synchronous XMLHttpRequests to fetch a JSON file with their localized text on the first call to their i18n function, and then force subsequent calls to wait for it by waiting in an infinite loop. But since they're in an infinite loop, the code after the syncXHR will never be able to run, so this ultimately triggers a slow script warning. We can improve this by just preventing the infinite loop from happening, though since they disable caching on their JSON files it means that more XHRs may happen. But since those files are small, this seems like a reasonable compromise until they migrate to a better i18n solution. See https://bugzilla.mozilla.org/show_bug.cgi?id=1799980 for details. 1418
bug1815733-outlook365-clipboard-read-noop.js Bug 1815733 - Annoying "Paste" overlay when trying to paste As per https://bugzilla.mozilla.org/show_bug.cgi?id=1815733#c13, Outlook is calling clipboard.read() again when they shouldn't. This is causing a visible "Paste" prompt for the user, which is stealing focus and can be annoying. 956
bug1818818-fastclick-legacy-shim.js Bug 1818818 - Neutralize FastClick The patch is applied on sites using older version of FastClick library. This allows to disable FastClick and fix various breakage caused by the library. 603
bug1819450-cmbchina.com-ua-change.js Bug 1819450 - cmbchina.com - Override UA The site is using UA detection to redirect to m.cmbchina.com (mobile version of the site). Adding `SAMSUNG` allows to bypass the detection of mobile browser. 905
bug1819678-free4talk.com-window-chrome-shim.js Bug 1827678 - UA spoof for www.free4talk.com This site is checking for window.chrome, so let's spoof that. 593
bug1831007-nintendo-window-OnetrustActiveGroups.js Bug 1831007 - Shim window.OnetrustActiveGroups for Nintendo sites Nintendo relies on `window.OnetrustActiveGroups` being defined. If it's not, users may have intermittent issues signing into their account, as they're then trying to call `.split()` on `undefined`. This intervention sets a default value (an empty string), but still allows the value to be overwritten at any time. 891
bug1841730-www.korg.com-fix-broken-page-loads.js Bug 1841730 - Fix www.korg.com support download page loads on Windows. They are using a library named PACE, which has a timing bug with Firefox which breaks page loads (due to a stuck progress indicator) on Windows. This is the fix suggested at https://github.com/CodeByZach/pace/issues/510 638
bug1842437-www.youtube.com-performance-now-precision.js Bug 1842437 - 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. 1223
bug1846742-microsoft.com-search-key-fix.js www.microsoft.com - Pressing enter on search suggestions does nothing When pressing enter on a search suggestion, nothing happens in Firefox due to key-event interop issues. We listen for enter keypresses and click the element as a work-around. 850
bug1847971-ebay.com-barcode-scanner.js Bug 1847971 - ebay.com listings page eBay does not show the barcode scanner option on Firefox on Android, though it seems to work. It uses a server-side check to tell itself to not enable the scanner feature, so rather than pretend to be Chrome entirely, we carefully change `barcodeEnabled` from `false` to `true`. 1542
bug1850998-chaturbate.com.js Bug 1850998 - going "fullscreen" does not hide the address bar The site avoids calling requestFullScreen on Firefox. We can address this by pretending to not be Firefox for that specific check. 849
bug1855014-eksiseyler.com.js eksiseyler.com - Set window.loggingEnabled = false WebCompat issue #77221 - https://webcompat.com/issues/77221 A scripting error on the site causes images to not load unless window.loggingEnabled = false 659
bug1859617-installtrigger-removal-shim.js Bug 1859617 - Generic window.InstallTrigger removal shim This interventions shims window.InstallTrigger to undefine it. 657
bug1878024-g1.globo.com-fix-account-icon.js Bug 1878024 - g1.globo.com squashed account icons Account icons appear to be squashed due to bug 1700474 with flex-sizing. This works around the issue by adding CSS to the relevant web component. 1206
bug1889326-office365-email-handling-prompt-autohide.js Bug 1889326 - Office 365 email handling prompt autohide This site patch prevents the notification bar on Office 365 apps from popping up on each page-load, offering to handle email with Outlook. 1155
bug1889505-bankmandiri.co.id-window.chrome.js bankmandiri.co.id - Define window.chrome to an empty object Bug #1889505 - https://bugzilla.mozilla.org/show_bug.cgi?id=1889505 WebCompat issue #67924 - https://webcompat.com/issues/67924 661
bug1895997-e.seb.lt-prevent-unsupported-warning.js globals exportFunction 950
bug1898929-app.sessionlinkpro.com-spoof-user-agent.js Bug 1898929 - UA spoof for app.sessionlinkpro.com This site is checking for Chrome in navigator.userAgent and for window.chrome, so let's spoof those. 932
bug1898946-transcrib.io-chrome-shim.js Bug 1898946 - UA spoof for transcrib.io This checks navigator.userAgent and navigator.vendor to detect Chrome, so let's set appropriate values to also look like Chrome. 1072
bug1898951-hexagame.io-prevent-unsupported-alert.js globals exportFunction 813
bug1898952-digits.t-mobile.com.js Bug 1898952 - Spoof navigator.userAgentData for digits.t-mobile.com Webcompat issue #119767 - https://webcompat.com/issues/119767 The site blocks Firefox and Safari, reading info from userAgentData. 1706
bug1898996-oculus.com-chrome-shims.js Bug 1898996 - UA spoof for oculus.com/cast and horizon.meta.com/casting This site is checking for window.chrome and navigator.vendor, so let's spoof those. 971
bug1901780-disable-legacy-mutation-events.js Bugs 1901780 - Disable legacy DOM Mutation Events to prevent performance issues. 1180
bug1902379-adl.edu.tw-hide-unsupported-popup.js Bug 1902379 - UA spoof for adl.edu.tw This site is checking for Chrome in navigator.userAgent and vendor, so let's spoof those. 1014
bug1902399-recochoku.jp-hide-unsupported-browser-warning.js Bug 1902399 - hide browser warning on recochoku.jp 940
bug1902406-sp.hi.co.kr-window-chrome-shim.js Bug 1902406 - UA spoof for sp.hi.co.kr This site is checking for window.chrome, so let's spoof that. 697
bug1902407-www.sigadoc.mt.gov.br-user-agent-spoof.js Bug 1902407 - UA spoof for www.sigadoc.mt.gov.br This site is checking for Chrome in navigator.userAgent and window.chrome, so let's spoof those. 929
bug1902416-www.acionafacil.com.br-prevent-unsupported-alert.js globals exportFunction 812
bug1902419-www.jamsune.com-prevent-unsupported-alert.js globals exportFunction 752
bug1903480-ace7.acecombat.jp-slow-down-scrolling.js Bug 1903480 - Ace Combat 7's site wheel-scrolls ridiculously quickly. The site is intentionally scaling the value of wheel event deltaY by 30 on Firefox. We can undo that here. 924
bug1904952-idserver.servizicie.interno.gov.it-spoof-as-chrome.js Bug 1904952 - UA spoof for idserver.servizicie.interno.gov.it This site is checking for Chrome in navigator.userAgent, navigatorvendor and window.chrome, so let's spoof those. 1147
bug1905069-one.geekie.com.br-chrome-shims.js Bug 1905069 - UA spoof for one.geekie.com.br This site is checking for window.chrome and navigator.vendor, so let's spoof those. 944
bug1911423-app.powerbi.com-emulate-mousewheel-events.js globals exportFunction 1188
bug1913599-shim-createencodedstreams.js Bug 1913599 - Sites that depend on legacy createEncodedStreams() Several websites that offer end-to-end encrypted communication in Chrome fail to work in Firefox, either ghosting the button that offers this feature or erroring with a message like "Voice/Video calling is not supported on this browser". These webpages rely on the older Chrome-only createEncodedStreams() API instead of the standard RTCRtpScriptTransform API now available in all browsers. The following shims the former using the latter. Note: this shim has inherent performance limitations being on main thread. Websites are encouraged to upgrade to the standard worker-based API directly for optimal performance in Firefox. 3625
bug1919263-nbcsports.com-getCurrentUser-script-error-fix.js Bug 1919263 - nbcsports.com videos and photos are not displayed The site loads a script, mparticle.js, using a script tag with async=true, but this can cause it to load too late for other scripts on the page. We can prevent this by changing async to false when they try to load mparticle.js. 1056
bug1922498-www.ilgeniodellapizza.com-fix-broken-scrolling.js Bug 1922498 - scrolling is broken on www.ilgeniodellapizza.com The site is expecting wheelDeltaY to have the opposite sign, breaking scrolling. We can override the value to flip the sign and scale down the value. 967
bug1927121-southerndevilhd.com-shim-WebkitMutationObserver.js Bug 1927121 - southerndevilhd.com product thumbnails do not appear The page relies on the non-standard WebKitMutationObserver, which we can simply alias to MutationObserver. 696
bug1927984-modules.sms-timing.com-chrome-shim.js Bug 1927984 - UA spoof for modules.sms-timing.com This site is checking for window.chrome, so let's spoof that. 708
bug1928941-oasis.decart.ai-window-chrome-shim.js Bug 1928941 - UA spoof for oasis.decart.ai Bug 1987351 - UA spoof for mirage.decart.ai These sites are checking for window.chrome, so let's spoof that. 716
bug1928954-publix.com-prevent-nav-on-javascript-url-click.js 634
bug1930440-online.singaporepools.com-prevent-unsupported-alert.js globals exportFunction 1365
bug1934908-www.cbsnews.com-ua-override.js Bug 1934908 - www.cbsnews.com - Override UA on Android to use JS HLS player Spoofing as Chrome forces the site’s HLS.js player. Native HLS is controlled by media.hls.enabled, which defaults to false. When false, video doesn't play back at all. When true, video will play back for a minute or two before stopping. With this override video playback works consistently regardless of how media.hls.enabled is configured. 1153
bug1939248-rosasthai.com-load-event-helper.js Bug 1939248 - Load event listener issue on rosasthai.com WebCompat issue #145642 - https://webcompat.com/issues/145642 The site assumes that its code will run before the window load event, and so their buttons will not function properly if that is untrue. We can call those event listeners immediately as they try to add them, if the document readyState is already "complete", which fixes this bug. 1451
bug1943898-www.capital.gr-suppress-constant-reloading.js www.capital.gr - Reloading the page results in endless reloading loops. Bug #1943898 - https://bugzilla.mozilla.org/show_bug.cgi?id=1943898 WebCompat issue #74073 - https://webcompat.com/issues/74073 The site does not anticipate Firefox's form-filling behavior on page reloads, which causes it to accidentally trigger endless reload loops. We fix this by clearing the form element as they check it the first time. 1206
bug1945019-order.mealkeyway.com-prevent-unsupported-message.js globals exportFunction 932
bug1950282-formula1.com-platform-linux-fix.js Bug 1950282 - navigator.platform Windowss override for Formula 1 TV on Linux Formula1 TV is doing some kind of check for Android devices which is causing it to treat Firefox on Linux as an Android device, and blocking it. Overriding navigator.platform to Win64 on Linux works around this issue. 961
bug1956165-www.youtube.com-picture-in-picture-fix.js Bug 1956165 - Fix picture-in-picture mode on Mobile YouTube YouTube does not play well with our picture in picture implementation, and effectively cancels it. We can work around this conflict with this site patch. 2607
bug1959598-www.signal-tech.com-round-pageYOffset.js Bug 1959598 - new products do not load in while scrolling at certain zoom values The page's logic seems to rely on integer values being returned by window.pageYOffset. 701
bug1963270-app.kosmi.io-unprefix-mozCaptureStream.js Bug 1963270 - app.kosmi.io - missing "local file" media selection option The site does not show its "local file" option when selecting media unless the captureStream API is available, and does not check for the prefixed version (which it seems to work with, so we unprefix it here). 638
bug1970810-www.camper-van-week-end.fr-appVersion-linux-fix.js Bug 1970810 - camper-van-week-end.fr/chantilly does not load on Linux WebCompat issue #155547 - https://webcompat.com/issues/155547 The page expects navigator.appVersion to contain the literal string "linux" on Linux, and their JS otherwise breaks. As such this site patch sets appVersion to "5.0 (Linux)", and is only meant to be applied on Linux. 1039
bug1975651-comic.k-manga.jp-ua-override.js Bug 1975651 - User agent override for comic.k-manga.jp 876
bug1983538-incontrol.landrover.com-alias-WebKitMutationObserver.js Bug 1989241 - incontrol.landrover.com dropdowns do not work The page relies on the non-standard WebKitMutationObserver, which we can simply alias to MutationObserver. 689
bug1993517-onlinebank.resursbank.se-autoclose-bankid-tabs.js globals exportFunction 1102
bug1994562-shim-mstp-mstg-on-window.js Bug 1994562 - Sites that depend on legacy (main-thread) MediaStreamTrackProcessor or MediaStreamTrackGenerator Several websites that offer real-time media processing in Chrome fail to work in Firefox, either ghosting the button that offers this feature or erroring with a message like "Voice/Video processing is not supported in this browser". These webpages rely on the older Chrome-only MSTP or MSTG APIs on window instead of the standard MSTP and VTG (VideoTrackGenerator) implemented in Safari (and soon Firefox). The following shims the former APIs using existing technology on window (canvas for video and AudioWorklets for audio). Note: this shim has inherent performance limitations being on main thread. Websites are encouraged to upgrade to the standard worker-based APIs directly for optimal performance in Firefox. 11699
bug1997687-sakti.kemenkeu.go.id-ZoneAwarePromise-fix.js sakti.kemenkeu.go.id - page never loads The page has a race condition while loading where it redefines window.Promise before Zone.js loads, triggering a ZoneAwarePromise exception while loading. We can prevent this exception from being thrown so the page loads. 1287