NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Create history list // @namespace PXgamer // @version 0.2 // @description Creates a list of your download history. // @author PXgamer // @include *kat.cr/account/history* // @grant GM_setValue // @grant GM_getValue // ==/UserScript== (function() { 'use strict'; var all = { titles: [], magnets: [], torrents: [] }; $('a.cellMainLink[href$=".html"]').each(function() { all.titles.push($(this).html()); }); $('a[title="Torrent magnet link"]').each(function() { all.magnets.push($(this).attr('href')); }); $('a[title="Download torrent file"]').each(function() { all.torrents.push($(this).attr('href')); }); console.log(all); })();