Reddit Scrape Gfycat Links - bookmarklet

Jan 9th, 2018
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. javascript:var alist='';jQuery('a.thumbnail').each(function(){var cururl=jQuery(this).attr("href");if (cururl.search("gfycat.com/")>0 || cururl.search(".gifv")>0){alist+=jQuery(this).attr("href")+'\n'}});jQuery('body').append('<textarea style="position:fixed;top:0px;right:0px;width:50%;height:50%;z-index:99999;">'+alist+'</textarea>');/* Lists all gfycat and .gifv links on the current reddit page in a text area, when on a reddit page just paste this file into the url bar and press enter  */
RAW Paste Data