Sleazy Fork is available in English.

Handy Image

Shows just fullsize Image with hotkeys & without pop-ups on many image-hosting sites

< Feedback on Handy Image

Review: Good - script works

§
Posted: 18/03/2017

imgboom.net not work.

imgboom.net not work.



// ==UserScript==
// @name imgboom Redirect
// @include http://imgboom.net/img-*.html
// @include http://imgboom.net/view.php
// @version 1.0
// @grant none
// ==/UserScript==
var domain = decodeURI(document.location.href);
console.log(domain);
if (/.html/.test(domain)) {
domain = domain.replace(/.+\.html/g, 'http://imgboom.net/view.php');
location.replace(domain);
}

else if (/view.php/.test(domain)) {
var imgCheck = setInterval(function() {
if (document.querySelectorAll('img').length > 0) {
var domain = document.location.href;
console.log(document.getElementsByTagName("img"));
var img = document.getElementsByTagName("img");
var src = img[0].getAttribute("src");
console.log(src);
clearInterval(imgCheck);
location.replace(src);
}
}, 200);
}



i test this script

OwynAuthor
§
Posted: 18/03/2017

fixed in latest version

§
Posted: 18/03/2017

thanks

Post reply

Sign in to post a reply.