Kanjikaveri CSS Fix

fix CSS

  1. // ==UserScript==
  2. // @name Kanjikaveri CSS Fix
  3. // @namespace https://debu.moe
  4. // @version 1.1
  5. // @description fix CSS
  6. // @author Jersu
  7. // @supportURL https://twitter.com/jepe_art
  8. // @match http*://www.kanjikaveri.net/*
  9. // @grant none
  10. // @run-at document-body
  11. // ==/UserScript==
  12.  
  13. // fix CSS link in <head>
  14. console.log("script working");
  15.  
  16. var a = document.querySelector("head > link:nth-child(15)");
  17.  
  18. console.log(a);
  19.  
  20. a.setAttribute('href', '/css/kanjikaveri.css');
  21.  
  22. // fix text overflow on frontpage
  23. document.getElementById("teksti_index").style.height="450px";