Created
January 30, 2015 04:42
-
-
Save hungryzi/2c31af9947e3d0ee40d4 to your computer and use it in GitHub Desktop.
Download All snippet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var links = document.getElementsByTagName('a') | |
var map = [].map | |
var hrefs = map.call(links, function(l) {return l.href}) | |
hrefs = hrefs.filter(function(h){ return h.match('mobi')}) | |
for (var i=100; i < 300; i++) { | |
window.open(hrefs[i]) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment