homepage Welcome to WebmasterWorld Guest from 54.204.94.228
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Google / Google AdSense
Forum Library, Charter, Moderators: incrediBILL & jatar k & martinibuster

Google AdSense Forum

    
Google Adsense: causing javascript security errors
davelms




msg:3941700
 8:03 pm on Jun 27, 2009 (gmt 0)

Error: Permission denied for <http://googleads.g.doubleclick.net> to call method Location.toString on <my domain>.

Anyone else experienced this error?

Firefox is throwing up errors for me with the above error. I've looked online and it seems I'm not the only one to have raised questions. Some comments on Google Adsense Help forums, but the posters are getting frustrated at a lack of reply from Google.

I experience the error on several sites / pages and across ad sizes. I use Ad Manager, and when the error appears it seems to be linked to Adsense showing an Image/Rich Media advert.

...anyone else got comments?

 

davelms




msg:3941712
 8:26 pm on Jun 27, 2009 (gmt 0)

Am also getting this Information message out too:

Security Error: Content at http://googleads.g.doubleclick.net/ may not load data from <another of my sites>

I using Firefox 3.5, I wonder if it's anything to do with that. I don't see to have errors in other browsers.

fredw




msg:3941858
 6:03 am on Jun 28, 2009 (gmt 0)

I see them too in Firefox too, I believe anyone who looks at a site with adsense on it using Firefox would.

It is interesting to note that even though the report itself is worded "Security Error" (my emphasis), if you're looking at the Firefox Error Console, these notifications show in the "Messages" tab, and not the "Errors" tab, so they're not really errors.

Also, unless I'm mistaken, these notifications only show if you are looking at the Firefox Error Console, so ordinary users would never see them.

Lame_Wolf




msg:3941859
 6:07 am on Jun 28, 2009 (gmt 0)

I see them too in Firefox too, I believe anyone who looks at a site with adsense on it using Firefox would.

I've just gone all over my sites with Firefox and haven't seen it once. Maybe it is the version of code that you may be using that causes it.

Are you seeing this with the new code ? [I use old code].

davelms




msg:3941878
 8:45 am on Jun 28, 2009 (gmt 0)

@fredw:
The first output I posted is in the 'Errors' tab. And the user sees the error via the red exclamation mark that appears in place of the green tick/check.

The second output I posted is in the 'Messages' tab.

[edited by: davelms at 8:53 am (utc) on June 28, 2009]

davelms




msg:3941879
 8:48 am on Jun 28, 2009 (gmt 0)

@Lame_Wolf:
I've seen it across a number of my sites, some of which I haven't updated in quite a while. However, I believe I am using the latest code in all of them.

Update:
I have noticed that I don't seem to get the errors when a Text Ad is being shown. It certainly seems to be with the Image Ads only. A quick search of the messages above in Google and on Google Help forums would suggest others are having similar problems. I think my main concern is what code is not being executed after the javascript error and will it affect click tracking?

fredw




msg:3941959
 3:09 pm on Jun 28, 2009 (gmt 0)

I have all text ads and all new code. But I also use Google analytics. Perhaps that is a factor.

Re: Location.toString error: I've seen this on other sites caused by things other than adsense. I've seen YUI (Yahoo JS library) cause this "error" too, for example. It's my understanding everyone ignores it because there are no negative effects to the browsing experience because of it. And, IE users would never see the errors unless they have "show JS errors" turned on in their browsers, which is off by default.

davelms




msg:3941969
 3:51 pm on Jun 28, 2009 (gmt 0)

I was posting here more because I was wary of what logic from within the Adsense javascript code may not be getting run because of the error. Rather than because I was concerned re: user experience. I agree there is no issue with user experience. My sites are just as poor with or without this fault ;)

i.e. I was worried in case the next line of code after the error, the code that isn't getting run, may have some important publisher tracking code on it that means I won't get credit for any clicks, for example ... the failing code is not within a try/catch block (else we wouldn't have seen the error) and Firefox has terminated the running of the Adsense code block at that stage.

So should I be worried about what lines of code aren't getting run and should I pull Image Ads until it gets fixed?

{that's just me thinking out loud, I'm not really asking for someone to run my life for me ;) }

fyi, I also use Google Analytics.

It's definitely a new problem. Now does it coincide with my installing Firefox 3.5 (could the bug be with Firefox for example?) or is it down to a new code release of Adsense logics. They're what I'm currently pondering. I'm going to do some trials with Firefox 3.0 because I'm sure I never saw these errors with that version installed.

davelms




msg:3942086
 9:10 pm on Jun 28, 2009 (gmt 0)

Well, seems it happens with Firefox 3.0 as well.

Maybe I just never noticed it before. Unless anyone panics me with a reply, I'll not worry about this particular error any more.

fredw




msg:3942889
 4:15 am on Jun 30, 2009 (gmt 0)

This is not a new error. A casual googling of the error shows it goes back to, at least, Feburary.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Google / Google AdSense
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved