| add_chrome_to_useragent.js |
|
610 |
- |
| add_samsung_to_useragent.js |
|
598 |
- |
| 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.
|
1932 |
- |
| 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.
|
1524 |
- |
| 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`.
|
1540 |
- |
| 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.
|
966 |
- |
| 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
|
685 |
- |
| 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.
|
1295 |
- |
| bug1902507-nofrozenicecandidatepairstats.js |
Bug 1902507 - Hide the "frozen" RTCStatsIceCandidatePairState value.
riverside.com appears to explicitly fail their WebRTC efforts if
they encounter this standard value in stats.
|
1090 |
- |
| bug1902507-ssrcmsid.js |
Bug 1902507 - add to SDP a=ssrc lines with msid.
riverside.com appears to explicitly fail its send() function if
it doesn't find msid in the a=ssrc line in the local description SDP.
|
4193 |
- |
| bug1902520-keisan.nta.go.jp-spoof-windows11.js |
|
748 |
- |
| 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.
|
3350 |
- |
| 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.
|
1329 |
- |
| 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.
|
2716 |
- |
| 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.
|
10032 |
- |
| bug1999198-anime-bit.ru-fix-broken-scrolling.js |
Bug 1999198 - Fix broken scrolling on anime-bit.ru
The site uses quirks mode, and due to a related interop issue their page
will not load more content as the page is scrolled down. This fixes it.
|
1185 |
- |
| bug2034355-rok.lilith.com-prevent-blank-page.js |
Bug 2034355 - Page appears blank, like it hasn't loaded
Something about their Firefox-specific code is not working,
but luckily we can call their onresize function on load to
show the content, which behaves simliarly to their Chrome code.
|
839 |
- |
| bug2038180-shim-keyboard-lock.js |
|
3997 |
- |
| clear_navigator_plugins.js |
|
650 |
- |
| deduplicate_registerProtocolHandler.js |
|
862 |
- |
| define_InstallTrigger.js |
|
428 |
- |
| define_minimal_window_chrome.js |
|
346 |
- |
| define_MozAppearance.js |
|
606 |
- |
| define_mozRTC_APIs.js |
|
626 |
- |
| define_SpeechRecognition.js |
|
392 |
- |
| define_TouchEvent.js |
|
381 |
- |
| define_userAgentData.js |
|
2018 |
- |
| define_WebKitMutationObserver.js |
|
416 |
- |
| define_window_chrome.js |
|
2276 |
- |
| disable_FastClick.js |
Bug 1448747 - Neutralize FastClick
This disables FastClick by making `FastClick.notNeeded` return `true`,
to fix various breakage on sites like drop-downs not working.
|
1048 |
- |
| disable_legacy_FastClick.js |
Bug 1818818 - Neutralize legacy FastClick
This disables older versions of the FastClick library to fix
various breakage on sites like drop-downs not working.
|
903 |
- |
| disable_navigator_clipboard_read.js |
|
425 |
- |
| disable_PACE_eventLag.js |
|
386 |
- |
| disable_PDFJS_workers.js |
|
570 |
- |
| disable_resizeMode_in_GDM.js |
|
1413 |
- |
| emulate_MouseWheel_events.js |
|
807 |
- |
| hide_alerts.js |
globals browser, exportFunction |
1552 |
- |
| hide_messages.js |
globals browser |
1445 |
- |
| increase_performance_now_precision.js |
|
802 |
- |
| inject_css.js |
globals browser |
271 |
- |
| load_mParticle_synchronously.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.
|
1112 |
- |
| log_console_message.js |
globals browser |
819 |
- |
| modify_meta_viewport.js |
globals browser |
2234 |
- |
| predefine_OnetrustActiveGroups.js |
|
410 |
- |
| remove_firefox_from_useragent.js |
|
615 |
- |
| round_pageYOffset.js |
|
538 |
- |
| run_late_window_load_listeners.js |
|
886 |
- |
| slow_down_wheel_events.js |
|
915 |
- |
| spoof_as_windows.js |
|
268 |
- |
| support_nonstandard_timezones.js |
|
1809 |
- |
| undefine_firefox_properties.js |
|
872 |
- |
| undefine_InstallTrigger.js |
|
387 |
- |
| unprefix-mozCaptureStream.js |
|
474 |
- |
| unprefix_mozCaptureStream.js |
|
474 |
- |
| use_chrome_appVersion.js |
|
697 |
- |
| use_chrome_useragent.js |
|
1638 |
- |
| use_chrome_vendor.js |
|
552 |
- |
| use_linux_appVersion.js |
|
561 |
- |
| use_win64_platform.js |
|
554 |
- |