Created
April 14, 2017 03:51
-
-
Save edfuh/b2ce93143ce73503af2c795f55667ea9 to your computer and use it in GitHub Desktop.
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
$('iframe:not(:visible)').remove(); | |
urls = ['https://edfuh.com', 'https://google.com']; i = 0; | |
[].slice.call(frames).forEach(function(f){ console.log(f.location.assign(urls[i++])) }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment