Disable Disqus URL Tracking

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

Author
Luke Breuer
Daily installs
0
Total installs
171
Ratings
4 0 1
Version
0.4
Created
Updated
License
N/A
Applies to

Author's Description

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