Force javascript to open a new window?
August 28, 2006 2:14 PM   Subscribe

Is there a way to force a javascipt link to open in a new window/tab?

So I'm using a site (someone elses) where the properties of the next page button includes "Address: javascript:TurnPage('next');" & "Will open in: Same window".

Is there a way to force this button/link to open the next page in a new window or tab in firefox?

When I right click I don't get the option.
posted by JakeLL to Computers & Internet (3 answers total) 1 user marked this as a favorite
 
you can probably write a Greasemonkey script to fix this.

A specific example (e.g. URL) would help for giving advice.
posted by MonkeySaltedNuts at 2:50 PM on August 28, 2006


Probably not. Javascript functions rely on the page contents to do their magic. Firefox would be mildly broken if middle click on a javascript link duplicated the page and ran that function.
posted by aye at 4:04 PM on August 28, 2006


If you can't do it forward, maybe you can do it backward, i.e. you could clone the current window to a new tab, then click.
posted by AmbroseChapel at 5:24 PM on August 28, 2006


« Older Zip Code Radius Searches That Aren't Painful   |   Redmond or Kirkland hotel Newer »
This thread is closed to new comments.