crypsis

Chrome extension to make web content SFW while still allowing access to the site.

Motivation

Sanitation of webcontent as protection against innappropriate images through replacement by a harmless image. For use in public administrative, professional, and parental environments. The user-chosen censorship of multimedia protects against taboo content.

Features

General Features

  • Established standard of error for filter
  • Option for advanced settings for requested filters
    • Block entry into sites containing restricted images
    • Selectively restricting keywords
    • Blocking manual input user-selected domains
  • Password protected user-settings
  • Registered accounts to be used on multiple devices
  • Help/Documentation Support
    • FAQ
    • Contacts list

Neutralizing Features

  • Blocks porn and other adult content
  • Blocks gore involving graphic violence
  • Blocks innappropriate keywords and phrases

Installation

Download

  1. Access the page of Chrome extensions (chrome://extensions/)

  2. Enable Developer Mode

  3. Click Load unpacked

  4. Select file

Activation

  1. Visit the Extension Webstore

  2. Search Crypsis

  3. Select Add to Chrome

Usage

Image Replacement

Through the utilization of Tensorflow models and creating neural networks, when an undesirable image is detected, it is replaced by an appropriate image

if (predictions[i].className.match(/cat/g) && predictions[i].probability >= 0.50) {
            images[i].src = "./images/dog.jpg";
 }

Here, once the probability of the image being a cat is greater than 50%, it is replaced with an image of a dog

Image Updates

The page might load new images and ads dynamically, use a loop to periodically update images.

var mainLoopId = setInterval(function(){
    console.log("updating images...");
    updateImages();
}, 5000);

Runs only when new images are loaded, otherwise, no updates and no new replacements

Future Expansion

Additional analysis of potential bias in sources through NLP and cultural/political association

Tech Updates

Incorporate NLP to specify restricted content, eg. Select keywords

Business Development

Personal plan for family/individual use

  • Account sign-in on multiple devices

Enterprise subscription-based plan for large institutions

  • Set-up for many users

Contributing

  1. Fork it (https://github.com/matthewninja/sfw-helper/fork)
  2. Create your feature branch: git checkout -b new-feature
  3. Commit your changes: git commit -am 'Add feature'
  4. Push to the branch: git push origin new-feature
  5. Create a new Pull Request
Share this project:

Updates