Sleazy Fork is available in English.

Handy Image

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

< Opinie na Handy Image

Pytanie/komentarz

FFW
§
Napisano: 21-06-2015
Edytowano: 21-06-2015

you have just uploaded a picture, haven't you? :/

I'm pretty sure I haven't. sometimes this message would show up in the console disabling the script for some case I created. Can you explain what this message means?

OwynAutor
§
Napisano: 21-06-2015

It means you opened a picture from the main page of a website e.g. www.website.com/ usually people upload there, it's a global fix

FFW
§
Napisano: 21-06-2015

Can I skip that and have the script always active?

OwynAutor
§
Napisano: 21-06-2015

Only If you edit the script.

FFW
§
Napisano: 21-06-2015

I'm fine with that. Could you please tell me which part should I edit?

OwynAutor
§
Napisano: 21-06-2015
Edytowano: 21-06-2015

It's in the beggining of the script, you can find it with ctrl+f (text search) with phrase it prints into console you have just uploaded a picture, haven't you?

FFW
§
Napisano: 21-06-2015

I actually tried removing that part earlier but it didn't work for some reason. But now it did. Thank you :D

if(document.referrer)
{
    if(document.referrer.lastIndexOf(window.location.hostname) != -1 && document.referrer.lastIndexOf(window.location.hostname) +1 == document.referrer.length - window.location.hostname.length)
    {
        console.warn("you have just uploaded a picture, haven't you?");
        return false;
    }
}

Odpowiedz

Zaloguj się, by odpowiedzieć.