summaryrefslogtreecommitdiffstats
path: root/src/skin/options.html
blob: 428d0fbf15743c9b6bf6654f9e4b5465b38d7191 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
<!DOCTYPE html>

<!--
  - This file is part of Adblock Plus <http://adblockplus.org/>,
  - Copyright (C) 2006-2013 Eyeo GmbH
  -
  - Adblock Plus is free software: you can redistribute it and/or modify
  - it under the terms of the GNU General Public License version 3 as
  - published by the Free Software Foundation.
  -
  - Adblock Plus is distributed in the hope that it will be useful,
  - but WITHOUT ANY WARRANTY; without even the implied warranty of
  - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  - GNU General Public License for more details.
  -
  - You should have received a copy of the GNU General Public License
  - along with Adblock Plus.  If not, see <http://www.gnu.org/licenses/>.
  -->

<html style="visibility:hidden; overflow:hidden">
<head>
<meta name="google" content="notranslate">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link type="text/css" href="/lib/vendor/jquery-ui-1.12.1.custom/jquery-ui.structure.css" rel="stylesheet" />
<link type="text/css" href="/lib/vendor/jquery-ui-1.12.1.custom/jquery-ui.theme.css" rel="stylesheet" />
<link type="text/css" href="/lib/vendor/jquery-ui-iconfont-2.3.2/jquery-ui-1.12.icon-font.css" rel="stylesheet" />
<link type="text/css" href="/lib/vendor/tooltipster-4.2.6/tooltipster.bundle.css" rel="stylesheet" />
<link type="text/css" href="/lib/vendor/select2-4.0.11/select2-4.0.11.css" rel="stylesheet" />
<link type="text/css" media="screen" href="/lib/vendor/toggle-switch.css" rel="stylesheet" />
<link type="text/css" media="screen" href="/skin/popup.css" rel="stylesheet" />
<link type="text/css" media="screen" href="/skin/options-layout.css" rel="stylesheet" />

<script type="text/javascript" src="/lib/vendor/jquery-3.5.1.js"></script>
<script type="text/javascript" src="/lib/vendor/jquery-ui-1.12.1.custom/jquery-ui.js"></script>
<script type="text/javascript" src="/lib/vendor/tooltipster-4.2.6/tooltipster.bundle.js"></script>
<script type="text/javascript" src="/lib/vendor/underscore-1.9.1.js"></script>
<script type="text/javascript" src="/lib/vendor/select2-4.0.11/select2-4.0.11.js"></script>

<!-- required because of window.getBaseDomain() in htmlutils.js -->
<script type="text/javascript" src="/lib/vendor/punycode-1.4.1.js"></script>
<script type="text/javascript" src="/lib/publicSuffixList.js"></script>
<script type="text/javascript" src="/lib/basedomain.js"></script>

<script type="text/javascript" src="/lib/i18n.js" charset="utf-8"></script>
<script type="text/javascript" src="/js/bootstrap.js"></script>
<script type="text/javascript" src="/js/constants.js"></script>
<script type="text/javascript" src="/js/utils.js"></script>
<script type="text/javascript" src="/js/htmlutils.js"></script>
<script type="text/javascript" src="/lib/options.js"></script>
<script type="text/javascript" src="/js/options.js" charset="utf-8"></script>

<title class="i18n_options_title"></title>
</head>
<body class="options">
<header>
  <table>
    <tr>
      <td style="vertical-align:middle;">
        <img src="/icons/badger-48.png" srcset="/icons/badger-128.png 2x" width="48" alt="">
      </td>
      <td>
        <h1><span class="i18n_options_title"></span></h1>
      </td>
    </tr>
  </table>
</header>

