Can I block javascripts using ABP?

Everything about using Adblock Plus on Google Chrome
Post Reply
gotitbro
Posts: 6
Joined: Tue Aug 16, 2016 9:30 am

Can I block javascripts using ABP?

Post by gotitbro »

I would like to block a specific javascript from loading on any webpage. Can I block a particular javascript through its URL, that ends in .js, using ABP?
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Can I block javascripts using ABP?

Post by mapx »

Yes, like any other external resource.
gotitbro
Posts: 6
Joined: Tue Aug 16, 2016 9:30 am

Re: Can I block javascripts using ABP?

Post by gotitbro »

mapx wrote:Yes, like any other external resource.
And how do you do that exactly?
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Can I block javascripts using ABP?

Post by mapx »

provide your example and explain what do you want to block.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Can I block javascripts using ABP?

Post by mapx »

for example you want to block all the scripts on example.com domain:
||example.com^$script

or only namescript.js on the same domain
||example.com/*namescript.js^$script

more about filters
en/filters
gotitbro
Posts: 6
Joined: Tue Aug 16, 2016 9:30 am

Re: Can I block javascripts using ABP?

Post by gotitbro »

mapx wrote:for example you want to block all the scripts on example.com domain:
||example.com^$script

or only namescript.js on the same domain
||example.com/*namescript.js^$script

more about filters
https://adblockplus.org/en/filters
Thanks for the answer. I would like to block http://www.airtel.in/dot/js/common.js & http://www.airtel.in/dot/js/jquery-1.11.1.min.js compltely. How can I do that?
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Can I block javascripts using ABP?

Post by mapx »

as in the example above

Code: Select all

||airtel.in/dot/js/common.js
||airtel.in/dot/js/jquery-1.11.1.min.js
gotitbro
Posts: 6
Joined: Tue Aug 16, 2016 9:30 am

Re: Can I block javascripts using ABP?

Post by gotitbro »

mapx wrote:as in the example above

Code: Select all

||airtel.in/dot/js/common.js
||airtel.in/dot/js/jquery-1.11.1.min.js
Thanks, for helping :D .
User avatar
smed79
Posts: 1224
Joined: Thu Jan 14, 2010 11:51 pm
Location: EasyList Forum
Contact:

Re: Can I block javascripts using ABP?

Post by smed79 »

Also see :

Adblock Plus filters explained filter-cheatsheet
Post Reply