Earlier quoted context omitted.
An increasing number of websites force me to right-click to follow links; maybe JS can't trap it yet? In some places, the basic process to follow a link has become right-click, copy link, paste into text editor, filter URL through script to remove tracking crap, open new tab, paste result into URL bar. Web 3.0, baby!
JS can trap right-click, at least in certain situations; for example, if you right-click in gmail, it brings up a HTML menu, not the OS-native one.
Ask HN: Please AWS team, make links work with control-click
31–38 of 38 posts
Re: Ask HN: Please AWS team, make links work with control-click
#32Re: Ask HN: Please AWS team, make links work with control-click
#33AKA lol Angular. Curmudgeonly amusing that a team in charge of ads on the web builds a product that requires so much care to make something as basic as the link continue to work.
Re: Ask HN: Please AWS team, make links work with control-click
#34Re: Ask HN: Please AWS team, make links work with control-click
#35I've seen this on a few sites, my suspicion is that it's caused by some kind of marketing analytics JavaScript that attempts to track clicks on outbound links by intercepting the click, logging the analytic event and then navigating to the destination using location.href=something. Not sure what's causing it here - could be Marketo Munchkin perhaps?
It's probably more just that sites are using SPA frameworks that use onClicks in JS instead of hrefs in HTML. Can't control click a link that isn't a link, it's a span pretending to be a link.
Control click on opens a new tab with identical state and executes the click there.
Re: Ask HN: Please AWS team, make links work with control-click
#36I have this exact problem with Microsoft Azure as well. Changing pages always takes 5-10 seconds and you can't open in a new tab to open new tables concurrently. Makes working in their portal really inefficient.
Re: Ask HN: Please AWS team, make links work with control-click
#37AKA lol Angular. Curmudgeonly amusing that a team in charge of ads on the web builds a product that requires so much care to make something as basic as the link continue to work.
I've only dabbled, but it's never seemed like that's been a problem.
Re: Ask HN: Please AWS team, make links work with control-click
#38Try right-click > open in new tab. Nobody traps right-click in JS :] Yes, unbelievably annoying, but I've encountered this kind of behavior on a lot of websites.