I'm creating a firefox extension and I want to get the HTML page elements
using javascript but the document.getElementsByTagName('*')
is always giving me an xul objects array.
How can I get the HTML objects array ?
If you want to access the current tab's content from an extension then you need to use content.document.getElementsByTagName('*')
etc.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With