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

Issue 8493027: Acquired Opera AdBlock code (Closed)

Created:
Oct. 2, 2012, 1:15 p.m. by Felix Dahlke
Modified:
Nov. 14, 2012, 7:09 a.m.
Reviewers:
Felix Dahlke
CC:
Wladimir Palant
Visibility:
Public.

Description

This is the code of Opera AdBlock, which we acquired. It needs a full review.

Patch Set 1 #

Total comments: 44

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1753 lines, -0 lines) Patch
A common/back.js View 1 chunk +12 lines, -0 lines 0 comments Download
A common/copyright.js View 1 1 chunk +11 lines, -0 lines 0 comments Download
A common/donate.js View 1 chunk +35 lines, -0 lines 0 comments Download
A common/header.js View 1 1 chunk +18 lines, -0 lines 0 comments Download
A common/notification.js View 1 chunk +27 lines, -0 lines 0 comments Download
A config.xml View 1 1 chunk +17 lines, -0 lines 0 comments Download
A design/default.css View 1 chunk +40 lines, -0 lines 0 comments Download
A design/footer.css View 1 chunk +8 lines, -0 lines 0 comments Download
A design/header.css View 1 chunk +19 lines, -0 lines 0 comments Download
A design/input.css View 1 chunk +67 lines, -0 lines 0 comments Download
A design/notify.css View 1 chunk +47 lines, -0 lines 0 comments Download
A files/background.js View 1 1 chunk +112 lines, -0 lines 0 comments Download
A files/button.js View 1 chunk +50 lines, -0 lines 0 comments Download
A files/css.js View 1 chunk +53 lines, -0 lines 0 comments Download
A files/default.js View 1 chunk +4 lines, -0 lines 0 comments Download
A files/download.js View 1 1 chunk +16 lines, -0 lines 0 comments Download
A files/lists.js View 1 1 chunk +118 lines, -0 lines 0 comments Download
A files/parse.js View 1 1 chunk +106 lines, -0 lines 0 comments Download
A files/preferences.js View 1 chunk +83 lines, -0 lines 0 comments Download
A files/sources.js View 1 1 chunk +190 lines, -0 lines 0 comments Download
A files/translators.js View 1 1 chunk +4 lines, -0 lines 0 comments Download
A files/whitelist.js View 1 chunk +13 lines, -0 lines 0 comments Download
A help.html View 1 1 chunk +46 lines, -0 lines 0 comments Download
A help/help.js View 1 chunk +15 lines, -0 lines 0 comments Download
A images/googlePlus.png View Binary file 0 comments Download
A images/icon128.png View 1 Binary file 0 comments Download
A images/icon256.png View 1 Binary file 0 comments Download
A images/icon32.png View 1 Binary file 0 comments Download
A images/icon64.png View 1 Binary file 0 comments Download
A images/opera_small.png View Binary file 0 comments Download
A images/remove12.png View Binary file 0 comments Download
A images/remove14.png View Binary file 0 comments Download
A images/secure.png View Binary file 0 comments Download
A includes/cssFilter.js View 1 chunk +32 lines, -0 lines 0 comments Download
A index.html View 1 1 chunk +23 lines, -0 lines 0 comments Download
A locales/en/files/translate.js View 1 1 chunk +135 lines, -0 lines 0 comments Download
A options.html View 1 1 chunk +62 lines, -0 lines 0 comments Download
A options/about.js View 1 chunk +12 lines, -0 lines 0 comments Download
A options/cssDisplay.js View 1 chunk +80 lines, -0 lines 0 comments Download
A options/help.js View 1 chunk +12 lines, -0 lines 0 comments Download
A options/listsDisplay.js View 1 chunk +79 lines, -0 lines 0 comments Download
A options/other.js View 1 1 chunk +57 lines, -0 lines 0 comments Download
A options/privacy.js View 1 chunk +44 lines, -0 lines 0 comments Download
A options/time.js View 1 chunk +36 lines, -0 lines 0 comments Download
A options/whitelist.js View 1 1 chunk +70 lines, -0 lines 0 comments Download

Messages

Total messages: 12
Felix Dahlke
Oct. 2, 2012, 1:16 p.m. (2012-10-02 13:16:09 UTC) #1
Felix Dahlke
First some general observations: - Indentation is mostly tabs, but a bit inconsistent. We'll want ...
Oct. 4, 2012, 8:28 a.m. (2012-10-04 08:28:05 UTC) #2
Felix Dahlke
More general observations: - Lots of commented code everywhere. We can safely get rid of ...
Oct. 4, 2012, 8:37 a.m. (2012-10-04 08:37:49 UTC) #3
Felix Dahlke
A quick tour around the code base: Extension files: config.xml - Extension metadata, configuration and ...
Oct. 5, 2012, 8:57 a.m. (2012-10-05 08:57:48 UTC) #4
Felix Dahlke
http://codereview.adblockplus.org/8493027/diff/1/files/background.js File files/background.js (right): http://codereview.adblockplus.org/8493027/diff/1/files/background.js#newcode20 files/background.js:20: if(whitelist.check(event.data.url)) In all postMessage invocations, just the reply is ...
Oct. 5, 2012, 3:47 p.m. (2012-10-05 15:47:16 UTC) #5
Felix Dahlke
I've done a partial review, all the files I've commented on are fully reviewed. It ...
Oct. 5, 2012, 3:50 p.m. (2012-10-05 15:50:49 UTC) #6
Felix Dahlke
Another observation: No function is ever private. That's not a very big problem, but something ...
Oct. 8, 2012, 5:31 a.m. (2012-10-08 05:31:46 UTC) #7
Felix Dahlke
http://codereview.adblockplus.org/8493027/diff/1/files/preferences.js File files/preferences.js (right): http://codereview.adblockplus.org/8493027/diff/1/files/preferences.js#newcode3 files/preferences.js:3: if(value == undefined) //Gets That's a bit dangerous, undefined ...
Oct. 8, 2012, 5:57 a.m. (2012-10-08 05:57:02 UTC) #8
Felix Dahlke
Uploaded a new change set by the guy. He's touched some of the files I've ...
Oct. 8, 2012, 6 a.m. (2012-10-08 06:00:50 UTC) #9
Felix Dahlke
Since we've decided to drop most of the code and port ABP instead, the following ...
Oct. 10, 2012, 12:53 p.m. (2012-10-10 12:53:43 UTC) #10
Felix Dahlke
On 2012/10/10 12:53:43, Felix H. Dahlke wrote: > Since we've decided to drop most of ...
Oct. 10, 2012, 12:55 p.m. (2012-10-10 12:55:33 UTC) #11
Felix Dahlke
Oct. 10, 2012, 2:24 p.m. (2012-10-10 14:24:03 UTC) #12
Actually, since we're going to port the UI from Chrome, I think we can close
this review.

Powered by Google App Engine
This is Rietveld