Javascript and Open in a New Tab

March 12th, 2011
tech
Many sites have things that look like links but are actually javascript. When you middle click them to tell them to open in a new tab, the browser can't do what you want. The simple solution is for web programmers to use simple RESTful design and avoid javascript when a standard link would do. But that requires fixing things in a lot of different places. So what about a centralized solution, a browser change, perhaps as an extension, that interpreted an "open in a new tab" action as:
  1. Create a full duplicate of this page in a new tab
  2. Run the javascript there
Would this break anything? Are there sites that use unique ids or something in their javascript and use these when talking to their host?

Recent posts on blogs I like:

Jealousy In Polyamory Isn't A Big Problem And I'm Tired Of Being Gaslit By Big Self-Help

The nuance is in the post, guys

via Thing of Things July 18, 2024

Trust as a bottleneck to growing teams quickly

non-trust is reasonable • trust lets collaboration scale • symptoms of trust deficit • how to proactively build trust

via benkuhn.net July 13, 2024

Coaching kids as they learn to climb

Helping kids learn to climb things that are at the edge of their ability The post Coaching kids as they learn to climb appeared first on Otherwise.

via Otherwise July 10, 2024

more     (via openring)