Browser extension that can identify ads in serach result
- Change background color of ads in serach result to red color
- Append in 2021 to all search
- count number of ads in search tab
- Git clone: https://github.com/MahamatTech/Search_Ads.git
- Go to Chrome extension and load app directory from Search_ad_extension
- Enable and pin the extension
- Go to google.com and serach any page that will show ads in it, it will show ads in red color
- open the popup and you will see the ad numbers
-
Used https://github.com/mozilla/webextension-polyfill in order to be compatible with browsres
-
used https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs/sendMessage api for the extension popup to communicate with content script to counts ads.
- identify serach result, ahving ads in DOM through content script
- used https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/webNavigation/onBeforeNavigate api to increase the serach query and update the query with in 2021
I am not getting the result that I want, I am having some difficulty to test other browser extension, that's wht I used only google