Created
October 22, 2013 00:27
-
-
Save lleger/7093266 to your computer and use it in GitHub Desktop.
Open Harvest invoices in new tabs
This file contains 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
// Pop this into the console to open Harvest invoices in new tabs | |
var invoices = document.getElementsByClassName('clickable-on'); | |
for(i = 0; i < invoices.length; i++) { | |
window.open(invoices[i].getAttribute('data-clickable-href'), '_blank'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment