Created
August 4, 2022 21:18
-
-
Save yanknudtskov/76f2652f6ff62781e06a62656878bd0b 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
var urls = []; | |
var selector = "span.run > a"; | |
var base_url = "https://baseurl.com"; | |
jQuery( selector ).each( function() { | |
urls.push(base_url + jQuery(this).attr('href')); | |
}); | |
for (let i = 0; i < urls.length; i++) { | |
window.open(urls[i]); | |
}; | |
location.reload(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment