What is Yahoo Finance?

What is the JavaScript code one would need for a bookmarklet that would automatically click "more news" 10 or 20 times on a Yahoo! Finance page with multiple stock quotes?

  • e.g. http://finance.yahoo.com/quotes/AAPL,GOOG,FB Whether it was 10 or 20, it would be cool to see a bookmark where the number could be easily modifiable.

  • Answer:

    javascript:{for(i=0;i<10;i++){setTimeout("YUI().use('node-event-simulate', function(Y) {Y.one('#yfi-recent-news .more a').simulate('click');});",1000*i);}} replace i<10 with the number of times you want

Lan Hikari at Quora Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.