Handy Image

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

< Feedback on Handy Image

Question/comment

§
Posted:
Edited:
OwynAuthor
§
Posted:

fixed

OwynAuthor
§
Posted:
Edited:

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

§
Posted:
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
OwynAuthor
§
Posted:
Edited:
§
Posted:
Edited:
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?
OwynAuthor
§
Posted:

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

§
Posted:
Which says: @version 2020.07.26
§
Posted:
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
OwynAuthor
§
Posted:

Just don't click F5?

OwynAuthor
§
Posted:

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

§
Posted:
Edited:

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">

§
Posted:
Chrome exhibits the same behaviour with regard to view source and inspect.
OwynAuthor
§
Posted:

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

Post reply

Sign in to post a reply.