Wikia load images

show all lazy-loaded images since Wikia code is full of garbage and it's easier to make this hamfisted userscript than to whitelist whatever script normally loads them when adblocking everything else

  1. // ==UserScript==
  2. // @name Wikia load images
  3. // @namespace rwslol.com
  4. // @description show all lazy-loaded images since Wikia code is full of garbage and it's easier to make this hamfisted userscript than to whitelist whatever script normally loads them when adblocking everything else
  5. // @include http://*.wikia.com/*
  6. // @include https://*.wikia.com/*
  7. // @version 1.0.0
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. imgs = document.getElementsByTagName('img');
  12. for (i = 0; i < imgs.length; i++) {
  13. var lazy = imgs[i].getAttribute("data-src");
  14. if (lazy) {
  15. imgs[i].src = lazy;
  16. imgs[i].className = "";
  17. }
  18. }

QingJ © 2025

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