Bug 9138 - Open links in the same window
Summary: Open links in the same window
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 420+
Hardware: Macintosh OS X 10.4
: P4 Enhancement
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-27 19:25 PDT by Félix Cloutier
Modified: 2009-03-16 15:29 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Félix Cloutier 2006-05-27 19:25:32 PDT
It's possible to open links into new tabs or new windows, but it isn't possible to open links that should open in a new window in the same window.

I thought it would be a nice enhancement. :)
Comment 1 rahul abrol 2007-12-12 15:02:16 PST
this is one of the most frequently requested features on the safari forums: single window mode, with the option to allow resized popups.

i tried patching this myself using:
WindowProtoFuncOpen: in webcore/bindings/js/kjs_window.cpp
FrameTree::find in webcore/page/FrameTree.cpp

but couldn't get it quite right.
Comment 2 David Kilzer (:ddkilzer) 2007-12-14 08:06:18 PST
(In reply to comment #1)
> this is one of the most frequently requested features on the safari forums:
> single window mode, with the option to allow resized popups.

Could you provide a few links to said requests (or a search URL)?  Thanks!

Comment 3 vsoneta 2009-03-16 12:57:01 PDT
Can you please send me the code as to how to open the links in new window as window.open doesn't work in google chrome, IE , adobe air.. works only in firefox.. Actually it will be more helpful if I can open the links in the user default browser. 

(In reply to comment #0)
> It's possible to open links into new tabs or new windows, but it isn't possible
> to open links that should open in a new window in the same window.
> 
> I thought it would be a nice enhancement. :)
> 

Comment 4 Félix Cloutier 2009-03-16 13:11:30 PDT
Sorry, I don't know how to do it. Dude, this report is two years old; things have changed.
window.open has been used and abused to the point that it's now almost impossible to open a new browser window.

(In reply to comment #3)
> Can you please send me the code as to how to open the links in new window as
> window.open doesn't work in google chrome, IE , adobe air.. works only in
> firefox.. Actually it will be more helpful if I can open the links in the user
> default browser. 
> 
> (In reply to comment #0)
> > It's possible to open links into new tabs or new windows, but it isn't possible
> > to open links that should open in a new window in the same window.
> > 
> > I thought it would be a nice enhancement. :)
> > 
> 
Comment 5 vsoneta 2009-03-16 13:40:31 PDT
So is there any other way round to open the url in a new browser ...

(In reply to comment #4)
> Sorry, I don't know how to do it. Dude, this report is two years old; things
> have changed.
> window.open has been used and abused to the point that it's now almost
> impossible to open a new browser window.
> 
> (In reply to comment #3)
> > Can you please send me the code as to how to open the links in new window as
> > window.open doesn't work in google chrome, IE , adobe air.. works only in
> > firefox.. Actually it will be more helpful if I can open the links in the user
> > default browser. 
> > 
> > (In reply to comment #0)
> > > It's possible to open links into new tabs or new windows, but it isn't possible
> > > to open links that should open in a new window in the same window.
> > > 
> > > I thought it would be a nice enhancement. :)
> > > 
> > 
> 

Comment 6 Félix Cloutier 2009-03-16 15:29:56 PDT
As I just told you, I don't know.