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

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==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 = "";
  }
}