Skip to content

[BUG] Mid clicking the image preview in post doesn't lead to image in new tab

MXXIV··5 votes·2,703 views

So you guys didn't like the normal markdown images and decided to make your own embedded image implementation. As always, it's kinda flawed. The image is a link image, but it's URL is fake and is overriden by javascript. This means that when I click any image with me middle button, I don't get to see that image in new tab.

Please fix this.

Technical note on how to fix this: Give the images the real URL, not your fake one. On click, check for button and only trigger the popup (and cancel the event) when it's left button.

3 Comments

RiotRiot Catzpaw1 votes

Adding this to the queue, thanks!

EvilMerodach1 votes

If I understand it right, it has to do with the "Facechecking the brush is dangerous, and so is facechecking the web..." warning that pops up before you actually go to the link. If you middleclick, it would normally skip the warning. So other than skip the warning, it redirects back to the page you're on...and..just opens a second copy of the thread. Not 100% sure that's a bug. I do find it kind of annoying though. But it might at least partly be there on purpose so you don't skip the warning/not see where the link is actually sending you before you go to it.

MXXIV2 votes

On the old boards, the warning was HTTP based and would appear no matter what button you used.

Mid click event can be caught and cause a popup to open. This popup can have the "I'm going in" link targeted in new tab (target="_blank") to make sure it opens in new tab as user intended.

More from Boards Feedback

More by MXXIV