Model used nsfwjs developed by Infinite Red, Inc.
Inspired by nsfw-filter
After adding the extension to your browser, it will block pages that contain porn.
Do not forget to allow the extension in incognito mode. To do this, go to chrome://extensions/ then details then "Allow in incognito".
After the extension is installed, the first page loaded will load the AI model in the cache, so it might be slow for a few seconds.
But after it's in the cache, it should be quite fast.
If your computer still cannot handle it, you can disable the AI filter in the menu.
Clone this repository and navigate inside the project folder and install the dependencies by running:
npm i
After installing the dependencies, build the project by executing:
npm run build
Then, go to chrome://extensions/ then "load unpacked" and select the dist/ folder