Open
Bug 275354
Opened 20 years ago
Updated 2 months ago
standardize open new URL
Categories
(Core :: XUL, defect)
Core
XUL
Tracking
()
NEW
People
(Reporter: bugzilla, Unassigned)
Details
Attachments
(1 obsolete file)
Opening a URL in Gecko products seems to be at least very different the gecko products between: In Mozilla Firefox you can do: document.commandDispatcher.focusedWindow.open(aURL) Mozilla Thunderbird seems to do something like this: launchExternalURL(aURL); in Nvu it's done through: loadExternalURL isn't it possible to have some kind of standard of launching an external URL?
Assignee: nobody → jag
Component: XP Miscellany → XP Toolkit/Widgets
QA Contact: brendan → jrgmorrison
Comment 1•20 years ago
|
||
I know of one way which should work in any product, although I don't have anything apart from Seamonkey in which to test: <xul:browser id="loader" type="content" collapsed="true"/> var loaderListener = { // stub implementation of nsIURIContentListener and nsISupportsWeakReference // see helpContentListener in help.js }; var external = document.getElementById('loader'); loader.docShell.parentURIContentListener = loaderListener; loader.webNavigation.loadURI(href, nsIWebNavigation.LOAD_FLAGS_IS_LINK, null, null, null);
Comment 2•19 years ago
|
||
I want 'generic protocol handler' to use with patches for bug 262575, bug 262808, bug 263433 and bug 294516. I wrote this in attachment 189287 [details] [diff] [review], but I think its code is not so good.
Updated•16 years ago
|
Assignee: jag → nobody
Updated•2 years ago
|
Severity: normal → S3
Comment hidden (spam) |
Updated•2 months ago
|
Attachment #9384662 -
Attachment is obsolete: true
You need to log in
before you can comment on or make changes to this bug.
Description
•