Halal-Patrol
Halal Patrol is a chrome extension that removes text that is inappropriate for kids and it gives a warning on a page that has inappropriate content.
Inspiration: A few weeks ago, I was sitting alongside my friend's younger brother and I saw that he had opened an article via Facebook that had inappropriate language to it. This had me thinking that how many kids stumble upon such pages and learn words and are exposed to information that is inappropriate for their age! After research, I found out that 56% of 11-16-year-olds have seen explicit content online and one in ten children aged 8 -11 who go online said they had seen something nasty or worrying online. These statistics are very worrisome and something has to be done about it!
What It Does: If Halal-Patrol is installed as an extension on your kid's device, it gets access to every page that is being opened! Once opened, if it finds any inappropriate word, it gives a warning on the page that says 'Haram' as well as removing the text from the page. As of right now, I have had to code the words manually so the page detects them.
How I Built It: Firstly, I brainstormed various ideas that I could build myself! I accessed the problems that Muslims are facing and I tried to come up with solutions! Some of my ideas were really big, and being a beginner myself, I could not complete those. I finally decided to start Halal-Patrol!
1) I created a basic manifest.json file. 2) I loaded my extension into Chrome. 3) Added a content script. 4) I coded this extension in JavaScript. I wrote a function that finds some specific words that are inappropriate words and the function then removes that specific paragraph that contains the word from the page. 5) I also added an alert that would say Haram if an inappropriate word is found!
Challenges I ran into: I am a rising Sophomore who has just decided to major in Computer Science. I have very little knowledge regarding coding and mostly everything that I have learned is from YouTube. Prior to this Hackathon, I had no knowledge of how to make a chrome extension and how to code it. I had to learn everything from YouTube and then had to implement it.
Accomplishment I Am Proud Of: I was successful in building what I wanted to and that also alone! I know that my project might look easy, but I have big things for it in mind for the future! Also, as a beginner, this project seemed huge!
What The Future Holds For Halal-Patrol: Find or create a database that feeds in inappropriate language for children and integrate the database with the extension!
Log in or sign up for Devpost to join the conversation.