halirutan / SE-Editor-Buttons

7 stars 7 forks source link

SE-Editor-Buttons stopped working in Firefox (and Chrome) #13

Open domen13 opened 4 months ago

domen13 commented 4 months ago

A few days ago, the userscript stopped working in Mozilla Firefox (128.0) + TamperMonkey (5.1.1). I've managed to locate the problem in the livequery library, which seems to not be working anymore. Therefore, the code for insertion into editor (m_toolbar.user.js:155) never gets called.

I suspect this might be due to a recent change in TamperMonkey in version 5.1.1, which mentions:

Removed use of deprecated DOMNodeInserted and MutationEvent events.

Since livequery library is used for detecting changes in DOM structure, this change sounds like a plausible explanation.

If I use a different livequery library, the script works again.

Unrelated, another user confirmed that the script stopped working also in Chrome.