Цей вебсайт матиме обмежену функціональність, доки ми проводимо його обслуговування для поліпшення роботи. Якщо прочитана стаття не розв'язала вашу проблему і ви хочете поставити питання, наша спільнота підтримки з радістю допоможе вам на @FirefoxSupport у Twitter та /r/firefox на Reddit.

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

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

Докладніше

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

How do I entirely disable javascript's "this.focus()" function without disabling all javascript?

  • 1 відповідь
  • 2 мають цю проблему
  • 2 перегляди
  • Остання відповідь від philipp

more options

Have a problem with certain webpages stealing focus. I have tried googling this issue, but as most people know, it's pretty much impossible to search for anything involving punctuation on Google.

I have registry settings in place to stop regular focus-stealing, however this does nothing when it's firefox stealing its own window priority.

I'd love to know how to entirely disable the javascript function this.focus(), be it using a greasemonkey script or otherwise.


Can anyone shed light on this issue?

Have a problem with certain webpages stealing focus. I have tried googling this issue, but as most people know, it's pretty much impossible to search for anything involving punctuation on Google. I have registry settings in place to stop regular focus-stealing, however this does nothing when it's firefox stealing its own window priority. I'd love to know how to entirely disable the javascript function this.focus(), be it using a greasemonkey script or otherwise. Can anyone shed light on this issue?

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

more options

hello, please check in firefox > options > content > javascipt - advanced that the "raise or lower windows" setting is disabled.