Opened on 03/17/2014 at 10:53:37 AM
Closed on 02/03/2016 at 05:25:38 PM
Last modified on 03/02/2016 at 04:43:50 PM
#154 closed change (fixed)
Add devtools panel showing blockable items
Reported by: | sebastian | Assignee: | sebastian |
---|---|---|---|
Priority: | P3 | Milestone: | Adblock-Plus-1.11-for-Chrome-Opera-Safari |
Module: | User-Interface | Keywords: | |
Cc: | trev, fhd, arthur, mapx, jobp, greiner | Blocked By: | #1740, #1801 |
Blocking: | #3596 | Platform: | Unknown |
Ready: | yes | Confidential: | no |
Tester: | Ross | Verified working: | yes |
Review URL(s): |
https://codereview.adblockplus.org/6393086494113792 |
Description (last modified by sebastian)
Background
A fair amount of users on Chrome and Opera would like to have a list of requests that can be blocked, like the "blockable items" we show on Firefox. This is useful to get aware of blocked requests and requests that can be blocked, in particular those that don't have a visible element.
What to change
Implement a devtools panel, showing a list of requests processed by Adblock Plus on the inspected page. Also list applied element hiding filters. Highlight items that are already blocked or whitelisted accordingly. And allow users to block and whitelist requests listed, as well as removing user-defined filters.
Attachments (0)
Change History (36)
comment:1 Changed on 03/17/2014 at 10:57:43 AM by philll
comment:2 Changed on 03/17/2014 at 10:58:20 AM by philll
- Reporter changed from philll to sebastian
comment:3 Changed on 03/19/2014 at 11:24:29 AM by arthur
- Cc arthur@adblockplus.org added
- in_progress set to 0
- Ready unset
comment:4 Changed on 03/31/2014 at 08:34:43 AM by mapx
- Cc smultron45@gmail.com added
comment:5 Changed on 05/09/2014 at 04:04:32 PM by philll
- Cc trev fhd added
We don't seem to generally agree on this issue but rather reject it. Somebody willing to make a final decision to get rid of this zombie?
comment:6 Changed on 05/09/2014 at 04:23:36 PM by mapx
zombie ???
...and the chrome users will never have a blockable items list (when initially it was said that all the features in ABP for firefox will be implemented in chrome too) ?
for example it could be an editable list like that implemented by kiss privacy extension
https://chrome.google.com/webstore/detail/kiss-privacy/lfopjlendebbnfddpgpoaahmpbgmffii?hl=en
comment:7 Changed on 05/09/2014 at 04:44:36 PM by sebastian
@philll: That is just not true. Getting Adblock Plus for Chrome/Opera/Safari on par with the features we have in Firefox (including this one) is one of our long-term goals. The outcome of the discussion above was just that it might not make sense to have the list of blockable items in the bubble, but on separate page or integrated in the developer tools.
comment:8 Changed on 05/09/2014 at 04:48:20 PM by trev
@mapx: Yes, in its current state it's a zombie - there is no agreement on an approach here, meaning that nobody can work on it.
IMHO the alternatives discussed are:
- Put blockable items into the bubble. I already explained above why I don't consider this a real option.
- Use chrome.devtools.panels API. As explained above, there is an issue here - opening the panel programmatically isn't possible. Also, it won't work in Safari.
- Open the list of blockable items in a new tab. The user experience is suboptimal but it will work on both Chrome and Safari and it can be opened programmatically.
- Some combination of all these options, e.g. show the list in the devtools but open a new tab when we need to open it programmatically or on Safari.
It seems that we would have to start with the third alternative either way. After that we can still investigate to what degree it makes sense to integrate it into the devtools or the bubble.
comment:9 Changed on 05/09/2014 at 04:49:24 PM by trev
Oh, I forgot:
- Inject blockable items into the webpage content - definitely the worst possible option.
comment:10 Changed on 05/09/2014 at 05:08:41 PM by sebastian
- Description modified (diff)
- Ready set
Considering all the points that came up during the discussion, I agree that showing the list on a separate tab is the only suitable solution. I have updated the description of the issue accordingly.
comment:11 Changed on 07/09/2014 at 12:38:11 PM by philll
- Platform set to Firefox
comment:12 Changed on 07/22/2014 at 09:25:00 PM by mapx
- Component changed from Unknown to Platform
- Platform changed from Firefox to Chrome
comment:13 Changed on 07/23/2014 at 04:38:19 AM by fhd
- Component changed from Platform to User-Interface
- Platform changed from Chrome to Unknown
- Summary changed from Showing blockable items in the bubble to Showing blockable items
comment:14 Changed on 07/23/2014 at 04:38:33 AM by fhd
- Priority changed from Unknown to P4
comment:15 Changed on 10/23/2014 at 02:05:23 PM by mapx
- Cc arthur mapx added; arthur@adblockplus.org smultron45@gmail.com removed
comment:16 Changed on 12/22/2014 at 02:56:14 PM by mapx
well, it's an old change request ... and a very requested feature.
I guess it would be - for beginning - very useful (and less complex) to have the list of the triggered filters (and items addresses).
In a second moment it could be added the other part (select [multi] elements and block requests / create filters).
comment:17 Changed on 12/23/2014 at 01:15:34 PM by sebastian
- Owner set to sebastian
- Priority changed from P4 to P3
I just started working on it. But currently I'm in the favor of implementing it only as devbuilds panel for Chrome and Opera.
That way we can easily log requests only while the panel is in use and only for the pages it is used on, saving memory and CPU time. Note that we can't really associate the requests with document objects as we do on Firefox to mitigate memory leaks. And even if we could, that wouldn't help in scenarios where pages send XMLHttpRequests every few seconds.
Also I don't think anymore that we need a way to show blockable items programmatically. This is a quiet advanced feature, that IMO doesn't have to be linked in the popup, but rather belongs into the devtools anyway. Moreover, I consider it a rather poor user experience to show blockable elements in a separate tab, if we can use a panel on the corresponding page instead.
comment:18 Changed on 12/28/2014 at 04:27:27 PM by sebastian
- Blocked By 1740 added
comment:19 Changed on 12/28/2014 at 04:44:42 PM by sebastian
comment:20 Changed on 12/30/2014 at 03:27:09 PM by sebastian
- Description modified (diff)
- Summary changed from Add devtools panel showing blockable requests to Add devtools panel showing blockable items
comment:21 Changed on 01/05/2015 at 01:12:21 PM by jobp
- Cc jobp added
comment:22 Changed on 01/05/2015 at 05:59:46 PM by greiner
- Cc greiner added
comment:23 Changed on 01/07/2015 at 01:36:59 PM by sebastian
- Review URL(s) modified (diff)
comment:24 Changed on 02/04/2015 at 07:48:24 PM by sebastian
- Blocked By 1801 added
The latest patch is based on the URL refactoring from #1801, which we probably should merge first.
comment:25 follow-up: ↓ 26 Changed on 04/09/2015 at 03:19:33 PM by RypeDub
I like how people are saying that this could cause legal issues. Ever heard of GreaseMonkey or TamperMonkey? Ever seen any addon ever? There are tons of addons and extensions for the multitude of browsers that offer changing content of a website / webpage as it's loading and after it's fully loaded.
You can't get in trouble by any one for promoting and assisting users modify and alter their web surfing experience.
We aren't hacking the websites and injecting XSS or SQL or JavaScript code into the pages that allow these functions, we are modifying things after / as they are being downloaded onto our own computers.
I totally support this and I hope it gets introduced with the very next update as of this comment.
comment:26 in reply to: ↑ 25 Changed on 04/10/2015 at 08:19:13 AM by fhd
Replying to RypeDub:
I like how people are saying that this could cause legal issues. Ever heard of GreaseMonkey or TamperMonkey? Ever seen any addon ever? There are tons of addons and extensions for the multitude of browsers that offer changing content of a website / webpage as it's loading and after it's fully loaded.
You can't get in trouble by any one for promoting and assisting users modify and alter their web surfing experience.
Unfortunately common sense doesn't always apply. ABP is the biggest browser extension and people certainly like to sue us - if anyone is in danger of getting into trouble for injecting content into a page, it's us, not GreaseMonkey. But as I said a year ago, to my knowledge we shouldn't have to worry about injecting something that's clearly part of our UI.
But that doesn't matter really, since we ended up going for the devtools panel anyway, for non-legal reasons IIRC :)
I totally support this and I hope it gets introduced with the very next update as of this comment.
Well, the patches are up and under review, that can sometimes take a while though.
comment:27 Changed on 01/30/2016 at 03:47:53 PM by sebastian
- Tester set to Unknown
The UI for the devtools panel landed: https://hg.adblockplus.org/adblockplusui/rev/bd1e7562306e
Integration into Adblock Plus for Chrome will follow (hoppefully soon).
comment:28 Changed on 01/30/2016 at 05:07:58 PM by sebastian
- Blocked By 3596 added
comment:29 Changed on 01/30/2016 at 05:09:52 PM by sebastian
- Blocked By 3596 removed
- Blocking 3596 added
comment:30 Changed on 01/30/2016 at 05:13:02 PM by sebastian
- Blocking 3596 removed
comment:31 Changed on 01/30/2016 at 05:15:14 PM by sebastian
- Blocking 3596 added
comment:32 Changed on 02/02/2016 at 11:33:03 AM by sebastian
- Review URL(s) modified (diff)
comment:33 Changed on 02/03/2016 at 09:58:03 AM by sebastian
- Review URL(s) modified (diff)
comment:34 Changed on 02/03/2016 at 05:25:38 PM by sebastian
- Resolution set to fixed
- Status changed from reviewing to closed
comment:35 Changed on 02/03/2016 at 05:44:32 PM by sebastian
- Milestone set to Adblock-Plus-for-Chrome-Opera-Safari-next
comment:36 Changed on 03/02/2016 at 04:43:50 PM by Ross
- Tester changed from Unknown to Ross
- Verified working set
Implemented and working. Been using it for about a day across Chrome and Opera and didn't notice any major issues, it works quite well. The list filters at the top work as expected and the buttons to add the filters are useful/easy to use.
As a user, I found the "Remove Rule" button slightly confusing at first after adding a blocking rule, then an exception rule on top of it as the button text doesn't change and it's unclear if it then removes just the exception rule or both rules (it's the first - The first press removes the exception rule and the second the blocking/hiding rule).
ABP 1.10.2.1557
Chrome 30 / 40 / 48 / Windows 7 x64
Chrome 48 / Ubuntu 14.04 x64
Chrome 45 / OS X 10.11
Opera 19 / 30 / Windows 7 x64
Opera 35 / Ubuntu 14.04 x64
Opera 30 / OS X 10.11
by fhd:
by arthur:
by palant:
by fhd: