wallhaven

修复wallhaven预览图无法显示及部分功能失效的问题。进入网站后等两三秒即可

  1. // ==UserScript==
  2. // @name wallhaven
  3. // @namespace http://wallhaven.cc/
  4. // @version 211106.15
  5. // @description 修复wallhaven预览图无法显示及部分功能失效的问题。进入网站后等两三秒即可
  6. // @author L-JH
  7. // @namespace https://gist.github.com/L-JH/fca6df4d7c2c9dca18e2b9400dfabd1c/
  8. // @match https://wallhaven.cc/*
  9. // @grant none
  10. // @require https://cdn.bootcdn.net/ajax/libs/jquery/2.2.4/jquery.min.js
  11. // ==/UserScript==
  12. //
  13.  
  14. (function () {
  15. "use strict";
  16.  
  17. let t = 1;
  18. let ss = $("script");
  19. ss.each(function () {
  20. if (this.src) {
  21. var script = document.createElement("script");
  22. script.type = "text/javascript";
  23. script.src = this.src;
  24. document.getElementsByTagName("head")[0].appendChild(script);
  25. } else {
  26. let ih = this.innerHTML;
  27. setTimeout(function () {
  28. eval(ih);
  29. }, t * 1000);
  30. t = t + 1;
  31. }
  32. });
  33. })();

QingJ © 2025

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