PageSourceSearch

https://startupxplore.com/en/blog/wp-content/plugins/disqus-commen…/public/js/comment_embed.js?ver=3.1.4

js startupxplore.com collected 2026-10-01 08:42:09 UTC 1,729 bytes, 40 lines download raw bytes

1var disqus_url = embedVars.disqusUrl;
2var disqus_identifier = embedVars.disqusIdentifier;
3var disqus_container_id = 'disqus_thread';
4var disqus_shortname = embedVars.disqusShortname;
5var disqus_title = embedVars.disqusTitle;
6var disqus_config_custom = window.disqus_config;
7var disqus_config = function () {
8    /*
9    All currently supported events:
10    onReady: fires when everything is ready,
11    onNewComment: fires when a new comment is posted,
12    onIdentify: fires when user is authenticated
13    */
14    var dsqConfig = embedVars.disqusConfig;
15    this.page.integration = dsqConfig.integration;
16    this.page.remote_auth_s3 = dsqConfig.remote_auth_s3;
17    this.page.api_key = dsqConfig.api_key;
18    this.sso = dsqConfig.sso;
19    this.language = dsqConfig.language;
20
21    if (disqus_config_custom)
22        disqus_config_custom.call(this);
23};
24
25(function() {
26    // Adds the disqus_thread id to the comment section if site is using a WP block theme
27    var commentsBlock = document.querySelector('.wp-block-comments');
28    if (commentsBlock) {
29        commentsBlock.id = 'disqus_thread';
30    }
31    if (document.getElementById(disqus_container_id)) {
32        var dsq = document.createElement('script');
33        dsq.type = 'text/javascript';
34        dsq.async = true;
35        dsq.src = 'https://' + disqus_shortname + '.disqus.com/embed.js';
36        (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
37    } else {
38        console.error("Could not find 'disqus_thread' container to load DISQUS.  This is usually the result of a WordPress theme conflicting with the DISQUS plugin.  Try switching your site to a Classic Theme, or contact DISQUS support for help.");
39    }
40})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.