Disable Disqus URL Tracking

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

2017/03/19のページです。最新版はこちら。

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください。
作者
Luke Breuer
評価
0 0 0
バージョン
0.32
作成日
2016/12/20
更新日
2017/03/19
大きさ
1.78KB
ライセンス
不明
対象サイト

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