Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Go to http://mrcoles.com/bookmarklet/ and put the below script, LESS this comment, into the box. Don't check the option to include jQuery. The site will then give you a button ("this link") you can drag into your browser's UI and use anytime. When activated, it will hit all available Like buttons.
- var nodes = document.evaluate(".//a[not(@class) or @class!='active']/i[@class='ion-chevron-up']", document, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);
- for (var i = 0; i < nodes.snapshotLength; i++)
- {
- if (nodes.snapshotItem(i).style.display != "none")
- {
- nodes.snapshotItem(i).click();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment