Code study: Chrome- Devtools.js!!

Various discussions related to Adblock Plus development

Code study: Chrome- Devtools.js!!

Postby kimblegomes » Tue Oct 01, 2019 2:17 am

Hello all,
I'm trying to get a grasp of the source code, and currently looking through the devtools.js panel.
I'm currently looking through chrome code trying o find out when the devtools-panel list gets updated, and I am trying to grab the information stored from this.
I have an idea that it's near the addRecord(panel, request, filter)/updateFilters(filters, added) methods, but I can't pin it down exactly.

Trying to store the collected information locally

Thanks in advance
Last edited by kimblegomes on Thu Oct 03, 2019 4:13 pm, edited 1 time in total.
Posts: 1
Joined: Tue Oct 01, 2019 2:14 am

Re: Code study: Chrome- Devtools.js!!

Postby greiner » Tue Oct 01, 2019 4:46 pm

If you're interested in listening to network requests and filter hits, I'd suggest checking out adblockpluschrome/lib/hitLogger.js. That's the module which allows other modules (incl. the one responsible for the developer tools panel) to access that kind of data using
Code: Select all
User avatar
ABP Developer
Posts: 803
Joined: Mon Sep 03, 2012 5:29 pm
Location: Cologne, Germany

Return to Adblock Plus development

Who is online

Users browsing this forum: No registered users and 2 guests