Disable Disqus URL Tracking

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

As of 2018-08-27. See the latest version.

Author
Luke Breuer
Ratings
0 0 0
Version
0.4
Created
2016-12-20
Updated
2018-08-27
License
N/A
Applies to

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