add: annas-archive userscript
This commit is contained in:
1 parent
b145e60977
commit
e4506aafd0
1 file changed
+15
@@ -0,0 +1,15 @@
|
|||||||
|
// ==UserScript==
|
||||||
|
// @name annas-archive auto-downloader
|
||||||
|
// @namespace Violentmonkey Scripts
|
||||||
|
// @match http*://annas-archive.tld/slow_download/*
|
||||||
|
// @grant none
|
||||||
|
// @version 1.0
|
||||||
|
// @author eneller
|
||||||
|
// ==/UserScript==
|
||||||
|
console.log('UserScript: Looking for Download Button');
|
||||||
|
downloadButton = document.querySelector('a.font-bold');
|
||||||
|
if (downloadButton!= null){
|
||||||
|
downloadButton.click();
|
||||||
|
console.log('found: '+downloadButton.href);
|
||||||
|
}
|
||||||
|
|
||||||
Reference in new issue
Block a user