Yahoo Links Ignoring "Force Links That Open New Windows
9 posts
• Page 1 of 1
I have my Tab preference set to open links that open in a new window in a new tab instead. Yet while browsing my fantasy baseball leagues on Yahoo, many links open in new windows. If a control-click these links, they open in a new background tab as expected. For an example, visit the following link, and click on one of the "MLB Headlines" in the lower right of the sidebar.
http://baseball.fantasysports.yahoo.com/b1 Opened in a new tab for me, using Tab Mix Plus. What tabbed browsing extension are you using, and what exactly are your settings for opening links?
Same thing happens to me (Firefox 1.5.0.1) and I also have Tools > Options > Tabs > Force links that open new windows to open in ... "a new tab" selected. (I don't have any tabbed browsing extensions installed!) After a bugzilla search I found that the preference browser.link.open_newwindow.restriction is set to "2" by default in Firefox 1.5. If you modify it to "0" in about:config the "MLB Headlines" links will open in a new tab. https://bugzilla.mozilla.org/show_bug.cgi?id=314721 The option "Tools > Options > Tabs > Force links that open new windows to open in:" no longer works.
This preference is supposed to restrict how certain links are opened if special window features are specified using JavaScript and it seems that the Yahoo links fall into this category, for whatever reason. Alice Wyman
Alice, that was an outstanding piece of investigative work...
![]() Thanks, b
![]() For the record, I was wondering before what "special features" the MLB links include. The browser.link.open_newwindow.restriction - MozillaZine Knowledge Base article says: and I found a more complete list at http://msdn.microsoft.com/workshop/auth ... open_0.asp I did notice that the new window opened by the Yahoo "Top MLB Headlines" links eliminates my bookmark toolbar items, so maybe that's the "special feature". HTML and JS aren't my strong points. Alice Wyman
Not allowing the Bookmarks Toolbar to show is just one of the things a web site author can do with popups. You can prevent almost all these types of changes in popups with the about:config entries dom.disable_window_open_feature.*. There are 11 entries and are listed here: http://kb.mozillazine.org/Firefox_:_FAQ ... ig_Entries#DOM..2A To quote from the Knowledge Base article: "Web Page authors can disable many features of a popup window that they open. Setting these preferences to true will override the author's settings and ensure that that feature is enabled and present in any popup window." Setting all these preferences to "true" is probably not desirable (only 1 of the 11 has a default value of "true"). Experiment. The <a href="http://users.blueprintit.co.uk/~dave/web/firefox/jsoptions/index.html"><u>JavaScript Options</u></a> extension will let you play with dom.disable_window_open_feature.* settings and maybe a few more.
Thanks for the pointer. I found that toggling dom.disable_window_open_feature.directories to "true" prevents the bookmarks toolbar from being hidden. Alice Wyman
My pleasure... ![]()
9 posts
• Page 1 of 1
Who is onlineUsers browsing this forum: No registered users and 3 guests |
![]() |