Sleazy Fork is available in English.

Handy Image

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

< Commentaires sur Handy Image

Avis: Bon - le script fonctionne correctement

§
Posté le: 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

OwynAuteur
§
Posté le: 18/03/2017

fixed in latest version

§
Posté le: 18/03/2017

thanks

Poster une réponse

Connectez-vous pour poster une réponse.