Closed mjpieters closed 6 years ago
Done. Unfortunately, it doesn't work reliably (or, as far as I can tell, at all) on Chrome + Tampermonkey due to a race condition in TM's script loading. Basically, by the time TM gets around to running SOUP, the code that calls .curCSS()
has already run. But it works fine on Firefox + Violentmonkey and on Chrome as a stand-alone extension, so I'm calling it good enough. :P
Looks like setting Injection Mode to "Instant" in Tampermonkey prefs (under Experimental) is also enough to make this work.
See https://meta.stackoverflow.com/questions/362554/why-are-the-chat-faq-in-almost-identical-links-different; the page tries to use
$.curCSS()
which is gone from jQuery.Could S.O.U.P. provide a shim; (such as the one provided here)?