Better Pixiv Translation

By daisetsu Last update Nov 6, 2009 — Installed 2,839 times.

EventListener slowdown with my script

in
Subscribe to EventListener slowdown with my script 1 post, 1 voice

Mango Scriptwright
FirefoxWindows

The EventListener at the bottom of the script causes great slowdowns/browser lockups when used with my Endless Pixiv Pages script. Just removing that one line fixed things, though I also surrounded the update checker in a if (parent.location.href == this.location.href) block so that it wouldn't trigger every time my script loaded a new iframe.

Is that EventListener really needed? I can't think of any time Pixiv itself decides to append new nodes...

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel