您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Adds few featues to enchance LiveChart
// ==UserScript== // @name LiveChart.me Enhancement's // @namespace https://github.com/as280093/LCE // @version 0.2 // @description Adds few featues to enchance LiveChart // @author as280093 // @match https://www.livechart.me/* // @supportURL https://github.com/as280093/LCE/issues // @icon https://raw.githubusercontent.com/as280093/LCE/master/icon.png // ==/UserScript== (function () { 'use strict'; //adds kissanime search var text = ''; var aniname = ''; $('div.anime-card').each(function() { aniname = $('h3.main-title', this).text(); text = '<ul class="anime-studios"><li><a href="https://kissanime.ru/Search/Anime?keyword=' + encodeURI(aniname).replace("&", "%26").replace("=", "%3D").replace("?", "%3F") + '" target="_blank" rel="noopener nofollow">Search on KissAnime</a></li></ul>'; $('.anime-info', this).append(text); }); //compact KA button var text_compact = ''; var aniname_compact = ''; $('.schedule-card__overlay-container').each(function() { aniname_compact = $('.schedule-card__title', this).text(); text_compact = '<a href="https://kissanime.ru/Search/Anime?keyword=' + encodeURI(aniname_compact).replace("&", "%26").replace("=", "%3D").replace("?", "%3F") + '" target="_blank" rel="noopener nofollow"><div class="" title="Kissanime"></div>KA</a>'; $('.schedule-card__actionbar', this).prepend(text_compact); }); })();