Handy Image

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

< Spätná väzba na Handy Image

Otázka/komentár

§
Pridaný: 28.07.2020
Upravený: 28.07.2020
OwynAutor
§
Pridaný: 28.07.2020

fixed

OwynAutor
§
Pridaný: 28.07.2020
Upravený: 28.07.2020

that means you have yet to get the updated version https://github.com/Owyn/HandyImage/raw/master/HandyImage.user.js

§
Pridaný: 28.07.2020

Nope, I have the updated version (2020.07.26)

The first link works, the second doesn't.

media.tumblr.com works
66.media.tumblr.com works
64.media.tumblr.com doesn't work

OwynAutor
§
Pridaný: 28.07.2020
Upravený: 28.07.2020
§
Pridaný: 28.07.2020
Upravený: 28.07.2020

Time travelling notwithstanding, that's the version that the link you provided points to.

https://github.com/Owyn/HandyImage/blob/master/HandyImage.user.js
@version 2020.07.26

Are you sure you merged to master?
Or used the right version?

OwynAutor
§
Pridaný: 28.07.2020

It's the one with tumblr fixes https://github.com/Owyn/HandyImage/commit/46711e061e075ea3f2e0b832b0e89466034e8635

check that your other extensions and userscripts aren't interfering, in a private browser window

§
Pridaný: 28.07.2020

Which says: @version 2020.07.26

§
Pridaný: 28.07.2020

I just created a brand new profile for FF dev,, installed Tampermonkey beta from https://www.tampermonkey.net/ and your Handy Image from master. No other extensions, cookies, etc.

Screenshot #1 (66):
https://paste.pics/0e8f0809b6f5b8d03fa6797d85187c85

Screenshot #2 (64):
https://paste.pics/aa7017e7012820b7406eae8b7aab55f0

Screenshot #3 (64 after F5 refresh, with TM menu visible):
https://paste.pics/4fa5f34709185c03d0e4ad1417dc48a4

OwynAutor
§
Pridaný: 28.07.2020

Just don't click F5?

OwynAutor
§
Pridaný: 28.07.2020

also, check browser console when a problem appears (ctrl+shift+j) and see any explanation messages

§
Pridaný: 28.07.2020
Upravený: 28.07.2020

Running under the debugger, I see that the following check triggers:

if (document.images.length == 1 && document.images[0].src == window.location.href)
{
    console.warn("handy isn't needed for directly opened images");
    return false;
}

The 64 site behaves weirdly. If I hit CTRL-U to view the source, it shows me just the image (as if that's the only thing on the page), but if I try to inspect an element, the dev tools show me a DOM structure with the image element pointing to the same URL:

<img class="_2nKI6" src="https://64.media.tumblr.com/03a49f0a620a3bca447e33a38946086e/tumblr_inline_nf9k6lIPr41qcgcxj.png" alt="Tumblr: Image">

§
Pridaný: 28.07.2020

Chrome exhibits the same behaviour with regard to view source and inspect.

OwynAutor
§
Pridaný: 28.07.2020

document.images.length == 1 means there's only one image on the page, and on the screen where it doesn't work there are multiple small images so it can't trigger there, plus I can't reproduce the problem on my end here

might be referrer or cache problem on your end, in any case - it's not critical

Pridať odpoveď

Aby ste mohli pridať odpoveď, prihláste sa.