To upload an extension, head over to the Chrome Developer Dashboard. In the upper right is a button labelled "Add new item." Upload a ZIP archive of your extension, fill out all of the technical and privacy information for your extension, then submit it for review. Thanks so much for watching!
Whenever you see an ad on your browser (e.g., a banner or sidebar ad) you can hover your mouse over the ad to show the URL in the bottom left corner of the screen, as long as you have status bar enabled in your browser settings.
awesome video bro, just one thing can we dynamically add extensions in the extension popup html so that those will also be blocked? is there a way to dynamically add it?
Let me check if I'm understanding. Do you mean allowing the user of the extension to add additional URL match patterns to block? If that's the case, we would have to use a plain JS object for our rules instead of a JSON file, which would be difficult because the rulesets are connected inside of our Manifest. So maybe there is something in the Chrome API that can allow us to update our rulesets on the fly. Thanks so much for watching!!
@@KryptechOfficial ya bro i want to put a add url in the popup html where the user can put desired url that will be blocked after getting added, is there a way to implement it? i was reading manifest v3 documentation bt didn't find anything similar
bro theres a extension in chrome webstore named A-blocker adblocker , it has a feature of adding or removing url from adblocker, how to implement it? the code isnt open source so i didnt find any resource for it@@KryptechOfficial
@Rajdweep To do this you can use the chrome.webRequest API. When the user adds a new URL to block, put it into local or synced storage using chrome.storage. Then in your background script, fetch all the blocked URLs from storage. There is a listener called chrome.webRequest.onBeforeRequest, in the callback you can check if the attempted request is going to a blocked URL, then cancel the request. I hope this helps, and good luck!! 😁
thanks bro im searching about chrome.webRequest API.but in manifest v3 we need a rules.json right to block particular urls, how will i modify it dynamically?@@KryptechOfficial
Unfortunately that is quite complex because of how UA-cam handles their ad feeds. If you want to block ads on UA-cam and Twitch, I'd recommend the free AdBlock extension. I use it and I am never bothered by ads.
great tutorial
Nice video man! Short and to the point.
Glad you liked it!
it worked! got rid of the annoying videos and redirect websites on the comics site i read. thanks man!
My first extension
Please make full course chrome extension development.
It's on the plan!
Please make full course chrome extension development
I'm currently in the planning stages of a full course!
Loved your video, learned alot from it. Thank you so much. Please make slightly advanced project on chrome extension which i can add on my resume.
I will definitely make more content on Chrome extension soon, I'm currently working on a full course on extension development. Thanks for watching!
Shit was fire no cap
Very good stuff bro :D
Thanks so much!!
keep uploading these videos bro
How do we upload to the chrome extensions, means how other users can access?
To upload an extension, head over to the Chrome Developer Dashboard. In the upper right is a button labelled "Add new item." Upload a ZIP archive of your extension, fill out all of the technical and privacy information for your extension, then submit it for review.
Thanks so much for watching!
how do we know where the resource of the ads?
like, if some websites use url other than these two, I want to block them as well
How did you find which ad url needs to be blocked? For example how to find doubleclick site?
Whenever you see an ad on your browser (e.g., a banner or sidebar ad) you can hover your mouse over the ad to show the URL in the bottom left corner of the screen, as long as you have status bar enabled in your browser settings.
i face this issue : Unrecognized manifest key 'declarativeNetRequest'. any idea ?
This was amazing and fast. Can you make one that blocks UA-cam ads?
I wrote an extension that foregos youtube video ads. I can send you the link if you'd like. I'm working on integrating pop-up ad blocker as well rn
@@prodqt3906 Can i have the link?
@@prodqt3906 oooh, whats you youtube one
@@prodqt3906can you provide the code
Solid!
great to the point video...loved it
I'm glad I could help!!
short and clear, can you just upload the code or github link for this.?
No problem! I just uploaded the code to GitHub, check the description for the link! It appears under the "RESOURCES" heading
How can we made a ad-blocker that will trigger by a button
could i use a list of urls in the rules?
Thank you for this video
No problem bro! Also, I'm live streaming in a couple of days doing more Chrome Extension stuff, keep an eye out for it!
who pays for an adblocker? the best are open sourced, and they block you tube ads
how to add working on and off button to the popup
i have made my 1st chrome extension today: select and search games
Congrats!! 🥳🥳 Keep up the great work
awesome video bro, just one thing can we dynamically add extensions in the extension popup html so that those will also be blocked? is there a way to dynamically add it?
Let me check if I'm understanding. Do you mean allowing the user of the extension to add additional URL match patterns to block?
If that's the case, we would have to use a plain JS object for our rules instead of a JSON file, which would be difficult because the rulesets are connected inside of our Manifest. So maybe there is something in the Chrome API that can allow us to update our rulesets on the fly.
Thanks so much for watching!!
@@KryptechOfficial ya bro i want to put a add url in the popup html where the user can put desired url that will be blocked after getting added, is there a way to implement it? i was reading manifest v3 documentation bt didn't find anything similar
bro theres a extension in chrome webstore named A-blocker adblocker , it has a feature of adding or removing url from adblocker, how to implement it? the code isnt open source so i didnt find any resource for it@@KryptechOfficial
@Rajdweep To do this you can use the chrome.webRequest API. When the user adds a new URL to block, put it into local or synced storage using chrome.storage. Then in your background script, fetch all the blocked URLs from storage.
There is a listener called chrome.webRequest.onBeforeRequest, in the callback you can check if the attempted request is going to a blocked URL, then cancel the request.
I hope this helps, and good luck!! 😁
thanks bro im searching about chrome.webRequest API.but in manifest v3 we need a rules.json right to block particular urls, how will i modify it dynamically?@@KryptechOfficial
is it possible to mute e jump ads you tub3 auto?
Thanks
Is there adblocker on FB messenger?
Can this be done on Android?
Chrome for Android doesn't currently support extensions, so you'll have to use the Kiwi Browser, which is Chromium-based. 🙂
@@KryptechOfficialThanks. I wish it worked for YT. They drive you nuts.
Id love for you to make 1 for youtube.
amazing!!! fatastic!!!
can you make a video on how to code an adblocker for twitch and youtube
Unfortunately that is quite complex because of how UA-cam handles their ad feeds. If you want to block ads on UA-cam and Twitch, I'd recommend the free AdBlock extension. I use it and I am never bothered by ads.
@@KryptechOfficialsure i try it
@@KryptechOfficial The online video giant (YT) has now declared war on AdBlock-style apps.
@@thepragmatic6383 I'm aware of that hahah, I believe that's the reason this video is now getting more views than usual XD
GG
so we built nothing, but just patched two config files which are handled by the browser in some hidden abstracted way