JavaScript Errors with the Share This Widget
-
JavaScript is throwing up 30+ errors due to IFRAME domain protocol errors when showing the Share buttons.
For example on a site I am using (all http, no SSL) on a page I am using these buttons I get the following errors.
I don’t know if all of these are down to you but I thought I would post them anyway.
Blocked a frame with origin “https://platform.twitter.com” from accessing a frame with origin “https://www.mywebsite.com”. The frame requesting access set “document.domain” to “twitter.com”, but the frame being accessed did not. Both must set “document.domain” to the same value to allow access.
Blocked a frame with origin “https://accounts.google.com” from accessing a frame with origin “https://www.mywebsite.com”. The frame requesting access has a protocol of “https”, the frame being accessed has a protocol of “http”. Protocols must match.
Blocked a frame with origin “https://www.reddit.com” from accessing a frame with origin “https://www.mywebsite.com”. Protocols, domains, and ports must match.
Blocked a frame with origin “https://www.mywebsite.com” from accessing a frame with origin “https://www.facebook.com”. The frame requesting access has a protocol of “http”, the frame being accessed has a protocol of “https”. Protocols must match.
Blocked a frame with origin “https://www.mywebsite.com” from accessing a frame with origin “https://apis.google.com”. The frame requesting access has a protocol of “http”, the frame being accessed has a protocol of “https”. Protocols must match.
Blocked a frame with origin “https://www.mywebsite.com” from accessing a frame with origin “https://platform.twitter.com”. The frame being accessed set “document.domain” to “twitter.com”, but the frame requesting access did not. Both must set “document.domain” to the same value to allow access.
Blocked a frame with origin “https://www.mywebsite.com” from accessing a frame with origin “https://www.reddit.com”. Protocols, domains, and ports must match.
Blocked a frame with origin “https://www.mywebsite.com” from accessing a frame with origin “https://widgets.wp.com”. The frame requesting access has a protocol of “http”, the frame being accessed has a protocol of “https”. Protocols must match.
Blocked a frame with origin “https://widgets.wp.com” from accessing a frame with origin “https://www.mywebsite.com”. The frame requesting access has a protocol of “https”, the frame being accessed has a protocol of “http”. Protocols must match.
Blocked a frame with origin “https://www.facebook.com” from accessing a frame with origin “https://www.mywebsite.com”. The frame requesting access has a protocol of “https”, the frame being accessed has a protocol of “http”. Protocols must match.
[blocked] The page at https://www.stumbleupon.com/badge/embed/1/?url=http%3A%2F%2Fwww.mywebsite…oyd%20Williams%E2%80%99%20horses%20dominate%20The%20Metropolitan%20weights ran insecure content from https://cdn.stumble-upon.com/js/badge_su.js?v=20120613.
https://www.stumbleupon.com/:1
[blocked] The page at https://www.stumbleupon.com/badge/embed/1/?url=http%3A%2F%2Fwww.mywebsite…oyd%20Williams%E2%80%99%20horses%20dominate%20The%20Metropolitan%20weights ran insecure content from https://cdn.stumble-upon.com/css/badges_su.css?v=20120613.
https://www.stumbleupon.com/:1
Blocked a frame with origin “https://www.stumbleupon.com” from accessing a frame with origin “https://www.mywebsite.com”. The frame requesting access has a protocol of “https”, the frame being accessed has a protocol of “http”. Protocols must match.
getValues 1 ta.user.js:7324
Blocked a frame with origin “https://widgets.getpocket.com” from accessing a frame with origin “https://www.mywebsite.com”. The frame requesting access has a protocol of “https”, the frame being accessed has a protocol of “http”. Protocols must match.
Failed to load resource: the server responded with a status of 502 (BAD_GATEWAY) https://log.pinterest.com/?via=http%3A%2F%2Fwww.mywebsite.com%2F…%2F&guid=8CX0nGmVFguS&type=pidget&callback=PIN_1379320446647.f.callback%5B1%5D
getValues 1 ta.user.js:7324
Blocked a frame with origin “https://jetpack.wordpress.com” from accessing a frame with origin “https://www.mywebsite.com”. The frame requesting access has a protocol of “https”, the frame being accessed has a protocol of “http”. Protocols must match.
getValues 1 ta.user.js:7324
Blocked a frame with origin “https://public-api.wordpress.com” from accessing a frame with origin “https://widgets.wp.com”. Protocols, domains, and ports must match.Do I need to do something to get these frame issues sorted? I know lots of social media sites are using https now so is it a problem with an http protocol accessing https? I see many pieces of code nowadays that just use // and skip the protocol e.g //facebook or //twitter etc.
I don’t know what the errors are causing to actually go wrong but the “More” drop down popup is a mess with icons not showing properly etc.
Does the JS code need to be outputted in a certain place in the theme for these errors not to appear? Or is it a case of live with the errors?
Thanks
- The topic ‘JavaScript Errors with the Share This Widget’ is closed to new replies.