Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 6393086494113792: Issue 154 - Added devtools panel showing blocked and blockable items (Closed)

Created:
Dec. 28, 2014, 4:38 p.m. by Sebastian Noack
Modified:
Feb. 3, 2016, 5:05 p.m.
Reviewers:
kzar
CC:
Wladimir Palant
Visibility:
Public.

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Added some newlines for better legibility #

Patch Set 3 : Use unprefixed flexbox #

Patch Set 4 : Moved UI to adblockplusui repo #

Patch Set 5 : Rebased, use regular messaging, added some comments #

Patch Set 6 : Rebased #

Patch Set 7 : Rebased and fixed documentation mistakenly indicating arguments as optional #

Patch Set 8 : Rebased #

Patch Set 9 : Rebased and fixed various issues #

Patch Set 10 : Rebased and refactored #

Patch Set 11 : Made onFilterChanged handler more legible, removed debug console.log, fixed type of type #

Patch Set 12 : Updated dependencies #

Patch Set 13 : Fixed issues in content script breaking element hide tracing #

Total comments: 21

Patch Set 14 : Addressed comments, fixed popup blocking detection, log whitelisted documents #

Total comments: 1

Patch Set 15 : Use chrome.runtime.onConnect directly #

Patch Set 16 : Fixed a typo, updated dependency, tidied up some code #

Total comments: 8

Patch Set 17 : Fixed typo in JSDoc syntax #

Patch Set 18 : Adapt for UI changes generating domain specific filters when necessary #

Unified diffs Side-by-side diffs Delta from patch set Stats (+726 lines, -80 lines) Patch
M background.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 7 chunks +18 lines, -10 lines 0 comments Download
A chrome/devtools.html View 1 2 3 4 5 6 7 8 9 1 chunk +18 lines, -0 lines 0 comments Download
A chrome/devtools.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +24 lines, -0 lines 0 comments Download
M chrome/ext/background.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -5 lines 0 comments Download
A chrome/ext/devtools.js View 1 2 3 4 5 6 7 8 9 1 chunk +27 lines, -0 lines 0 comments Download
M dependencies View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +2 lines, -2 lines 0 comments Download
M include.preload.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +152 lines, -2 lines 0 comments Download
A lib/devtools.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +382 lines, -0 lines 0 comments Download
M lib/filterComposer.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +3 lines, -3 lines 0 comments Download
M lib/whitelisting.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +40 lines, -30 lines 0 comments Download
M metadata.chrome View 1 2 3 4 5 6 7 8 9 3 chunks +9 lines, -2 lines 0 comments Download
M metadata.common View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M metadata.safari View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M popup.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +4 lines, -4 lines 0 comments Download
M popupBlocker.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 4 chunks +19 lines, -10 lines 0 comments Download
M webrequest.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +26 lines, -11 lines 0 comments Download

Messages

Total messages: 18
Sebastian Noack
Note that the strings here aren't translated on purpose, since the devtools in Chrome are ...
Dec. 28, 2014, 4:47 p.m. (2014-12-28 16:47:11 UTC) #1
kzar
Really cool feature, I gave it a try and I really like it! Have you ...
Jan. 5, 2015, 5:30 p.m. (2015-01-05 17:30:58 UTC) #2
Sebastian Noack
On 2015/01/05 17:30:58, kzar wrote: > Have you checked the new interface stuff with Sven? ...
Jan. 5, 2015, 7:33 p.m. (2015-01-05 19:33:58 UTC) #3
kzar
On 2015/01/05 19:33:58, Sebastian Noack wrote: > This is consistent with the "Block element" functionality. ...
Jan. 6, 2015, 1:07 p.m. (2015-01-06 13:07:59 UTC) #4
Sebastian Noack
On 2015/01/06 13:07:59, kzar wrote: > On 2015/01/05 19:33:58, Sebastian Noack wrote: > > This ...
Jan. 6, 2015, 2:50 p.m. (2015-01-06 14:50:21 UTC) #5
Sebastian Noack
As discussed with Wladimir, I dropped support for Chrome 28, in order to use unprefixed ...
Jan. 6, 2015, 6:10 p.m. (2015-01-06 18:10:51 UTC) #6
Sebastian Noack
Also as discussed with Wladimir I moved the UI out of the to the adblockplusui ...
Jan. 7, 2015, 1:44 p.m. (2015-01-07 13:44:07 UTC) #7
Sebastian Noack
I rebased on top of the URL changes. Makes sense to merge them first. I ...
Feb. 4, 2015, 7:41 p.m. (2015-02-04 19:41:33 UTC) #8
Sebastian Noack
I've uploaded a new patch set. Besides rebasing, I also fixed a couple of bugs ...
March 12, 2015, 3:45 p.m. (2015-03-12 15:45:14 UTC) #9
Sebastian Noack
While rabasing the patch I also didn't to tidy up some thing. The most notable ...
Jan. 28, 2016, 7:49 p.m. (2016-01-28 19:49:04 UTC) #10
kzar
Mind sending me a patch / a link to these changes in GitHub or BitBucket? ...
Jan. 31, 2016, 1:33 p.m. (2016-01-31 13:33:54 UTC) #11
Sebastian Noack
https://codereview.adblockplus.org/6393086494113792/diff/29335169/background.js File background.js (right): https://codereview.adblockplus.org/6393086494113792/diff/29335169/background.js#newcode399 background.js:399: devtools.logHiddenElements(sender.page, msg.selectors, extractHostFromFrame(sender.frame)); On 2016/01/31 13:33:50, kzar wrote: > ...
Feb. 2, 2016, 10:39 a.m. (2016-02-02 10:39:56 UTC) #12
Sebastian Noack
https://codereview.adblockplus.org/6393086494113792/diff/29335169/lib/devtools.js File lib/devtools.js (right): https://codereview.adblockplus.org/6393086494113792/diff/29335169/lib/devtools.js#newcode314 lib/devtools.js:314: ext.devtools.onCreated.addListener(function(panel) On 2016/02/02 10:39:53, Sebastian Noack wrote: > On ...
Feb. 2, 2016, 11:22 a.m. (2016-02-02 11:22:12 UTC) #13
kzar
Thanks for the patch, just tried it out and it works great now. The UI ...
Feb. 2, 2016, 3:42 p.m. (2016-02-02 15:42:13 UTC) #14
Sebastian Noack
https://codereview.adblockplus.org/6393086494113792/diff/29335169/popupBlocker.js File popupBlocker.js (right): https://codereview.adblockplus.org/6393086494113792/diff/29335169/popupBlocker.js#newcode69 popupBlocker.js:69: var urlObj = new URL(url || "about:blank"); On 2016/02/02 ...
Feb. 2, 2016, 4:33 p.m. (2016-02-02 16:33:48 UTC) #15
kzar
LGTM https://codereview.adblockplus.org/6393086494113792/diff/29335298/lib/devtools.js File lib/devtools.js (right): https://codereview.adblockplus.org/6393086494113792/diff/29335298/lib/devtools.js#newcode136 lib/devtools.js:136: * @param {?string} sitekey The active sitekey if ...
Feb. 2, 2016, 4:40 p.m. (2016-02-02 16:40:33 UTC) #16
Sebastian Noack
Feb. 3, 2016, 10:46 a.m. (2016-02-03 10:46:20 UTC) #17
kzar
Feb. 3, 2016, 10:52 a.m. (2016-02-03 10:52:11 UTC) #18
LGTM

Powered by Google App Engine
This is Rietveld