LiveChart.me Enhancement's

Adds few featues to enchance LiveChart

  1. // ==UserScript==
  2. // @name LiveChart.me Enhancement's
  3. // @namespace https://github.com/as280093/LCE
  4. // @version 0.2
  5. // @description Adds few featues to enchance LiveChart
  6. // @author as280093
  7. // @match https://www.livechart.me/*
  8. // @supportURL https://github.com/as280093/LCE/issues
  9. // @icon https://raw.githubusercontent.com/as280093/LCE/master/icon.png
  10. // ==/UserScript==
  11.  
  12. (function () {
  13. 'use strict';
  14.  
  15. //adds kissanime search
  16. var text = '';
  17. var aniname = '';
  18. $('div.anime-card').each(function() {
  19. aniname = $('h3.main-title', this).text();
  20. 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>';
  21. $('.anime-info', this).append(text);
  22. });
  23.  
  24. //compact KA button
  25. var text_compact = '';
  26. var aniname_compact = '';
  27. $('.schedule-card__overlay-container').each(function() {
  28. aniname_compact = $('.schedule-card__title', this).text();
  29. 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>';
  30. $('.schedule-card__actionbar', this).prepend(text_compact);
  31. });
  32.  
  33. })();
  34.  

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址