Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Learn More

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

New window JavaScript links that specify window size are opening in a new tab instead.

  • 2 відповіді
  • 8 мають цю проблему
  • 13 переглядів
  • Остання відповідь від scolford

more options

Before upgrading to 7.0.1, the default option "open windows in a new tab" would only do so for target="_blank" links and JavaScript functions that did not specify new window size. If a JavaScript function included size in the features attributes, a new window would still open for proper display of the new content.

Since upgrading to 7.0.1 on Mac, however, all new window links open in a new tab. Tested on two different Macs and confirmed in the about:config that values were set as follows:

browser.link.open_newwindow=3 browser.link.open_newwindow.restriction=2

Before upgrading to 7.0.1, the default option "open windows in a new tab" would only do so for target="_blank" links and JavaScript functions that did not specify new window size. If a JavaScript function included size in the features attributes, a new window would still open for proper display of the new content. Since upgrading to 7.0.1 on Mac, however, all new window links open in a new tab. Tested on two different Macs and confirmed in the about:config that values were set as follows: browser.link.open_newwindow=3 browser.link.open_newwindow.restriction=2

Обране рішення

No problem here on Linux to open such pop-ups in a new window.

Start Firefox in Diagnose Firefox issues using Troubleshoot Mode to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).

Читати цю відповідь у контексті 👍 0

Усі відповіді (2)

more options

Вибране рішення

No problem here on Linux to open such pop-ups in a new window.

Start Firefox in Diagnose Firefox issues using Troubleshoot Mode to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).

more options

That didn't actually resolve my problem. I still saw the same behavior in safe mode and the default theme. However, I did figure out that the link I was testing was not scripted in an entirely kosher way. It seems that other browsers and earlier versions of Firefox are more forgiving of syntax errors in JavaScript than FF 7.0.1. If the window.open method is used properly, I've found that it works fine.

Thanks for the help. I'm clicking the "Solved It" button on your answer to close this out.

Змінено scolford