News for hackers. Stuff that matters.
Re:Show HN: A Firefox extension to leave comments on any URL by syx on Thursday June 27, 2019 @08:12AM (#20293701)
This was more of a kludge than a serious project, but glad I was not the only one to find this useful, will definitley continue working on it.

>Is it possible to avoid duplicates?

I thought about this as well in the past but never actually found a solution. Maybe someone here knows if there's research or an algorithm to uniquely identify the URL.

Edit: typos

Re:Show HN: A Firefox extension to leave comments on any URL by 333c on Thursday June 27, 2019 @01:29PM (#20296594)
Some pages will link to a canonical URL in the head: https://en.wikipedia.org/wiki/Canonical_link_element
Re:Show HN: A Firefox extension to leave comments on any URL by weaksauce on Thursday June 27, 2019 @11:33AM (#20295327)
Stripping out the query string probably works for 80%(maybe even more) of the sites. Maybe that by default and then an option to search for the whole url as a fallback?