Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A Google Chrome/ Firefox extension that blocks NSFW images from the web pages that you load using TensorFlow JS.

License

Notifications You must be signed in to change notification settings

deeplearning2012/nsfw-filter

NSFW Filter

A free, open source, and privacy-focused browser extension to block "not safe for work" content.

Built using TypeScript, TensorFlow.js, and NSFWJS.

Download now from chrome web store!

Demo of using NSFW Filter

Table of contents

Usage

You can install the extension from the chrome web store or source.

When you load web pages, NSFW Filter will first hide all images and only show those classified as safe.

To customize the extension, click the icon in your extensions tab.

NSFW Filter popup

Development

Install dependencies by running:

npm install

Then build the project:

npm run build

To run the tests:

npm run test

To run a development version with live reload, run:

npm run dev:chrome

Or open Google Chrome and open the Extension Management page by navigating to chrome://extensions or by opening Settings and clicking Extensions from the bottom left.

Enable Developer Mode by clicking the toggle switch next to Developer mode.

Click the "Load Unpacked" button and select the extension directory(.../dist).

Load extension to Chrome in developer mode

Contribute

Please check the Contributing Guidelines before contributing.

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!

About

A Google Chrome/ Firefox extension that blocks NSFW images from the web pages that you load using TensorFlow JS.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 80.5%
  • JavaScript 19.0%
  • HTML 0.5%

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /