Accessing links in the page
The links in a document can be accessed using the command doc.links[i].href
where
doc was the document element of the main page. This can be obtained from the event object which is passed to the callback function.
where
doc was the document element of the main page. This can be obtained from the event object which is passed to the callback function.
1
person likes this idea
I like this idea!
Tell me when this idea gets some attention.
The more people who like this idea, the more it gets noticed.
The more people who like this idea, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?you can also access the document element for the content page using:
"window.content.document"
so, to get the links...
var links = window.content.document.getElementsByTagName("a");
-
Inappropriate?thanks for the tips!
Loading Profile...



EMPLOYEE