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:

Starting With Chords

A lot of people play fiddle. Basically nobody starts by learning chords before learning melodies. But that's actually how I learned. I started with chords. One of the nice things about learning to play violin this way is that you can go busking even…

via Anna Wise's Blog Posts November 15, 2024

Stuffies

I have some stuffies and I just have a bunny. Bunny is a rabbit. Woof is a seal. My favorite stuffie is bun bun. I play with my stuffies. Sometimes I jump up with them and I roll them. I can just throw them in the air when I want to play bthululubp wi…

via Nora Wise's Blog Posts November 15, 2024

You Can Buy A Malaria Net

2024 election takes

via Thing of Things November 6, 2024

more     (via openring)