J
Joseph Scoccimaro
Currently I have a Greasemonkey script that adds a menu to the top of every
page by adding its self to the DOM. I am having a problem when I visit a
page with frames. The menu gets duplicated in every frame. I know the
problem is that the menu gets appended to the body of all the documents in
the different frames. Is there a way around this without having to use
JavaScript to break out of frames? Currently I am using this to insert the
menu div tag into the body tag: theBody.insertBefore(menuDiv,
theBody.childNodes[0]);
If you need to look at my whole script it is at this location:
http://www.prism.gatech.edu/~gte542u/testdetective.user.js
It is too long to post the code on the forum
Joseph Scoccimaro
(e-mail address removed)
page by adding its self to the DOM. I am having a problem when I visit a
page with frames. The menu gets duplicated in every frame. I know the
problem is that the menu gets appended to the body of all the documents in
the different frames. Is there a way around this without having to use
JavaScript to break out of frames? Currently I am using this to insert the
menu div tag into the body tag: theBody.insertBefore(menuDiv,
theBody.childNodes[0]);
If you need to look at my whole script it is at this location:
http://www.prism.gatech.edu/~gte542u/testdetective.user.js
It is too long to post the code on the forum
Joseph Scoccimaro
(e-mail address removed)