NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript==
// @name GGn Download all FL torrents
// @version 0.2
// @updateURL https://openuserjs.org/meta/NullPhantom/GGn_Download_all_FL_torrents.meta.js
// @downloadURL https://openuserjs.org/src/scripts/NullPhantom/GGn_Download_all_FL_torrents.user.js
// @description Downloads all user daily freeleech torrent files from GGn
// @author NullPhantom
// @match https://gazellegames.net/index.php
// @match https://gazellegames.net
// @match https://www.gazellegames.net/index.php
// @match https://www.gazellegames.net
// @grant none
// @require http://code.jquery.com/jquery-latest.js
// ==/UserScript==
(function() {
var hrefs = new Array();
var elements = $('.group_torrent a:first-child');
elements.each(function() {
hrefs.push($(this).attr('href'));
});
$('body').append('<input type="button" value="Download" id="NP">');
$("#NP").css("position", "fixed").css("top", 0).css("left", 0);
$('#NP').click(function(){
$.each(hrefs, function(index, value) {
setTimeout(function(){
window.open(value, '_blank');
},100);
});
});
})();