rurre / Gelbooru adblocked thumbnails fixer

// ==UserScript==
// @name        Gelbooru adblocked thumbnails fixer
// @namespace   rurre
// @description Fixes blank thumbnails when using an adblocker on gelbooru.
// @include     *gelbooru.com/*
// @version     1
// @grant       none
// ==/UserScript==

var thumbs = document.getElementsByClassName("lazyload preview  ");

for(var i = 0; i < thumbs.length; i++)
{
	thumbs[i].setAttribute("src", thumbs[i].getAttribute("data-original"))
}