<div id="tabs">
  <ul>
    <li><a href="#tab-general-settings"><span class="i18n_options_general_settings"></span></a></li>
    <li><a href="#tab-allowlist"><span class="i18n_whitelisted_domains"></span></a></li>
    <li><a href="#tab-manage-widgets"><span class="i18n_options_widget_replacement_tab"></span></a></li>
    <li><a href="#tab-tracking-domains"><span class="i18n_options_domain_list_tab"></span></a></li>
    <li><a href="#tab-manage-data"><span class="i18n_data_settings"></span></a></li>
  </ul>

  <div id="tab-tracking-domains">
    <div id="tracking-domains-overlay">
        <p class="i18n_description"></p>
        <p class="i18n_intro_not_an_adblocker_paragraph"></p>
        <p class="i18n_show_tracking_domains_message"></p>
        <p>
        <label>
          <input type="checkbox" id="show-tracking-domains-checkbox">
          <span class="i18n_show_tracking_domains_acknowledgement"></span>
        </label>
        </p>
    </div>
    <div id="blockedResourcesContainer">
      <p id="pbInstructions">
        <span id="options_domain_list_trackers"></span>
        <span id="options_domain_list_no_trackers" class="i18n_options_domain_list_no_trackers" style="display:none"></span>
      </p>
      <div id="tracking-domains-loader" style="display:none">
        <div class="spinner"></div>
      </div>
      <div id="tracking-domains-div">
          <ul id="tracking-domains-filters">
              <li>
                  <label for="trackingDomainSearch">
                      <span class="i18n_options_domain_search"></span>
                      <span class="ui-icon ui-icon-info tooltip" title="i18n_options_domain_search_tooltip"></span>
                  </label>
                  <input id="trackingDomainSearch" type="text" value="" autocomplete="off">
              </li>
              <li>
                  <label for="tracking-domains-type-filter">
                      <span class="i18n_options_domain_type_filter"></span>
                  </label>
                  <select id="tracking-domains-type-filter">
                      <option value="" class="i18n_options_domain_filter_all"></option>
                      <option value="user" class="i18n_options_domain_filter_user"></option>
                      <option value="dnt" class="i18n_options_domain_filter_dnt"></option>
                  </select>
              </li>
              <li>
                  <label for="tracking-domains-status-filter">
                      <span class="i18n_options_domain_status_filter"></span>
                  </label>
                  <select id="tracking-domains-status-filter">
                      <option value="" class="i18n_options_domain_filter_all"></option>
                      <option value="block" class="i18n_options_domain_filter_block"></option>
                      <option value="cookieblock" class="i18n_options_domain_filter_cookieblock"></option>
                      <option value="allow" class="i18n_options_domain_filter_allow"></option>
                  </select>
              </li>
              <li id="not-yet-blocked-filter" style="display:none">
                <label for="tracking-domains-show-not-yet-blocked">
                  <span class="i18n_options_show_not_yet_blocked"></span>
                  <span class="ui-icon ui-icon-info tooltip" title="i18n_intro_not_an_adblocker_paragraph"></span>
                </label>
                <input type="checkbox" id="tracking-domains-show-not-yet-blocked">
              </li>
          </ul>
          <div id="blockedResources"></div>
      </div>
    </div>
  </div>

  <div id="tab-allowlist">
    <div class="i18n_disabled_for_these_domains"></div>

    <form id="allowlist-form" action="#">
      <div>
        <div>
          <div style="float: left; max-width: 400px; width: 100%; margin-inline-end: 30px; padding-top: 5px">
            <input type="text" value="" id="new-disabled-site-input" style="width:100%" placeholder="i18n_whitelist_form_domain_input_placeholder" autocomplete="off">
          </div>
          <div style="float: left; padding: 5px 0 10px">
            <button id="add-disabled-site" type="submit"><span class="i18n_add_domain_button"></span></button>
          </div>
        </div>
        <div style="clear: both; overflow: hidden">
          <div style="float: left; max-width: 420px; width: 100%; margin-inline-end: 10px; padding-top: 5px">
            <select id="allowlist-select" size="10" multiple style="width: 100%; background: white;"></select>
          </div>
          <div style="float: left; padding-top: 5px">
            <button id="remove-disabled-site"><span class="i18n_remove_button"></span></button>
          </div>
        </div>
      </div>
    </form>
  </div>

  <div id="tab-general-settings">
    <form id="settingsForm" action="#">

      <div class="checkbox">
        <label>
          <input type="checkbox" id="show_counter_checkbox">
          <span class="i18n_show_counter_checkbox"></span>
        </label>
      </div>
      <div class="checkbox">
        <label>
          <input type="checkbox" id="enable_dnt_checkbox">
          <span class="i18n_options_enable_dnt_checkbox"></span>
        </label>
      </div>
      <div class="checkbox indent1">
        <label>
          <input type="checkbox" id="check_dnt_policy_checkbox">
          <span class="i18n_options_dnt_policy_setting"></span>
        </label>
      </div>

      <h4 id="privacy-settings-header" class="i18n_options_privacy_settings" style="display:none"></h4>

      <div class="checkbox" id="disable-hyperlink-auditing" style="display:none">
        <label>
          <input type="checkbox" id="disable-hyperlink-auditing-checkbox">
          <span>
            <span class="i18n_options_disable_hyperlink_auditing"></span>
            <a href="https://www.bleepingcomputer.com/news/software/major-browsers-to-prevent-disabling-of-click-tracking-privacy-risk/" target="_blank"><span class="ui-icon ui-icon-circle-b-help"></span></a>
          </span>
        </label>
      </div>
      <div class="checkbox" id="disable-google-nav-error-service" style="display:none">
        <label>
          <input type="checkbox" id="disable-google-nav-error-service-checkbox">
          <span>
            <span class="i18n_options_disable_google_nav_error_service"></span>
            <a href="https://www.google.com/chrome/privacy/#how-chrome-handles-your-information" target="_blank"><span class="ui-icon ui-icon-circle-b-help"></span></a>
          </span>
        </label>
      </div>

      <h4 class="i18n_options_advanced_settings"></h4>

      <div class="checkbox">
        <label>
          <input type="checkbox" id="local-learning-checkbox">
          <span>
            <span class="i18n_options_learn_setting"></span>
            <span class="ui-icon ui-icon-alert tooltip" title="i18n_local_learning_warning"></span>
            <a href="https://www.eff.org/badger-evolution" target="_blank"><span class="ui-icon ui-icon-circle-b-help"></span></a>
          </span>
        </label>
      </div>
      <div id="learning-setting-divs" style="display:none">
        <div class="checkbox indent1">
          <label>
            <input type="checkbox" id="show-nontracking-domains-checkbox" disabled>
            <span class="i18n_options_show_nontracking_domains_checkbox"></span>
          </label>
        </div>
        <div class="checkbox indent1">
          <label>
            <input type="checkbox" id="learn-in-incognito-checkbox" disabled>
            <span>
              <span class="i18n_options_incognito_setting"></span>
              <span class="ui-icon ui-icon-alert tooltip" title="i18n_options_incognito_warning"></span>
            </span>
          </label>
        </div>
      </div>
      <div class="checkbox" id="webRTCToggle" style="display:none">
        <label>
          <input type="checkbox" id="toggle_webrtc_mode">
          <span>
            <span class="i18n_options_webrtc_setting"></span>
            <span class="ui-icon ui-icon-alert tooltip" title="i18n_options_webrtc_warning"></span>
          </span>
        </label>
      </div>

    </form>
  </div>

  <div id="tab-manage-widgets">
    <p><span class="i18n_options_widget_replacement_desc"></span></p>
    <p>
    <label>
      <input type="checkbox" id="replace-widgets-checkbox">
      <span class="i18n_options_social_widgets_checkbox"></span>
    </label>
    </p>
    <div id="hide-widgets-row" class="indent1">
      <label for="hide-widgets-select">
        <span class="i18n_options_hide_social_widgets"></span>
      </label>
      <select name="states[]" multiple="multiple" id="hide-widgets-select"></select>
    </div>
  </div>

  <div id="tab-manage-data">
    <div class="btn-silo">
      <p class="i18n_manage_data_intro"></p>
      <div id="export">
        <h3><span class="i18n_export_user_data"></span></h3>
        <button id="exportTrackers"><span class="i18n_download"></span></button>
      </div>
      <div id="import">
        <h3><span class="i18n_import_user_data"></span></h3>
        <input type="file" class="importInput" id="importTrackers" accept=".json">
        <button id="importTrackerButton" class="importButton" type="submit"><span class="i18n_import"></span></button>
      </div>
    </div>
    <div class="btn-silo">
      <p class="i18n_sync_intro"></p>
      <div id="upload">
        <h3><span class="i18n_upload_cloud"></span></h3>
        <button id="cloud-upload"><span class="i18n_upload"></span></button>
      </div>
      <div id="download">
        <h3><span class="i18n_download_cloud"></span></h3>
        <button id="cloud-download"><span class="i18n_download"></span></button>
      </div>
    </div>
    <div class="btn-silo">
      <div id="reset">
        <h3><span class="i18n_reset_data"></span></h3>
        <button id="resetData" class="btn-danger"><span class="i18n_reset"></span></button>
      </div>
      <div id="remove">
        <h3><span class="i18n_remove_all_data"></span></h3>
        <button id="removeAllData" class="btn-danger"><span class="i18n_remove_all"></span></button>
      </div>
    </div>
  </div>


</div>

</body>
</html>