Mozilla linux build 2004121405 To reproduce: 1. Open about:config and set browser.block.target_new_window to 'true' 2. Restart Mozilla 3. Open provided URL 4. Click on "Форум по физике" link (left topmost one) 5. It opens in a new window The bug occurs in the linux version of Mozilla. Mozilla Windows build 20040608 and OS/2 build 20041124 work as expected: the link opens in the current window.
The parameter has changed by change of bug-org172962. http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&file=all.js&branch=&root=/cvsroot&subdir=mozilla/modules/libpref/src/init&command=DIFF_FRAMESET&rev1=3.552&rev2=3.553
if so, what is the replacement for browser.block.target_new_window=true now? And why Mozilla didn't convert old-style setting into a new-style one?
browser.link.open_newwindow.restriction seems to be a replacement for browser.block.target_new_window but according to http://kb.mozillazine.org/index.phtml?title=About:config_Entries it's Firefox only. Nevertheless I tried all values of browser.link.open_newwindow.restriction in Mozilla current linux trunk with no luck.
https://bugzilla.mozilla.org/show_bug.cgi?id=172962#c213 & 218 explain this is invalid Seamonkey users do however need to know how to use its replacement until the UI for it is enabled. I haven't found an existing bug for enabling the UI.
(In reply to comment #4) > https://bugzilla.mozilla.org/show_bug.cgi?id=172962#c213 & 218 explain this is > invalid Unless there is a working replacemen, it's a regression! > Seamonkey users do however need to know how to use its replacement Please please tell me how...
I do not actually care what is the name for blocking option. The point is that newly introduced option browser.link.open_newwindow.restriction does not work in Mozilla (see comment 3), while good old browser.block.target_new_window option was removed. I condiser this as a regression and a major lack of functionality. So I change the summary and reopen the bug.
The following is the contents which I checked the contents of a setting by Firefox, and added to user.js. Since I do not understand the meaning of a parameter, either, I think that the same UI as Firefox is required also for Mozilla. user_pref("browser.link.open_external", 3); user_pref("browser.link.open_newwindow", 1); user_pref("browser.link.open_newwindow.ui", 1); Mac OS X 10.3.7 Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8a6) Gecko/20041216
(In reply to comment #7) > The following is the contents which I checked the contents of a setting by > Firefox, and added to user.js. Thank you very much. The settings are counter-intuitive. So there is a definite need for UI or at least some documentations. Marking as WFM.