为什么/在哪里错误“Permission denied for< http://ad.yieldmanager.com>调用方法Location.toString“ [英] why/where the error "Permission denied for <http://ad.yieldmanager.com> to call method Location.toString"

查看:223
本文介绍了为什么/在哪里错误“Permission denied for< http://ad.yieldmanager.com>调用方法Location.toString“的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

编辑:我在评论中添加了说明;在那里它是可能的和有意义的,那些额外的carizations是在斜体字体样式。



就像在这里一样。



至少有25个相关的问题,有几个代表性的问题是:



有15个被接受的答案,其中没有一个在这里申请。因为有这么多的问题和接受的答案,我假设我的问题解决了开发者经常被绊倒的问题。

我写了一个直观的网页,在我看来,这是完全正常的。我在页面上没有什么不寻常的东西,至少在过去的十年里,我 - 也许你和所有的网页开发者 - 都没有使用过。



我正在浏览我使用Firebug 1.6.2开发的Firefox 3.6.16。



随着周期的变化,但通常每30到60分钟发生65%的事件,在Firebug控制台中显示一条错误消息:

 权限被拒绝< http://ad.yieldmanager.com>调用方法Location.toString 

这些消息中的大部分指向yieldmanager,但是我看到有关doubleclick和interclick以及。 FB给了我关于错误信息的任何属性。



View->页面的源代码不显示yieldmanager或任何其他罪犯。 b $ b

呼叫AdSense,但删除代码完全不会改变错误信息。



大约有3000行朴素,香草型JavaScript上的页面,但没有什么异国情调,我可以看到。

我没有明确或(我相信)隐式地包含任何框架代码:没有JScript,xjs,MooTools,没有任何东西。



问题:如何找出谁在调用Location.toString();我怎么能摆脱那个家伙?

解决方案

您可能并非如此,但是请注意,如果您使用的是Firebug,则会在控制台中显示错误消息打开另一个窗口并浏览到有这些电话的网站。简而言之,这些错误可能与您的网页无关。


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:

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?

解决方案

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.

这篇关于为什么/在哪里错误“Permission denied for&lt; http://ad.yieldmanager.com&gt;调用方法Location.toString“的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