I maintain this very simple extension that does its job by listening on mouseup
events. The event handler for that is installed here in the content script.
Now a user has reported that the extension does not work on local htmlz pages/archives … never heard about these before. (The extensions works just fine on local regular html pages, so the “local” is not the problem.)
The problem seems to be that the call to addEventListener
on these htmlz pages is just … ignored. After the initialization, no mouseup
events being fired at all on the htmlz page, verified in the developer pane. No noteworthy errors or whatever are reported in the browser console.
A fix seems to be delay the call to addEventListener
by 50ms, as c seen here. Which seems odd. Any opinions on that?