Title: JavaScript Errors with the Share This Widget
Last modified: August 21, 2016

---

# JavaScript Errors with the Share This Widget

 *  Resolved [strictly-software](https://wordpress.org/support/users/strictly-software/)
 * (@strictly-software)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/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 “[http://platform.twitter.com&#8221](http://platform.twitter.com&#8221);
   > from accessing a frame with origin “[http://www.mywebsite.com&#8221](http://www.mywebsite.com&#8221);.
   > 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&#8221](https://accounts.google.com&#8221);
   > from accessing a frame with origin “[http://www.mywebsite.com&#8221](http://www.mywebsite.com&#8221);.
   > 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“
   > [http://www.reddit.com&#8221](http://www.reddit.com&#8221); from accessing 
   > a frame with origin “[http://www.mywebsite.com&#8221](http://www.mywebsite.com&#8221);.
   > Protocols, domains, and ports must match. Blocked a frame with origin “[http://www.mywebsite.com&#8221](http://www.mywebsite.com&#8221);
   > from accessing a frame with origin “[https://www.facebook.com&#8221](https://www.facebook.com&#8221);.
   > 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“
   > [http://www.mywebsite.com&#8221](http://www.mywebsite.com&#8221); from accessing
   > a frame with origin “[https://apis.google.com&#8221](https://apis.google.com&#8221);.
   > 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“
   > [http://www.mywebsite.com&#8221](http://www.mywebsite.com&#8221); from accessing
   > a frame with origin “[http://platform.twitter.com&#8221](http://platform.twitter.com&#8221);.
   > 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 “[http://www.mywebsite.com&#8221](http://www.mywebsite.com&#8221);
   > from accessing a frame with origin “[http://www.reddit.com&#8221](http://www.reddit.com&#8221);.
   > Protocols, domains, and ports must match. Blocked a frame with origin “[http://www.mywebsite.com&#8221](http://www.mywebsite.com&#8221);
   > from accessing a frame with origin “[https://widgets.wp.com&#8221](https://widgets.wp.com&#8221);.
   > 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&#8221](https://widgets.wp.com&#8221); from accessing
   > a frame with origin “[http://www.mywebsite.com&#8221](http://www.mywebsite.com&#8221);.
   > 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&#8221](https://www.facebook.com&#8221); from accessing
   > a frame with origin “[http://www.mywebsite.com&#8221](http://www.mywebsite.com&#8221);.
   > 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](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 [http://cdn.stumble-upon.com/js/badge_su.js?v=20120613](http://cdn.stumble-upon.com/js/badge_su.js?v=20120613).
   > [http://www.stumbleupon.com/:1](http://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](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 [http://cdn.stumble-upon.com/css/badges_su.css?v=20120613](http://cdn.stumble-upon.com/css/badges_su.css?v=20120613).
   > [http://www.stumbleupon.com/:1](http://www.stumbleupon.com/:1) Blocked a frame
   > with origin “[https://www.stumbleupon.com&#8221](https://www.stumbleupon.com&#8221);
   > from accessing a frame with origin “[http://www.mywebsite.com&#8221](http://www.mywebsite.com&#8221);.
   > 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&#8221](https://widgets.getpocket.com&#8221);
   > from accessing a frame with origin “[http://www.mywebsite.com&#8221](http://www.mywebsite.com&#8221);.
   > 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](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&#8221](https://jetpack.wordpress.com&#8221);
   > from accessing a frame with origin “[http://www.mywebsite.com&#8221](http://www.mywebsite.com&#8221);.
   > 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&#8221](https://public-api.wordpress.com&#8221);
   > from accessing a frame with origin “[https://widgets.wp.com&#8221](https://widgets.wp.com&#8221);.
   > 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
 * [http://wordpress.org/plugins/jetpack/](http://wordpress.org/plugins/jetpack/)

Viewing 3 replies - 16 through 18 (of 18 total)

[←](https://wordpress.org/support/topic/javascript-errors-with-the-share-this-widget/?output_format=md)
[1](https://wordpress.org/support/topic/javascript-errors-with-the-share-this-widget/?output_format=md)
2

 *  Thread Starter [strictly-software](https://wordpress.org/support/users/strictly-software/)
 * (@strictly-software)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/javascript-errors-with-the-share-this-widget/page/2/#post-4132337)
 * Sounds good, but I don’t know if being locked away with just breaks out would
   be good for me. I like the office. Would be better if it was my own office obviously
   but nice to have options anyway.
 *  [chavis2001](https://wordpress.org/support/users/chavis2001/)
 * (@chavis2001)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/javascript-errors-with-the-share-this-widget/page/2/#post-4132370)
 * Hello to all”
    I m having a similar problem but i don’t have any idea what to
   do 🙁 i have this message in google chrome in my site [http://www.designisabel.com](http://www.designisabel.com)
 * Uncaught SecurityError: Blocked a frame with origin “[http://www.designisabel.com&#8221](http://www.designisabel.com&#8221);
   from accessing a frame with origin “chrome-extension://pioclpoplcdbaefihamjohnefbikjilc”.
   The frame requesting access has a protocol of “http”, the frame being accessed
   has a protocol of “chrome-extension”. Protocols must match.
    addGrammarly min.
   js:101 i min.js:101 r min.js:17
 * it keeps repeating till more than 170 errors!
    please i need some help
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [12 years, 4 months ago](https://wordpress.org/support/topic/javascript-errors-with-the-share-this-widget/page/2/#post-4132371)
 * [@chavis2001](https://wordpress.org/support/users/chavis2001/) Could you please
   start your own thread, as per the [Forum Welcome](http://codex.wordpress.org/Forum_Welcome)?
   
   [http://wordpress.org/support/plugin/jetpack#postform](http://wordpress.org/support/plugin/jetpack#postform)
 * Thank you!

Viewing 3 replies - 16 through 18 (of 18 total)

[←](https://wordpress.org/support/topic/javascript-errors-with-the-share-this-widget/?output_format=md)
[1](https://wordpress.org/support/topic/javascript-errors-with-the-share-this-widget/?output_format=md)
2

The topic ‘JavaScript Errors with the Share This Widget’ is closed to new replies.

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

## Tags

 * [javascript error](https://wordpress.org/support/topic-tag/javascript-error/)
 * [stumbleupon](https://wordpress.org/support/topic-tag/stumbleupon/)

 * 18 replies
 * 4 participants
 * Last reply from: [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/javascript-errors-with-the-share-this-widget/page/2/#post-4132371)
 * Status: resolved