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

Issue 5309182173511680: Issue 2211 - Implemented subscribe.adblockplus.org subscription links (Closed)

Created:
April 1, 2015, 11:56 a.m. by Thomas Greiner
Modified:
July 20, 2015, 2:39 p.m.
Visibility:
Public.

Description

Issue 2211 - Implemented subscribe.adblockplus.org subscription links

Patch Set 1 #

Total comments: 4

Patch Set 2 : Check URL-object properties instead of regular expression #

Total comments: 2

Patch Set 3 : Removed redundant URL scheme check #

Total comments: 4

Patch Set 4 : Removed code related to "linkTarget" parameter #

Total comments: 3

Patch Set 5 : #

Patch Set 6 : Rebased to b7c6ed7c2137 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -24 lines) Patch
M lib/ui.js View 1 2 3 4 5 1 chunk +34 lines, -24 lines 0 comments Download

Messages

Total messages: 15
Thomas Greiner
April 1, 2015, 11:59 a.m. (2015-04-01 11:59:57 UTC) #1
Sebastian Noack
http://codereview.adblockplus.org/5309182173511680/diff/5629499534213120/lib/ui.js File lib/ui.js (right): http://codereview.adblockplus.org/5309182173511680/diff/5629499534213120/lib/ui.js#newcode922 lib/ui.js:922: let match = /^(?:abp:\/*subscribe|https?:\/*subscribe\.adblockplus\.org)\/*\?(.*)/i.exec(linkTarget); I think we should use ...
April 1, 2015, 12:29 p.m. (2015-04-01 12:29:48 UTC) #2
Thomas Greiner
http://codereview.adblockplus.org/5309182173511680/diff/5629499534213120/lib/ui.js File lib/ui.js (right): http://codereview.adblockplus.org/5309182173511680/diff/5629499534213120/lib/ui.js#newcode922 lib/ui.js:922: let match = /^(?:abp:\/*subscribe|https?:\/*subscribe\.adblockplus\.org)\/*\?(.*)/i.exec(linkTarget); On 2015/04/01 12:29:49, Sebastian Noack ...
April 1, 2015, 12:41 p.m. (2015-04-01 12:41:15 UTC) #3
Sebastian Noack
http://codereview.adblockplus.org/5309182173511680/diff/5629499534213120/lib/ui.js File lib/ui.js (right): http://codereview.adblockplus.org/5309182173511680/diff/5629499534213120/lib/ui.js#newcode922 lib/ui.js:922: let match = /^(?:abp:\/*subscribe|https?:\/*subscribe\.adblockplus\.org)\/*\?(.*)/i.exec(linkTarget); On 2015/04/01 12:41:15, Thomas Greiner ...
April 1, 2015, 12:44 p.m. (2015-04-01 12:44:20 UTC) #4
Thomas Greiner
http://codereview.adblockplus.org/5309182173511680/diff/5629499534213120/lib/ui.js File lib/ui.js (right): http://codereview.adblockplus.org/5309182173511680/diff/5629499534213120/lib/ui.js#newcode922 lib/ui.js:922: let match = /^(?:abp:\/*subscribe|https?:\/*subscribe\.adblockplus\.org)\/*\?(.*)/i.exec(linkTarget); On 2015/04/01 12:44:20, Sebastian Noack ...
April 1, 2015, 12:51 p.m. (2015-04-01 12:51:30 UTC) #5
Thomas Greiner
April 1, 2015, 2:31 p.m. (2015-04-01 14:31:03 UTC) #6
Sebastian Noack
http://codereview.adblockplus.org/5309182173511680/diff/5639274879778816/lib/ui.js File lib/ui.js (right): http://codereview.adblockplus.org/5309182173511680/diff/5639274879778816/lib/ui.js#newcode941 lib/ui.js:941: else if (link.protocol == "abp:") Note that in the ...
April 1, 2015, 2:41 p.m. (2015-04-01 14:41:58 UTC) #7
Thomas Greiner
http://codereview.adblockplus.org/5309182173511680/diff/5639274879778816/lib/ui.js File lib/ui.js (right): http://codereview.adblockplus.org/5309182173511680/diff/5639274879778816/lib/ui.js#newcode941 lib/ui.js:941: else if (link.protocol == "abp:") On 2015/04/01 14:41:58, Sebastian ...
April 1, 2015, 3:03 p.m. (2015-04-01 15:03:35 UTC) #8
Sebastian Noack
LGTM
April 1, 2015, 3:05 p.m. (2015-04-01 15:05:41 UTC) #9
Wladimir Palant
http://codereview.adblockplus.org/5309182173511680/diff/5733935958982656/lib/ui.js File lib/ui.js (right): http://codereview.adblockplus.org/5309182173511680/diff/5733935958982656/lib/ui.js#newcode899 lib/ui.js:899: * either with an event object or with the ...
April 1, 2015, 5:49 p.m. (2015-04-01 17:49:31 UTC) #10
Thomas Greiner
http://codereview.adblockplus.org/5309182173511680/diff/5733935958982656/lib/ui.js File lib/ui.js (right): http://codereview.adblockplus.org/5309182173511680/diff/5733935958982656/lib/ui.js#newcode899 lib/ui.js:899: * either with an event object or with the ...
April 2, 2015, 2:26 p.m. (2015-04-02 14:26:43 UTC) #11
Sebastian Noack
Even more LGTM.
April 2, 2015, 2:30 p.m. (2015-04-02 14:30:53 UTC) #12
Wladimir Palant
https://codereview.adblockplus.org/5309182173511680/diff/5700735861784576/lib/ui.js File lib/ui.js (right): https://codereview.adblockplus.org/5309182173511680/diff/5700735861784576/lib/ui.js#newcode900 lib/ui.js:900: onBrowserClick: function (/**Window*/ window, /**Event*/ event) It seems that ...
July 20, 2015, 11:23 a.m. (2015-07-20 11:23:11 UTC) #13
Thomas Greiner
Addressed comment and rebased to current revision https://codereview.adblockplus.org/5309182173511680/diff/5700735861784576/lib/ui.js File lib/ui.js (right): https://codereview.adblockplus.org/5309182173511680/diff/5700735861784576/lib/ui.js#newcode919 lib/ui.js:919: if (link.host ...
July 20, 2015, 2 p.m. (2015-07-20 14:00:54 UTC) #14
Wladimir Palant
July 20, 2015, 2:14 p.m. (2015-07-20 14:14:54 UTC) #15
LGTM

Powered by Google App Engine
This is Rietveld