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
Access the page of Chrome extensions (chrome://extensions/)
Enable Developer Mode
Click Load unpacked
Select file
Activation
Search Crypsis
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
- Fork it (https://github.com/matthewninja/sfw-helper/fork)
- Create your feature branch:
git checkout -b new-feature
- Commit your changes:
git commit -am 'Add feature'
- Push to the branch:
git push origin new-feature
- Create a new Pull Request
Built With
- bootstrap
- express.js
- handlebars.js
- javascript
- jquery
- mobilenet
- mysql
- node.js
- tensoreflow
Log in or sign up for Devpost to join the conversation.