Closed Bug 300465 Opened 15 years ago Closed 15 years ago
Outlook URL links open in a new window, not a new tab, ignoring preferences
This is a specific offshoot of bug 121961, which was marked fixed and then reopened because of this. Additionally, opening in new tabs rather than windows was broken completely recently, but fixed by bug 299444. However, even though the "singlewindow" extension used to be a workaround to bug 121961 - it no longer works. Whatever broke it at the time that bug 299444 was introduced has not been fixed. Steps to reproduce. 1. Set preferences to always open links from applications in tabs rather than Windows. 2. In Outlook, click on a URL link. What actually happens: A new browser window is opened. What should happen: A new tab in the existing browser window should be opened, as per the preference.
Oops - stupid typo. This is a specific offshoot of bug 121969. (At least I got the dependency right.)
OK. I found the solution. There is a bug in the singlewindow extension. From the js console: Error: illegal character Source File: chrome://singlewindow/content/singlewindow.js Line: 342 Source Code: � � � � var newTab = topWin.window.gBrowser.addTab(url); All you have to do to fix it is to remove the illegal characters in line 342 and also in line 343. Just overwrite everything before the text starts with blanks and everything works again.
Woohoo! This has been fixed by the fix for bug 300485.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.