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

目前為 2017-01-15 提交的版本,檢視 最新版本

// ==UserScript==
// @name        Wikia load images
// @namespace   rwslol.com
// @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
// @include     http://*.wikia.com/*
// @include     https://*.wikia.com/*
// @version     1.0.0
// @grant       none
// ==/UserScript==

imgs = document.getElementsByTagName('img');
for (i = 0; i < imgs.length; i++) {
  var lazy = imgs[i].getAttribute("data-src");
  if (lazy) {
    imgs[i].src = lazy;
    imgs[i].className = "";
  }
}

QingJ © 2025

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