PageSourceSearch

https://meilbn.com/js/third-party/comments/disqusjs.js

js meilbn.com collected 2026-10-02 16:02:57 UTC 774 bytes, 23 lines download raw bytes

1/* global NexT, CONFIG, DisqusJS */
2
3document.addEventListener('page:loaded', () => {
4  if (!CONFIG.page.comments) return;
5
6  NexT.utils.loadComments('#disqus_thread')
7    .then(() => NexT.utils.getScript(CONFIG.disqusjs.js, { condition: window.DisqusJS }))
8    .then(() => {
9      window.dsqjs = new DisqusJS({
10        api       : CONFIG.disqusjs.api || 'https://disqus.com/api/',
11        apikey    : CONFIG.disqusjs.apikey,
12        shortname : CONFIG.disqusjs.shortname,
13        url       : CONFIG.page.permalink,
14        identifier: CONFIG.page.path,
15        title     : CONFIG.page.title
16      });
17      window.dsqjs.render(document.querySelector('.disqusjs'));
18    });
19});
20
21document.addEventListener('pjax:send', () => {
22  if (window.dsqjs) window.dsqjs.destroy();
23});

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.