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
Related Q & A:
- How do i create a Yahoo web page?Best solution by iwebhostingplans.com
- How do I make a Yahoo 360 page?Best solution by Yahoo! Answers
- Whats a yahoo 360 page?Best solution by Yahoo! Answers
- What is a yahoo finance portfolio for?Best solution by Yahoo! Answers
- Can I contest the deletion of a message I posted on a Yahoo finance message board?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
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.