New feature and optimization

in
Subscribe to New feature and optimization 2 posts, 2 voices



JoeSimmons Scriptwright

Hey. Like the script, very convenient. I added a link to 'new script' on the mainpage too, plus optimized the script. You should always edit the element before you add it to the page, and ideally never use innerHTML.
http://pastebin.com/f6a21d7b

 
BlindWanderer Script's Author

Yeah I don't like to use innerHTML either but sometimes it's just easier than generating the nodes. I rarely use it.

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