Closed rajatjain1997 closed 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.
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.
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.
Closed in pull request #40 to master.
To prevent this, check the query for bad-words and blockedURLs.