Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9143577
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T10:03:20+00:00 2026-06-17T10:03:20+00:00

i have an https page where i embed disqus for commenting on the posted

  • 0

i have an https page where i embed disqus for commenting on the posted data. Issue is when the page gets loaded in chrome, it blocks the disqus code to execute, as it is served from a http host.
specifically:

script(type="text/javascript")
var disqus_shortname = 'postocks';
(function() {
    var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
    dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
    (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();

so disqus doesn’t get loaded in chrome. Works fine in firefox,safari.

I tired to fix it by:

  1. making dsq.src to
    dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; and it dint work.
  2. i had seen the jquery docs section making use of the same earlier. Tried the page now sothat i could refer the code. Disqus seems removed.

Is there any fix by which i can geet it working on the https page?
Also if i get the embed.js on my https host and serve it, will that make a difference.
Please suggest.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T10:03:22+00:00Added an answer on June 17, 2026 at 10:03 am

    Simply, load the Disqus content using https, as discussed here.

    dsq.src = 'https://' + disqus_shortname + '.disqus.com/embed.js';
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have used the HTML5 embed code from this page: http://apiblog.youtube.com/2010/07/new-way-to-embed-youtube-videos.html <iframe class=youtube-player type=text/html
I have a page which is Https, I am pulling some rss feeds using
I discovered https://developers.google.com/speed/pagespeed/ the other day and have improved my website's page speed from
I have page(lets say https://example.com/dir1/tidy.html ), that embeds an iframe that hosts content from
I have a page that looks perfectly at http://esolar.ca/calculator But when I embed it
I have two questions: I am trying to embed fonts via this page in
I have noticed that, from Google Maps page, you can get an embed link
I have some embed code that users can put on their sites. It creates
The google translate that you actually embed on your page... http://translate.google.com/translate_tools If you have
I have an iframe page at http://kuroato.com/apo/adplay.html and I want to embed this iframe

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.