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
Code study: Chrome- Devtools.js!!
-
- Posts: 1
- Joined: Tue Oct 01, 2019 2:14 am
Code study: Chrome- Devtools.js!!
Last edited by kimblegomes on Thu Oct 03, 2019 4:13 pm, edited 1 time in total.
Re: Code study: Chrome- Devtools.js!!
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
HitLogger.addListener()