Topic-icon Unsafe Javascript Attempt

Active Subscriptions:

None
10 years 7 months ago - 10 years 7 months ago #37295 by stelee
I am getting the following error when viewing pages on our site:

Unsafe JavaScript attempt to access frame with URL www.wickeddigital.com.au/information/art...-cables-have-arrived from frame with URL www.facebook.com/plugins/like.php?action...aces=false&width=285. Domains, protocols and ports must match.

Please advise?
Last edit: 10 years 7 months ago by stelee.
The topic has been locked.
Support Specialist
10 years 7 months ago #37302 by alzander
Replied by alzander on topic Unsafe Javascript Attempt
Steve,
That's a normal warning and there's nothing that can be done to prevent it. Basically, Javascript from one domain (Facebook) is trying to access and alter content from another domain (your site). There's a warning thrown in the Javascript console because that behavior isn't allowed as it could introduce security issues.

Facebook (and every other social network that has social widgets.. like buttons, share buttons, etc) tries that method because on some browsers it does work. If it doesn't, then they have to fall back to other options to update their Like counter and other features that you're displaying on your site.

In general though, even though that message is shown in the console log, you shouldn't see any negative issues on your site and most users never use the error console and won't see it either. If you feel there are actual functional issues though, just let us know, and we'll gladly investigate further.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 7 months ago #37311 by stelee
Replied by stelee on topic Unsafe Javascript Attempt
OK thank you!
The topic has been locked.
Support Specialist
10 years 7 months ago #37320 by alzander
Replied by alzander on topic Unsafe Javascript Attempt
No problem. I hope that explained well enough. As always, should you need anything else, just let me know.

Thanks,
Alex
The topic has been locked.