Advertisement
LooseStool

SOON, 2 bookmarklets: read.nextpage, read.expandall

Dec 27th, 2018
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. COMING SOON, 2 bookmarklets: 1. read.nextpage(), 2. read.expandall()
  2.  
  3. Initially building this for my own benefit, so I can do a "Save As .MHT" to ensure I #ArchiveLocally before stuff disappears -- after first clicking these bookmarklets while on https://gab.com/bookmarks (my "Saved Posts").
  4.  
  5. Cleaning it up this week and sharing it here, publicly, for all of #GABfam -- future will adapt it to look at current URL and do similar for Twitter and for YouTube comment threads and even for Disqus comment threads (not sure if possible, because IFRAME).
  6.  
  7. 1. will auto-click (with delay, to allow for loading of contents) the [Load more] link at the bottom of the page
  8.  
  9. 2. will auto-click everything else, so all comments/replies are expanded and visible on-screen, now ready for the "Save As .MHT"!
  10.  
  11. For the more technically adept, the default values of the function calls can be overwritten via a direct call inside the debugger console:
  12. read( {key1: value1, keyN: valueN} )
  13. which of course could be pasted into a new bookmarklet that you can create with your own preferred custom values for single-click convenience of your own needs.
  14.  
  15. https://gab.com/LooseStool (27Dec2018 -- I swear I am going to finish this soon!)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement