News for hackers. Stuff that matters.

Show HN: NoFap: I created an extension to block porn websites

https://github.com/dikshantrajput/noFap

The NoFap Extension is a browser tool designed to block access to pornographic websites. Unlike other blockers that require users to add URLs manually, this extension automatically bans such websites without the need for user intervention. It provides a simple and effective solution for those seeking to limit their exposure to explicit content online.
( 10 comments | 2 points | on HN )
Re:Show HN: NoFap: I created an extension to block porn webs... by quectophoton on Saturday April 20, 2024 @08:42AM (#40096947)
If you're looking for something similar but at DNS level, you can use Mullvad's public DNS servers:

https://mullvad.net/en/help/dns-over-https-and-dns-over-tls

Re:Show HN: NoFap: I created an extension to block porn webs... by yawpitch on Saturday April 20, 2024 @08:51AM (#40097013)
And for those not seeking to limit their exposure, this extension provides a substantial list of porn websites to choose from: https://github.com/dikshantrajput/noFap/blob/main/public/lis...
Re:Show HN: NoFap: I created an extension to block porn webs... by MildlySerious on Saturday April 20, 2024 @09:10AM (#40097110)
36,046 lines. Somehow I didn't expect it to be that substantial.
Re:Show HN: NoFap: I created an extension to block porn webs... by yawpitch on Saturday April 20, 2024 @09:51AM (#40097363)
To be fair to the notion of substantial, it likely represents well under 0.1% of the pornographic sites on the public internet.
Re:Show HN: NoFap: I created an extension to block porn webs... by MildlySerious on Saturday April 20, 2024 @12:26PM (#40098509)
Of the currently operating ones? I doubt that. Even just within that list there's a significant percentage of link rot present. Beyond the top ~5000 or so sites I would wager the longevity of adult content sites is pretty bad on average. They tend to be sketchy, ad-infested cesspools after all, that lose their value for the operators once they get on block lists.

I don't doubt that there's a lot more out there (10x yes, 100x possibly, 1000x unlikely imo), but I think tens-of-thousands is enough to capture almost all of the significant ones that get any traffic and will be around for longer than one or two domain renewal periods.

Re:Show HN: NoFap: I created an extension to block porn webs... by dkraj on Saturday April 20, 2024 @12:43PM (#40098616)
Agreed with you MildlySerious. Thanks for pointing it out. If anyone reading this reply have any, please open an issue. At the end it will help someone.
Re:Show HN: NoFap: I created an extension to block porn webs... by dkraj on Saturday April 20, 2024 @12:39PM (#40098591)
I also just got the file from some public pool
Re:Show HN: NoFap: I created an extension to block porn webs... by dkraj on Saturday April 20, 2024 @12:39PM (#40098590)
lol
Re:Show HN: NoFap: I created an extension to block porn webs... by pestatije on Saturday April 20, 2024 @09:41AM (#40097306)
does it block twitter?
Re:Show HN: NoFap: I created an extension to block porn webs... by dkraj on Saturday April 20, 2024 @12:38PM (#40098581)
No, it does not. you can go to x.com or twitter.com