Trying to test chrome with simple abp-like extension

Everything about using Adblock Plus on Google Chrome
Post Reply
JimT
Posts: 1
Joined: Wed Apr 26, 2017 6:49 pm

Trying to test chrome with simple abp-like extension

Post by JimT »

I'm a chrome developer who is experimenting with some enhancements to webRequest api and I want to develop a simple extension to simulate abp over a very small http page.

So far I am load my simple extension and have it chrome.webRequest.onBeforeRequest.addListener and it sees my request and I am able to cancel it.

The problem is that I also need to hide the element using the style sheet service.

Since I am not experience with js I don't know how to access this service from my background js code running in my simple extension.

I see the code in abp but I don't understand how it is being used.

Your help is appreciated!!!
Post Reply