Recent posts by Fat Knowledge

Subscribe to Recent posts by Fat Knowledge 3 posts found

Oct 4, 2007
Fat Knowledge 3 posts

Topic: Script development / Searching html text

Thanks!

 
Oct 4, 2007
Fat Knowledge 3 posts

Topic: Script development / Searching html text

I want to write a script that checks whether the phrase "single page" is present in the currently loaded .html page. I don't know how to get access to the entire html page text to do that check. Is there a property of document object that gives you access? Or is there some other way?

If I were using GM_xmlhttpRequest, responseDetails.responseText would be what I am looking for. But, I don't know how to get the equivalent value for the current .html page I have loaded without having to deal with all the document elements.

Can anyone score me a clue?

 
Feb 13, 2007
Fat Knowledge 3 posts

Topic: Userscripts.org discussion / Welcome to the new site!

I see no way to add tags to my script. Am I missing something, are tags going away, or should there be an option to add them?