Javascript Error

Wear your anorak proudly here! The place to discuss website & forum developments, administration, wish-lists, bugs, abuse etc
Post Reply
Bluesman
Posts: 30
Joined: 22 Jan 2013 11:01
Location: Honor Oak

Javascript Error

Post by Bluesman »

Whenever I click on a thread I get a Javascript error:

Description: Invalid character
Source: http://pagead2.googlesyndication.com/pagead/show_ads.js
Line: 1

Am using IE9 (9.0.8112.16421) on Windows 7 64bit SP1. Any ideas?
admin
Site Admin
Posts: 2575
Joined: 20 Sep 2004 21:49

Re: Javascript Error

Post by admin »

It appears there could be a bug in the Google Javascript (unlikely).
Or a bug/feature in IE9 (less unlikely).
Workaround: Upgrade to Chrome, Firefox or Opera ... all free and generally considered superior.

Oh - and welcome to the land of the free!

Admin
Rachael
Posts: 2455
Joined: 23 Jan 2010 13:42
Location: Sydenham / Forest Hill Intersection

Re: Javascript Error

Post by Rachael »

Internet Explorer - still the most popular web browser for downloading a better web browser.

[ Post made via Mobile Device ] Image
Bluesman
Posts: 30
Joined: 22 Jan 2013 11:01
Location: Honor Oak

Re: Javascript Error

Post by Bluesman »

Thanks for the welcome :D and the browser advice. LOL.

While I am aware of other browsers am not going to download one on this particular machine just to get a single website working - bit of a sledghammer to crack a nut that one. I suspect character set issues but in the meantime will put up with clicking ok to ignore the ad.

FYI, just tested on another machine with IE8. No error but no ad either.
Bluesman
Posts: 30
Joined: 22 Jan 2013 11:01
Location: Honor Oak

Re: Javascript Error

Post by Bluesman »

Thought I would report back in case this helps anyone else.

I noticed that an error was caused in Chrome also which appears in the Javascript console:
Uncaught SyntaxError: Unexpected token ILLEGAL show_ads.js:1

The illegal code was this:
GIF89a����!�,D;

Which of course isn't Javascript. This led me to the root cause which is Kaspersky Antivirus:
http://forum.kaspersky.com/lofiversion/ ... 44375.html

Sadly, the solution posted isn't available though can prove it is the problem by disabling Kaspersky altogether and the pages load ok. Progress of sorts.
Bluesman
Posts: 30
Joined: 22 Jan 2013 11:01
Location: Honor Oak

Re: Javascript Error

Post by Bluesman »

Ok found it in Kaspersky settings>protection>Anti-spy>Anti-banner>settings>White List. Added http://pagead2.googlesyndication.com to this list.

This fixes it. Phew.
Post Reply