Disable Disqus URL Tracking

Remove the http[s]://disq.us/url?url= Disqus added in 2016-12

作者
Luke Breuer
日安装量
0
总安装量
252
评分
4 0 1
版本
0.4
创建于
2016-12-20
更新于
2018-08-27
大小
2.4 KB
许可证
暂无
适用于

Works on:

  • comments loaded in the initial chunk (for me: 50 comments)
  • comments loaded by the "Load more comments" button
  • comments loaded via opening a new page with a #comment- bookmark (sometimes, some initial # of comments will be loaded, then a few more will be loaded related to the bookmark)

Doesn't work on:

  • edited comments
  • comments loaded via a change in bookmark (i.e. #comment-) which doesn't cause a complete page refresh

Probably doesn't work on:

  • comments loaded via "view new reply" or whatever it is
  • newly posted comments

There are probably ways to fix at least some of the above, requiring more effort and a Disqus sandbox. What I'm wary of is constantly polling the # of comments via something like $("#conversation li.post").length; that seems like it might make things sluggish and drain battery. So, as far as I can see, to add functionality I would need:

  • a Disqus sandbox somewhere
  • a way to monitor bookmark (#comment-) changes in the parent of the Disqus iframe

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址