E-Hentai Highlighter

Highlighter for E-Hentai (e-hentai.org/exhentai.org). Supports regular expressions.

< Feedback on E-Hentai Highlighter

Question/comment

§
Posted: 08.09.2016

Undefined variable: MutationObserver

I'm using Opera 12, and it does not support this specific functionality. It's specific to IE11, from what I can see.

This breaks functionality and highlighting does not happen on page refresh. I'm solving this by removing the following line:

   if (!EHH.gallery && !EHH.thumbnails)
       EHH.interceptMouseHover();

I'd like this issue to be properly solved or at least an option to disable this functionality so the script won't break on load.

etc 2Author
§
Posted: 09.09.2016

MutationObservers are defined in the DOM4 specification, it's not proprietary to IE11. The problem is that you're using a really obsolete browser that doesn't support them (Opera support was added in version 15 after they moved to WebKit in 2013).

I've added a small fix that should remove that specific bug, but you should consider upgrading your browser if you can.

§
Posted: 11.09.2016

Thank you.

Post reply

Sign in to post a reply.