Last active
October 28, 2017 03:01
-
-
Save botmtl/f390e6b3d26cdc448bc0bb94f6556972 to your computer and use it in GitHub Desktop.
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
// ==UserScript== | |
// @author botmtl | |
// @namespace https://github.com/botmtl | |
// @name Auto-Copy-Links EbookHunter | |
// @version 0.01 | |
// @description Auto-Copy-Links EbookHunter | |
// @icon https://www.ebookhunter.net/wp-content/uploads/2017/06/logo2.png | |
// @match https://www.ebookhunter.net/* | |
// @grant GM_setClipboard | |
// @run-at document-end | |
// ==/UserScript== | |
var postlinks = document.getElementsByClassName("post-title"); | |
var t=""; | |
for(var i=0;i<postlinks.length;i++){ t+= postlinks[i].innerHTML + "\n "; } | |
GM_setClipboard(t); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment