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:

Bad Therapy Review: Privilege

Gently raised in Park Slope

via Thing of Things May 7, 2024

How bad is alcohol?

Unfortunately we landed on a pretty bad drug as a default. The post How bad is alcohol? appeared first on Otherwise.

via Otherwise May 6, 2024

Clarendon Postmortem

I posted a postmortem of a community I worked to help build, Clarendon, in Cambridge MA, over at Supernuclear.

via Home March 19, 2024

more     (via openring)