Hello, I'm working with Adblock plus for a final year college project.
From the developer tools, I notice there is a list of all the blocked and whitelisted elements from each page. I'm trying to store this list for each web page, sort of like a tracker for all the web pages. I'm just wondering if this is possible? Or would it be wiser to use webcrawler software like jsoup, alongside the regex code that works with the easylist of blockable ads?
Any sort of input would be greatly appreciated, struggling at the moment.
Thanks,
Killian
Also please check this sites! i cant see any thumbs with adblock? why?
https://bbwcams.cc/
https://bbwsexcam.net/
https://bbwlivecam.net/
Blocked Ads List
Blocked Ads List
Last edited by miyosobu on Wed Jun 22, 2022 5:54 am, edited 1 time in total.
Re: Blocked Ads List
Adblock Plus doesn't store or provide a way to export that information so there's no easy solution that I could think of.
However, you could modify the extension and replace its developer tools panel (see devtools-panel.js). By doing that, you could capture and store those requests and the filters in whatever format works best for you. Alternatively, you could do all of that without even having the developer tools window open, by modifying lib/devtools.js.
If you want to implement it as a crawler or as a separate extension, I'd recommend having a look at the adblockpluscore npm package which allows you to use Adblock Plus' filter engine directly.
However, you could modify the extension and replace its developer tools panel (see devtools-panel.js). By doing that, you could capture and store those requests and the filters in whatever format works best for you. Alternatively, you could do all of that without even having the developer tools window open, by modifying lib/devtools.js.
If you want to implement it as a crawler or as a separate extension, I'd recommend having a look at the adblockpluscore npm package which allows you to use Adblock Plus' filter engine directly.