One Onion

2013/03/13

for when Google Maps' "Show for all steps:" does not have a "Maps" option

...which sometimes happens, can't say why. Hit F12 in Chrome or FF
probably too to bring up the web tools, and click Console. Then paste
this line and hit Enter to click all the Maps links on every step all
at once (it may take a few seconds to load):

var a=document.getElementsByClassName('step-tab-text');for(var
i=0;i<a.length;i++) {console.log(a[i].childNodes[3].click())}

That's it!

2 Comments:

At 24 September 2013 10:28, Anonymous Anonymous said...

Fantastic solution. You are a genius! thanks!!

 
At 24 September 2013 10:53, Blogger Kevin James Field said...

Happy to have helped someone! =)

 

Post a Comment

<< Home