soulweaver91 / anidb-user-scripts

User scripts to extend the interface of AniDB, an extensive anime database and community
MIT License
6 stars 1 forks source link

All scripts: fix WebExtensions breaking change nonsense #10

Closed soulweaver91 closed 6 years ago

soulweaver91 commented 6 years ago

The document's window object isn't directly available anymore in Greasemonkey 4 even with @grant none and manually picking it up with wrappedJSObject ends up again with jQuery breaking down on each(). Either find a proper way to fix it or start shipping a separate jQuery dependency with every single script.

Sigh.

soulweaver91 commented 6 years ago

Using the AniDB object seems to be similarly broken. If fixing the graph script means I need to bring in my copy of Highcharts, too, and be on watch for any other possible modifications under the hood, then this just becomes ridiculous.

I don't have the patience to deal with this shit tonight, so I'll get back to it when I can, if I can fix it neatly.

Meanwhile, these are your options:

soulweaver91 commented 6 years ago

Won't fix; Tampermonkey works fine with these and is the better extension in the WebExt world anyway.