Changes between Version 4 and Version 8 of Ticket #2565


Ignore:
Timestamp:
06/11/2015 01:58:49 PM (4 years ago)
Author:
trev
Comment:

I added some more info to the description - this data is supposed to be sent to the existing reports backend, consequently the format is fixed. The example data is mostly identical to what the issue reporter in Firefox is sending (note that all timestamps related to subscriptions are being sent as relative values). The difference is that some data is missing, also the name attribute on the <adblock-plus> tag is new.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2565

    • Property Cc saroyanm added
    • Property Summary changed from Additions to the "Add Filter(s)?" dialog box to Add "share filters" option to the "Add Filter(s)?" dialog box in ABP for Chrome
    • Property Platform changed from Unknown to Chrome
  • Ticket #2565 – Description

    v4 v8  
    88  - Text by checkbox: "share filter info with Adblock Plus" 
    99  - Location: bottom left corner (see [attachment:addfilter.png attached image]) 
     10  - The checkbox should be unchecked by default 
     11  - There should be a link to https://adblockplus.org/redirect?link=addfilter_privacy&lang=en-US (`addfilter_privacy` doc link) next to the checkbox, link title should be "Privacy policy." 
    1012 
    11 - When the checkbox is checked, capture, store and transmit the following information: 
     13- When the checkbox is checked, clicking "Add" should capture and transmit the following information in addition to adding the filter: 
    1214  - Filter text of newly created filters 
    1315  - Active filter subscriptions 
    1416  - Webpage URL (should be anonymized by removing parameter values) 
    15   - Browser 
     17  - Extension, browser and platform info 
    1618 
    17 - Add link to [https://adblockplus.org/en/privacy privacy page] to the "Add Filter(s)?" dialog box 
     19The data should be transmitted to the existing issue reports backend (`report_submiturl` preference: `https://reports.adblockplus.org/submitReport?version=1&guid=%GUID%&lang=%LANG%` where `%GUID%` is generated randomly). Method is `POST`, with headers `Content-Type: text/xml` and `X-Adblock-Plus: 1`. The data should look like this: 
     20 
     21{{{ 
     22<report type="addfilter"> 
     23<adblock-plus name="adblockpluschrome" version="1.9" locale="en-US"/> 
     24<application name="chrome" vendor="Google Inc." version="43.0" userAgent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.124 Safari/537.36"/> 
     25<platform name="chromium" version="43.0"/> 
     26<subscriptions> 
     27<subscription id="https://easylist-downloads.adblockplus.org/ruadlist+easylist.txt" disabledFilters="0" version="201506101551" lastDownloadAttempt="-77705" lastDownloadSuccess="-77705" softExpiration="203473" hardExpiration="613495" downloadStatus="synchronize_ok"/> 
     28<subscription id="https://easylist-downloads.adblockplus.org/antiadblockfilters.txt" disabledFilters="0" version="201506100930" lastDownloadAttempt="-101133" lastDownloadSuccess="-101133" softExpiration="-5815" hardExpiration="71667" downloadStatus="synchronize_ok"/> 
     29</subscriptions> 
     30<window url="http://example.info/?param1=*&param2=*" referrer="http://example.info/"/> 
     31<comment>||example.com^</comment> 
     32</report> 
     33}}}