搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Any way to prevent Website in background tab from stealing focus?

  • 6 个回答
  • 9 人有此问题
  • 1 次查看
  • 最后回复者为 Misterkrawk

more options

When browsing certain websites, if a site in a different tab has an issue, it steals focus of the one I am using to display the error message. Example; Primary Tab is focused on Facebook Secondary Tab that is in the background is on slickdeals.net The following error message dialog appears (steals focus) from slickdeals within my facebook tab. page at ads.p.veruta.com says: referenceError: json_parse is not defined

When browsing certain websites, if a site in a different tab has an issue, it steals focus of the one I am using to display the error message. Example; Primary Tab is focused on Facebook Secondary Tab that is in the background is on slickdeals.net The following error message dialog appears (steals focus) from slickdeals within my facebook tab. page at ads.p.veruta.com says: referenceError: json_parse is not defined

所有回复 (6)

more options

Where does this error appear? Does the Browser Console pop up in front of Facebook listing that and various other information, or is it a small message box (e.g., with the OK button)?

By the way, a newer version of Flash is available. http://get.adobe.com/flashplayer/ (uncheck any unwanted extras)

more options

A error dialog message with an OK button appears. It requires multiple hits to make it go away. I have found I have to press escape 6 or more times to be the most efficient way to make it go away.

more options

Is Adblock Plus maybe partially blocking that veruta site and causing the error?

Perhaps a way to prevent it from having a scripting error is to block the scripts from that site. You could install the YesScript extension and have it block veruta.com and see whether that resolves it.

https://addons.mozilla.org/en-us/firefox/addon/yesscript/

Note: I haven't tested it myself.

more options

Thanks a bunch for the response - I tried the Yessript as suggested, added veruta.com to the filter, and just went to another site I visit, thedigitalbits.com and got the same error. Am I supposed to try to wildcard the site using a ^ or a *  ?

more options

Sorry, I'm not familiar with how to enter a site into YesScript. You might need to experiment a bit.

more options

Thanks for sticking with me.... It appears that Yesscript requires an exact address - with that being said, if I plug in all iterations of veruta.com that come up as they occur all is fine.

I recall Windows in the past having a tweak you could set that "prevents background programs from stealing focus" - It would be fantastic if the Mozilla team could incorporate this into Firefox. Much like the same way that if you have more than one tab open on Jcpenney.com, the "zoom" product view feature does not load until you switch over to that tab.