// ==UserScript== // @name Kissanime_Download // @namespace Kissanime_Download // @description Get the download links easier // @match https://kissanime.to/Anime/* // @match http://kissanime.to/Anime/* // @version 2.1 // @grant none // @downloadURL none // ==/UserScript== var episodes = $('table.listing > tbody > tr > td > a'); episodes.each(function () { $(this).parent().append('( download)'); }); $('a.download').click(function (event) { url = 'https://kissanime.to' + $(this).prev().attr('href') url = url + ' div#divDownload'; console.log(url); var ele = $(this); $(ele).parent().append('
ajax result
'); $('div.ajax').load(url); return false // prevents the click event default action });