ContentHolmes / Content-Holmes

Content Holmes is a one-click AI-based online parenting solution that helps you to keep your children secure from cyber-bullying and adult content online and monitor their activities.
https://www.contentholmes.com
GNU Affero General Public License v3.0
6 stars 4 forks source link

Users can search for porn sites on google and go to Google Images #16

Closed rajatjain1997 closed 7 years ago

rajatjain1997 commented 7 years ago

To prevent this, check the query for bad-words and blockedURLs.

rajatjain1997 commented 7 years ago

Now also checking in bannedsites array for search results.

Need stripping and checking for porn-site check at run-time as well. => The user can still search for website.com and then check images.

rajatjain1997 commented 7 years ago

Also, Google uses 2-3 queries in a single query. Eg-> https://www.google.co.in/search?q=pornhub.com+there&rlz=1C1CHZL_enIN700IN700&oq=pornhub.com+there&aqs=chrome..69i57j69i60.6814j0j1&sourceid=chrome&ie=UTF-8#q=pornhub+where+are+you&*

The query checked by the extension is the first q, however, the actual query is the second one. Need to work on this as well.

rajatjain1997 commented 7 years ago

Corrected the issue in 086b30b37d11766aef4fc152189e93ce958cdd1a. However we need mutation observer to to check for mutations if secondary searches are made after the primary (currently checked) search results are loaded.

rajatjain1997 commented 7 years ago

Closed in pull request #40 to master.