Friday, November 12, 2004

Firefox Hack: Suppress New Windows

Pinder has a great tip for suppressing the target='_blank' property of anchor links which opens new windows. Apparently, the new release of Firefox advanced preferences for this no longer works, it has been overridden by a new advanced preference.



To turn it on, go to about:config and set browser.tabs.showSingleWindowModePrefs to TRUE.



Alternatively you can add user_pref('browser.tabs.showSingleWindowModePrefs', true); to your user.js file.



A new option will appear in Tools>Options>Advanced>Tab browsing. You can then force links that open in new windows to open in the current window or a new tab instead.



Pinder says that it's an experimental option for now, so it might be a little buggy, but it works for the most part.

No comments:

Post a Comment