XUL: window._content

It took me a while and a lot of asking on the IRC channel (#xul), but I finally found out how to get access to the current web site shown by the browser. I had to digg into some other extensions and I found it. I just wanted to manipulate the DOM of the currently shown web site a bit (nothing greasemonkey like, just tiny steps!).
window._content is your friend!

1 Comment »

  1. Neil Deakin said,

    February 28, 2006 at 11:44 pm

    Just use window.content, the underscore version is deprecated.

RSS feed for comments on this post · TrackBack URL

Leave a Comment