Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Click a webpage's Next button via Javascript' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Click a webpage's Next button via Javascript
Authored by: dolphy on Sep 20, '06 09:13:30AM

You say "edit its address (contextual menu action), and paste the above Javascript into its address field. When you leave the address field, the formatting will disappear, and everything will be on one line."

I've tried this in Firefox (pasting the script into the Location window) but the only line that appears is the first. I get a whole list of errors in the Javascript console after clicking on the button thereafter.

Am I totally misunderstanding this tip? Please advise.

---
dolphy



[ Reply to This | # ]
Click a webpage's Next button via Javascript
Authored by: dolphy on Sep 20, '06 11:30:02AM

I can confirm that the hint works for Safari & does not work for Firefox. I can't speak for other browsers, but the applicability of this hint should have been made clear from the outset.

That said, it's a nice addition in Safari...

---
dolphy



[ Reply to This | # ]
Click a webpage's Next button via Javascript
Authored by: jamagic on Sep 20, '06 01:46:50PM
This hint still works in Firefox. You just have to manually remove any line/paragraph breaks. Check out this link:

http://www.tutorialized.com/tutorial/Using-Javascript-and-Bookmarks-to-create-custom-searches-on-your-toolbar/14530

"Unfortunately, bookmark links alow only one line of code, and in order to properly let the bookmark know we want to execute javascript, we have to put the javascript: protocol infront of the code. In order to get it into one single line, simply hit delete at the end of every line (without erasing any code). In order to let it know we are executing javascript, make sure you put the javascript: protocol before the entire line."

[ Reply to This | # ]