BetterViewer icon indicating copy to clipboard operation
BetterViewer copied to clipboard

Blank screen when opening a photo in Instagram (via inspect element mode)

Open GAC-Machine opened this issue 6 months ago • 0 comments

Context

When I was using Instagram, I wondered why there were no context-menu action items for images on this site (as there is a section for image-related actions on context menu normally). Browsing around, I find a workaround to get anyway to the actual image URL, so I was able to open in a new tab and do actions on it, like save it or edit with advanced features provided by BetterViewer extension.

Problem

Once I got the actual URL of image and it was fully loaded (i.e. no "Bad URL hash" message), the image opens in BetterViewer automatically: all I got is a blank screen.

Example (use to reproduce)

See below post and image.

Image

The screenshot refers to:

  • post > https://www.instagram.com/p/DJ6BtUWMRtO/;
  • image > https://scontent-vie1-1.cdninstagram.com/v/t51.2885-15/499647399_18508117009052769_760219908335997424_n.jpg?stp=dst-jpg_e35_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6IkZFRUQuaW1hZ2VfdXJsZ2VuLjE0NDB4MTc5OS5zZHIuZjc1NzYxLmRlZmF1bHRfaW1hZ2UuYzIifQ&_nc_ht=scontent-vie1-1.cdninstagram.com&_nc_cat=109&_nc_oc=Q6cZ2QFtTJxjC0dXpxpV3Mp3f4yNBCTskTUdnvEoIEzJfcspah1clWsRDsYR8UFhHUJVwHQ&_nc_ohc=Wj4xCmWuc_0Q7kNvwFtcYsA&_nc_gid=CTOYVYt_wo-3xSRt8tf4tg&edm=APs17CUBAAAA&ccb=7-5&ig_cache_key=MzYzNzIyNzE2MTMyNTIxNDU0Mg%3D%3D.3-ccb7-5&oh=00_AfVXq5-PMMvg42i3Nlmx5durWMG32NFjD5ZF0Ky63sGuog&oe=689C568E
Image

NOTE (to the latter link) I tried removing any parameters after the actual extension of the image (.jpg), that is after ?, but I had too little wiggle room: I tried every single combination (from raw and "real" link (until .jpg), then adding one parameter at a time) and this was the shortest functional link (if you want the full link: you can find it, by going to link post > use inspect mode > select image > find link to image in the pop-up you see in DevTools windows): there were just two other parameters that I could safely remove, without gotting "Bad URL hash" messagge (I don't know what that means, still trying to figure out).

Initially, I had the same issue with a post (with an image) of a private account belonging to a person, one of acquaintance related to one of my passion. For privacy reasons (both acquaintance's and mine), I do not share these link: instead I give you links of generic, non-identifying page & image that I follow, another passion I have, aviation.

Aside from the picture's topic, the point remains valid: image opens in a new tab correctly (you can tell this by the fact that the image is shown for some seconds and then it disappears), but with a blank screen.

GAC-Machine avatar Aug 08 '25 21:08 GAC-Machine