3 ms·
I have a problem with some of Google's web apps, where they don't let me middle-click a link to a separate document. I use the heck out of tabs and I can't stan
by WayneDB 14y ago
I have a problem with some of Google's web apps, where they don't let me middle-click a link to a separate document. I use the heck out of tabs and I can't stand when they mess with that ability.
I CAN middle-click the following Google link types:
- Search Result
- Plus User Name/Icon
- Plus Link in Post
- Some links in Google Help.
I CANNOT middle-click the following:
- Map Search Result
- Plus "Fun & Interesting" results
- GMail Message
- Some links in Google Help.
- 83457 14y agoSame functionality as right-clicking and choosing New Tab. This limitation occurs when there is either no href value for a link or some other element being used as a clickable element, in both cases the action can only occur with a javascript onclick event. This is something that in most cases could be taken into account by always starting with an anchor tag and then adding styles and javascript events.
- andrus 14y agoExactly, and I think this is a poor pattern cropping up in a lot of JavaScript heavy sites. Take, for example, Twitter-- You CAN right-click on links like: - "Tweets" - "Following" - etc. But you arbitrarily cannot right-click: - A link to the user's "Recent images" - The link to a user's profile from "Recent images" - etc.
- deleted 14y ago[deleted]
- pbhjpbhj 14y ago>This is something that in most cases could be taken into account by always starting with an anchor tag and then adding styles and javascript events. // Would that really take it into account? Surely you'd be loading a new link without the state that the client has created, you'd need to push the state to the server and construct the links based on that - at which point it seems you're duplicating effort at the server and client.