why/where the error “Permission denied for <http://ad.yieldmanager.com> to call method Location.toString”

寵の児 提交于 2019-11-30 20:41:23

问题


EDIT: I've added clarifications in response to a comment; where it's possible and meaningful, those added carifications are in italic font style.

I've posted this question on Firefox groups as well as here on SO.

There are at least 25 related questions on SO, a few representative questions being:

  • Flash bug
  • cross-domain issue
  • just a mystery
  • FF XPCOM problem

There are ~15 accepted answers, none of which seem to apply here. Because there are so many questions and accepted answers, I am assuming that my question addresses an issue that developers have often tripped over.

I have written a straight-up web page that, in my view, is completely normal and usual. I have nothing unusual on the page, nothing that I -- and probably you and all web developers -- haven't been using for the past ten years at least.

I'm viewing the page I've developed with Firefox 3.6.16 with Firebug 1.6.2.

With varying periodicity, but typically every 30 to 60 minutes for 65% of the incidents, an error message shows up in the Firebug console:

Permission denied for <http://ad.yieldmanager.com> to call method Location.toString

Most of these message point at yieldmanager, but I see complaints about doubleclick and interclick as well. FB gives me no properties about the error messages.

View->Source of the page shows nothing about yieldmanager or any other offender.

There are calls to AdSense, but removing that code entirely changes nothing wrt the error messages.

There are about 3000 line of plain, vanilla-type JavaScript on the page but nothing at all exotic that I can see.

I have not explicitly or (I believe) implicitly included any framework code: no JScript, xjs, MooTools, not anything.

Question: How can I find out who is calling Location.toString( ); and how can I get rid of that guy?


回答1:


This may not be the case with you at all, however be aware that firebug will display error messages in your console if you open-up another window and browse to a site that has these calls. In short, these errors may not be related to your page at all.




回答2:


Per my comment, try disabling extensions (safe mode) and check Firebug's XHR tab if you haven't already.



来源:https://stackoverflow.com/questions/5649102/why-where-the-error-permission-denied-for-http-ad-yieldmanager-com-to-call

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!