You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to greasemon...@googlegroups.com
I have my addon. i have event in DOMContentLoaded that modify html body: event.originalTarget.documentElement.getElementsByTagName('body')[0].innerHTML = res.body; but after i modify "addEventListener" in GM are lost. Then i must add line: GM_BrowserUI.contentLoad(event); do it have other best solution? excuse my poor English.
Anthony Lieuallen
unread,
May 8, 2012, 1:35:40 PM5/8/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
but after i modify "addEventListener" in GM are lost.
That's what happens when you assign to innerHTML -- it destroys all the overwritten nodes (and their event handlers) and replaces them with brand new ones. Don't do that.