Results 1 to 3 of 3
Jan 4, 2012, 01:52 #1
- Join Date
- Jan 2012
- 0 Post(s)
- 0 Thread(s)
I wonder how can I find a specific text in the source of a web page.
"color = document.body.style.background"
but I need to find text that is not part of the DOM Objects.
To be more specific, when I check news on a specific website like this: http://www.bbc.co.uk/news/technology-16382648
I need to make a script (a bookmarklet or a greasemonkey script) to extract the date, and therefore I have to search for the text "<span class="date">"
In other words: how can I make a script or a Firefox addon to "grep" for a certain text on a web site?
I am using Firefox browser, so for me it's enough a solution that only works in that browser.