Live data from Hacker News

Ask HN: Please AWS team, make links work with control-click

news.ycombinator.com

31–38 of 38 posts

Re: Ask HN: Please AWS team, make links work with control-click

#31

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.

In this case, my current workaround is to duplicate the tab then continue from there.

Re: Ask HN: Please AWS team, make links work with control-click

#33
post #10

AKA 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 built several angular apps and I've never had this issue in any of my applications. So no, while it's so popular to shame Angular lately this isn't an Angular problem.

Re: Ask HN: Please AWS team, make links work with control-click

#35
post #9
post #3

I'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.

In which case I wonder if the burden can be placed with the browser.

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

#36

I 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.

Microsoft's new(er) Outlook web version puts a Windows phone 8 style back button on the screen, and disables your actual back button. I know they put a lot of effort into the design of this metro stuff, I can't understand it.

Re: Ask HN: Please AWS team, make links work with control-click

#37
post #10

AKA 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.

Are you sure Angular breaks links by default?

I've only dabbled, but it's never seemed like that's been a problem.

Post reply on HN