Opened 5 years ago

Last modified 4 years ago

#416 new change

Show blocked resources

Reported by: fhd Assignee: hexene
Priority: P3 Milestone:
Module: Adblock-Plus-for-Android Keywords:
Cc: arthur, greiner Blocked By:
Blocking: Platform: Android
Ready: yes Confidential: no
Tester: Verified working: no
Review URL(s):

Description

Background

Figuring out which resources a page requests (and which of those get blocked) currently requires debugging the app. That makes debugging filter issues prohibitively difficult.

What to change

Add an activity that shows all the resources that get requested, and the filter that blocked them (if any). Since we really need to conserve memory, this should be disabled per default.

Change History (7)

comment:1 Changed 5 years ago by arthur

  • Cc arthur added

comment:2 Changed 5 years ago by greiner

Wouldn't it be more comfortable for filter authors to have that infomation displayed on a computer screen rather than on the phone? Maybe we could stream this data to the computer and display it there using USB debugging. This might also eliminate the need for additional memory to be consumed on the device.

Other benefits of this approach:

  • We would see more information at once (independent of screen size).
  • At some point we could create a nice GUI for that to make filter creation even easier.
  • By writing the filters on the computer and allowing the injection of custom filters via this interface we could eventually streamline the whole process.

comment:3 Changed 5 years ago by philll

Apparently, we cannot really ask for greiners approach from users when trying to debug something...

comment:4 Changed 5 years ago by fhd

Yeah, doing this via USB is possible, and it'd be pretty convenient for working on filter lists.

However, this issue is about showing blocked resources, and for just that I think doing it in the app is the better option. It's less development effort, it doesn't require the user to install the Android SDK, and it works on the run.

Feel free to create an issue for USB debugging of filters though, I think that'd be nice.

comment:5 Changed 4 years ago by fhd

  • Owner set to hexene
  • Platform set to Unknown

comment:6 Changed 4 years ago by fhd

  • Platform changed from Unknown to Android

comment:7 Changed 4 years ago by greiner

  • Cc greiner added
Note: See TracTickets for help on using tickets.