about summary refs log tree commit diff stats
path: root/src/pages/popup/popup.html
blob: 43a4a1a832b59ed2b4843e1e2de18d76106edb58 (plain) (blame)
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
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title></title>
    <link href="../../assets/stylesheets/styles.css" rel="stylesheet" />
  </head>

  <body class="popup">
    <header class="popup">
      <div class="logo-container">
        <img
          src="../../assets/images/icon128.png"
          alt="Privacy Redirect logo"
        />
        <h1>
          <span data-localise="__MSG_privacy__" class="privacy">Privacy</span
          ><br /><span data-localise="__MSG_redirect__">Redirect</span>
        </h1>
      </div>
      <div class="version">
        <span data-localise="__MSG_version__">Version</span>:&nbsp;<span
          id="version"
        ></span>
      </div>
    </header>

    <section class="settings-block">
      <table class="option" aria-label="Toggle Nitter redirects">
        <tbody>
          <tr>
            <td>
              <h1 data-localise="__MSG_disableNitter__">Nitter Redirects</h1>
            </td>
            <td>
              <input
                aria-hidden="true"
                id="disable-nitter"
                type="checkbox"
                checked
              />&nbsp;
              <label for="disable-nitter" class="checkbox-label"></label>
            </td>
          </tr>
        </tbody>
      </table>
    </section>

    <section class="settings-block">
      <table class="option" aria-label="Toggle Invidious redirects">
        <tbody>
          <tr>
            <td>
              <h1 data-localise="__MSG_disableInvidious__">
                Invidious Redirects
              </h1>
            </td>
            <td>
              <input
                aria-hidden="true"
                id="disable-invidious"
                type="checkbox"
                checked
              />&nbsp;
              <label for="disable-invidious" class="checkbox-label"> </label>
            </td>
          </tr>
        </tbody>
      </table>
    </section>

    <section class="settings-block">
      <table class="option" aria-label="Toggle Bibliogram redirects">
        <tbody>
          <tr>
            <td>
              <h1 data-localise="__MSG_disableBibliogram__">
                Bibliogram Redirects
              </h1>
            </td>
            <td>
              <input
                aria-hidden="true"
                id="disable-bibliogram"
                type="checkbox"
                checked
              />&nbsp;
              <label for="disable-bibliogram" class="checkbox-label"> </label>
            </td>
          </tr>
        </tbody>
      </table>
    </section>

    <section class="settings-block">
      <table class="option" aria-label="Toggle OpenStreetMap redirects">
        <tbody>
          <tr>
            <td>
              <h1 data-localise="__MSG_disableOsm__">
                OpenStreetMap Redirects
              </h1>
            </td>
            <td>
              <input
                aria-hidden="true"
                id="disable-osm"
                type="checkbox"
                checked
              />&nbsp;
              <label for="disable-osm" class="checkbox-label"> </label>
            </td>
          </tr>
        </tbody>
      </table>
    </section>

    <section class="settings-block">
      <table class="option" aria-label="Toggle old Reddit redirects">
        <tbody>
          <tr>
            <td>
              <h1 data-localise="__MSG_disableReddit__">Reddit Redirects</h1>
            </td>
            <td>
              <input
                aria-hidden="true"
                id="disable-reddit"
                type="checkbox"
                checked
              />&nbsp;
              <label for="disable-reddit" class="checkbox-label"> </label>
            </td>
          </tr>
        </tbody>
      </table>
    </section>

    <section class="settings-block">
      <table class="option" aria-label="Toggle Search Engine redirects">
        <tbody>
          <tr>
            <td>
              <h1 data-localise="__MSG_disableSearchEngine__">
                Search Engine Redirects
              </h1>
            </td>
            <td>
              <input
                aria-hidden="true"
                id="disable-searchEngine"
                type="checkbox"
                checked
              />&nbsp;
              <label for="disable-searchEngine" class="checkbox-label"></label>
            </td>
          </tr>
        </tbody>
      </table>
    </section>

    <section class="settings-block"></section>

    <footer>
      <a class="button" id="more-options">
        <span data-localise="__MSG_moreOptions__">More Options&nbsp;</span>
        <svg
          xmlns="http://www.w3.org/2000/svg"
          width="512"
          height="512"
          viewBox="0 0 512 512"
        >
          <path
            d="M384,224V408a40,40,0,0,1-40,40H104a40,40,0,0,1-40-40V168a40,40,0,0,1,40-40H271.48"
            style="
              fill: none;
              stroke: inherit;
              stroke-linecap: round;
              stroke-linejoin: round;
              stroke-width: 32px;
            "
          />
          <polyline
            points="336 64 448 64 448 176"
            style="
              fill: none;
              stroke: inherit;
              stroke-linecap: round;
              stroke-linejoin: round;
              stroke-width: 32px;
            "
          />
          <line
            x1="224"
            y1="288"
            x2="440"
            y2="72"
            style="
              fill: none;
              stroke: inherit;
              stroke-linecap: round;
              stroke-linejoin: round;
              stroke-width: 32px;
            "
          />
        </svg>
      </a>
    </footer>

    <script type="module" src="./popup.js"></script>
    <script src="../../assets/javascripts/localise.js"></script>
  </body>
</html>