Temporary fix aniwave

Temporary fix aniwave by loading in the CSS and JS files that are currently unable to load from external sources.

  1. // ==UserScript==
  2. // @name Temporary fix aniwave
  3. // @namespace http://tampermonkey.net/
  4. // @version 2024-01-18
  5. // @description Temporary fix aniwave by loading in the CSS and JS files that are currently unable to load from external sources.
  6. // @author You
  7. // @match https://aniwave.to/watch/majo-to-yaijuu.m2v17/ep-2
  8. // @icon https://www.google.com/s2/favicons?sz=64&domain=aniwave.to
  9. // @grant none
  10. // @include https://aniwave.*/*
  11. // @license MIT
  12. // ==/UserScript==
  13.  
  14. var src = document.createElement('link');
  15. src.setAttribute('rel', 'stylesheet');
  16. src.setAttribute('href', 'https://cdn.gls.cx/aniwaveall.css');
  17. src.setAttribute('id', 'aAaA010101');
  18.  
  19. var scr2 = document.createElement('script');
  20. scr2.setAttribute('type', 'text/javascript');
  21. scr2.setAttribute('charset', 'utf-8');
  22. scr2.setAttribute('src', 'https://cdn.gls.cx/aniwaveall.js');
  23. scr2.setAttribute('id', 'aAaA010101');
  24.  
  25. document.head.appendChild(src);
  26. document.head.appendChild(scr2);