Shows just fullsize Image with hotkeys & without pop-ups on many image-hosting sites
< Valutazione su Handy Image
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
// ==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);}
fixed in latest version
thanks
Accedi per pubblicare una risposta.
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