Last active
September 29, 2020 23:50
-
-
Save wade-tattersall/39044f0cdbe3aefeedaefaac2b71d8f2 to your computer and use it in GitHub Desktop.
A regression in Firefox 81 breaks Blackboard Learn. This userscript forces Learn to use a polyfill instead of the broken API.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Ultra IntersectionObserver Fix | |
// @version 1 | |
// @grant none | |
// @match https://*/ultra/* | |
// @run-at document-start | |
// ==/UserScript== | |
delete unsafeWindow.IntersectionObserver; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The @match is very broad, so it'll work on all Learn instances that are running Ultra. It might inadvertently affect non-Learn pages, though.