| 48 | * New Open from Link |
| 49 | {{{ |
| 50 | (A) browser.link.open_newwindow - for links in Firefox tabs |
| 51 | |
| 52 | This is the one that has a checkbox on the Preferences page and determines whether targeted links are allowed to open in a new window or are diverted to a new tab instead; there's no effect on untargeted links: |
| 53 | |
| 54 | 3 = divert new window to a new tab (default) |
| 55 | 2 = allow link to open a new window |
| 56 | 1 = force new window into same tab |
| 57 | |
| 58 | (B) browser.link.open_newwindow.restriction - for links in Firefox tabs |
| 59 | |
| 60 | By default, if a page sets width, height, or toolbars for a popup, Firefox will open it in a "dialog-style" window. To force those into a tab as well, you can change this preference to 0: |
| 61 | |
| 62 | 0 = apply the setting under (A) to ALL new windows (even script windows with limited features) |
| 63 | 2 = apply the setting under (A) to normal windows, but NOT to script windows with features (default) |
| 64 | 1 = override the setting under (A) and always use new windows |
| 65 | |
| 66 | (C) browser.link.open_newwindow.override.external - for links in other programs |
| 67 | |
| 68 | This preference governs those external links that open in Firefox (not directly relevant to your question): |
| 69 | |
| 70 | -1 = apply the setting under (A) to external links (default) |
| 71 | 3 = open external links in a new tab in the last active window <== if the default doesn't work, try this one |
| 72 | 2 = open external links in a new window |
| 73 | 1 = open external links in the last active tab replacing the current page |
| 74 | }}} |