-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathteste
427 lines (368 loc) · 12.2 KB
/
teste
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
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
<!doctype html>
<html dir="ltr"
hascustombackground="false"
lang="pt"
class="md">
<head>
<meta charset="utf-8">
<meta name="color-scheme" content="light dark">
<title>Nova guia</title>
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0IiBmaWxsPSIjNDU1QTY0Ij48cGF0aCBmaWxsPSJub25lIiBkPSJNMCAwaDI0djI0SDB6Ii8+PHBhdGggZD0iTTMgMTFoMTh2MUgzem0xNC42Mi0xbC0yLjI5LTYuMWMtLjE5LS41LS43NC0uNzctMS4yNS0uNkwxMiA0bC0yLjA5LS43Yy0uNTEtLjE3LTEuMDYuMS0xLjI1LjZMNi4zOCAxMGgxMS4yNHptLTEuMTIgM2MtMS42NiAwLTMuMDQgMS4xNi0zLjQgMi43MS0uODQtLjM2LTEuNjItLjI2LTIuMi0uMDFBMy41MDMgMy41MDMgMCAwIDAgNy41IDEzQzUuNTcgMTMgNCAxNC41NyA0IDE2LjVTNS41NyAyMCA3LjUgMjBjMS44NCAwIDMuMzMtMS40MiAzLjQ3LTMuMjIuMy0uMjEgMS4wOS0uNiAyLjA2LjAyLjE2IDEuNzkgMS42NCAzLjIgMy40NyAzLjIgMS45MyAwIDMuNS0xLjU3IDMuNS0zLjVTMTguNDMgMTMgMTYuNSAxM3ptLTkgNmEyLjUgMi41IDAgMCAxIDAtNSAyLjUgMi41IDAgMCAxIDAgNXptOSAwYTIuNSAyLjUgMCAwIDEgMC01IDIuNSAyLjUgMCAwIDEgMCA1eiIvPjwvc3ZnPg==">
<meta name="viewport" content="width=device-width">
<link id="incognitothemecss" rel="stylesheet">
<script>
// Until themes can clear the cache, force-reload the theme stylesheet.
document.querySelector('#incognitothemecss').href =
'chrome://theme/css/incognito_tab_theme.css?' + Date.now();
</script>
<link rel="stylesheet" href="chrome://resources/css/text_defaults_md.css">
<style>/* Copyright 2017 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file. */
body {
-webkit-font-smoothing: antialiased;
font-size: 100%;
margin: 0;
}
[hidden] {
display: none !important;
}
/** Typography -------------------------------------------------------------- */
.content {
color: rgb(255, 0, 0); /* --google-grey-200 */
font-size: calc(100% - 2px);
line-height: calc(100% + 6px);
min-width: 240px;
}
h1 {
font-size: calc(100% + 8px);
font-weight: 400;
line-height: calc(100% + 8px);
}
em {
color: rgb(253, 97, 97);
font-style: normal;
}
.learn-more-button {
color: rgb(145, 4, 4);
text-decoration: none;
}
/* Small font on small screens. */
@media (max-width: 240px),
(max-height: 320px) {
.content {
font-size: calc(100% - 4px);
line-height: calc(100% + 6px);
}
h1 {
font-size: calc(100% + 4px);
line-height: calc(100% + 4px);
}
}
/** Icon -------------------------------------------------------------------- */
.icon {
content: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIwIiBoZWlnaHQ9IjEyMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0wIDBoMTIwdjEyMEgweiIvPjxwYXRoIGQ9Ik02MCAwYzMzLjEzNyAwIDYwIDI2Ljg2MyA2MCA2MHMtMjYuODYzIDYwLTYwIDYwUzAgOTMuMTM3IDAgNjAgMjYuODYzIDAgNjAgMHptMTcuNSA2NC44MzdjLTYuNDU2IDAtMTEuODIyIDQuNTAyLTEzLjIyMiAxMC41MTYtMy4yNjctMS4zOTctNi4zLTEuMDA5LTguNTU2LS4wMzlDNTQuMjgzIDY5LjMgNDguOTE3IDY0LjgzNyA0Mi41IDY0LjgzN2MtNy41MDYgMC0xMy42MTEgNi4wOTItMTMuNjExIDEzLjU4MkMyOC44ODkgODUuOTA4IDM0Ljk5NCA5MiA0Mi41IDkyYzcuMTU2IDAgMTIuOTUtNS41MSAxMy40OTQtMTIuNDk1IDEuMTY3LS44MTUgNC4yNC0yLjMyOCA4LjAxMi4wNzhDNjQuNjI4IDg2LjUyOSA3MC4zODMgOTIgNzcuNSA5MmM3LjUwNiAwIDEzLjYxMS02LjA5MiAxMy42MTEtMTMuNTgxIDAtNy40OS02LjEwNS0xMy41ODItMTMuNjExLTEzLjU4MnptLTM1IDMuODhjNS4zNjcgMCA5LjcyMiA0LjM0NyA5LjcyMiA5LjcwMiAwIDUuMzU1LTQuMzU1IDkuNy05LjcyMiA5LjctNS4zNjcgMC05LjcyMi00LjM0NS05LjcyMi05LjcgMC01LjM1NSA0LjM1NS05LjcwMSA5LjcyMi05LjcwMXptMzUgMGM1LjM2NyAwIDkuNzIyIDQuMzQ3IDkuNzIyIDkuNzAyIDAgNS4zNTUtNC4zNTUgOS43LTkuNzIyIDkuNy01LjM2NyAwLTkuNzIyLTQuMzQ1LTkuNzIyLTkuNyAwLTUuMzU1IDQuMzU1LTkuNzAxIDkuNzIyLTkuNzAxek05NSA1N0gyNXY0aDcwdi00ek03Mi44NzQgMjkuMzRjLS44LTEuODItMi44NjYtMi43OC00Ljc4NS0yLjE0M0w2MCAyOS45MTRsLTguMTI4LTIuNzE3LS4xOTItLjA1OGMtMS45MjgtLjUzMy0zLjk1NC41MS00LjY2OSAyLjM4N0wzOC4xNDQgNTNoNDMuNzEyTDcyLjk1IDI5LjUyNnoiIGZpbGw9IiNEQURDRTAiLz48L2c+PC9zdmc+);
height: 120px;
width: 120px;
}
/* Medium-sized icon on medium-sized screens. */
@media (max-height: 480px),
(max-width: 720px) {
.icon {
height: 72px;
width: 72px;
}
}
/* Very small icon on very small screens. */
@media (max-width: 720px) {
@media (max-width: 240px),
(max-height: 480px) {
.icon {
height: 48px;
width: 48px;
}
}
}
/** The "Learn more" link --------------------------------------------------- */
/* By default, we only show the inline "Learn more" link. */
.content > .learn-more-button {
display: none;
}
/* On narrow screens, we show the standalone "Learn more" link. */
@media (max-width: 720px) {
#subtitle > .learn-more-button {
display: none;
}
.content > .learn-more-button {
display: block;
}
}
/** Cookie Controls --------------------------------------------------------- */
#cookie-controls {
align-items: center;
background-color: rgb(0, 228, 228); /* --google-grey-800 */
border-radius: 4px;
box-sizing: border-box;
display: flex;
padding: 12px 20px;
}
#cookie-controls-description {
flex: 1;
padding-inline-end: 12px;
}
#cookie-controls-description em {
display: block;
}
#cookie-controls-toggle,
#cookie-controls-tooltip-icon {
flex: none;
}
#cookie-controls-toggle:not(:defined) {
width: 34px;
}
#cookie-controls-tooltip-icon {
margin-inline-end: 24px; /* var(--cr-controlled-by-spacing) */
}
#cookie-controls-tooltip-icon:not(:defined) {
width: 20px; /* var(--cr-icon-size) */
}
/** Layout ------------------------------------------------------------------ */
/* Align the content, icon, and title to to the center. */
.content {
margin-inline-end: auto;
margin-inline-start: auto;
max-width: 600px;
}
.icon {
margin-inline-end: auto;
margin-inline-start: auto;
}
h1 {
text-align: center;
}
/* Align the two columns of bulletpoints next to each other. */
#bulletpoints-wrapper {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.bulletpoints {
flex-basis: 285px; /* (600px - 30px) / 2. */
flex-grow: 1;
flex-shrink: 0;
}
.bulletpoints.first {
margin-inline-end: 30px;
}
/* On narrow screens, align everything to the left. */
@media (max-width: 720px) {
.content {
max-width: 600px !important; /* must override the rule set by JS which
* is only valid for width > 720px cases. */
text-align: start;
}
.icon {
margin-inline-start: 0;
}
h1 {
text-align: start;
}
}
/** Paddings and margins ---------------------------------------------------- */
.bulletpoints ul {
margin: 4px 0 0;
padding-inline-start: 16px;
}
/* Wide screens. */
@media (min-width: 720px) {
.icon,
h1,
#subtitle,
.learn-more-button {
margin-top: 1.5rem;
}
.icon,
h1,
#subtitle,
.bulletpoints,
#cookie-controls {
margin-bottom: 1.5rem;
}
.content {
margin-top: 40px;
min-width: 240px;
padding: 8px 48px 24px;
}
/* Snap the content box to the whole height on short screens. */
@media (max-height: 480px) {
html,
body,
.content {
height: 100%;
}
.content {
margin-bottom: 0;
margin-top: 0;
padding-bottom: 0;
padding-top: 0;
}
.icon {
margin-top: 0;
padding-top: 32px; /* Define the top offset through the icon's padding,
* otherwise the screen height would be 100% + 32px */
}
}
/* Smaller vertical margins on very short screens. */
@media (max-height: 320px) {
h1,
#subtitle {
margin-bottom: 16px;
margin-top: 16px;
}
.learn-more-button,
.bulletpoints,
.icon,
#cookie-controls {
margin-bottom: 16px;
}
}
}
/* Narrow screens */
@media (max-width: 720px) {
.content {
min-width: 176px;
padding: 72px 32px;
}
.icon,
h1,
#subtitle {
margin-bottom: 1.5rem;
margin-top: 1.5rem;
}
.bulletpoints,
.learn-more-button,
#cookie-controls {
margin-bottom: 1.5rem;
}
/* Smaller offsets on smaller screens. */
@media (max-height: 600px) {
.content {
padding-top: 48px;
}
.icon,
h1,
#subtitle {
margin-bottom: 1rem;
margin-top: 1rem;
}
.bulletpoints,
.learn-more-button,
#cookie-controls {
margin-bottom: 1rem;
}
}
/* Small top offset on very small screens. */
@media (max-height: 480px) {
.content {
padding-top: 32px;
}
}
/* Undo the first and last elements margins. */
.icon {
margin-top: 0;
}
.learn-more-button {
margin-bottom: 0;
}
}
/* Very narrow screens. */
@media (max-width: 240px) {
.content {
min-width: 192px;
padding-inline-end: 24px;
padding-inline-start: 24px;
}
}
</style>
</head>
<body>
<div class="content">
<div class="icon" role="presentation" alt=""></div>
<h1>Você entrou no modo de navegação anônima</h1>
<p id="subtitle">
<span>Agora você pode navegar com privacidade, e as outras pessoas que usarem este dispositivo não verão suas atividades. No entanto, os downloads, favoritos e itens da Lista de leitura ainda serão salvos.</span>
<a class="learn-more-button"
href="https://support.google.com/chrome/?p=incognito">Saiba mais</a>
</p>
<div id="bulletpoints-wrapper">
<div class="bulletpoints first">O Chrome <em>não vai salvar</em> estas informações:
<ul>
<li>Seu histórico de navegação
<li>Cookies e dados de sites
<li>Informações inseridas em formulários
</ul></div>
<div class="bulletpoints">É possível que sua atividade <em>ainda esteja visível</em> para:
<ul>
<li>os websites que você visita
<li>seu empregador ou sua escola
<li>seu provedor de acesso à Internet
</ul></div>
</div>
<div id="cookie-controls">
<div id="cookie-controls-description">
<em>Bloquear cookies de terceiros</em>
Com esse recurso ativado, os sites não podem usar cookies que rastreiem você pela Internet. Algumas funções dos sites podem não funcionar.
</div>
<cr-tooltip-icon id="cookie-controls-tooltip-icon"
icon-aria-label="Bloquear cookies de terceiros"
icon-class=""
tooltip-text="Essa configuração é controlada nas configurações de cookies."
role="link" style="cursor: pointer;" hidden>
</cr-tooltip-icon>
<cr-toggle id="cookie-controls-toggle"
aria-label="Bloquear cookies de terceiros"
dark></cr-toggle>
</div>
<a class="learn-more-button" href="https://support.google.com/chrome/?p=incognito">Saiba mais</a>
</div>
<script type="module">// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import {addWebUIListener} from 'chrome://resources/js/cr.m.js';
import {$} from 'chrome://resources/js/util.m.js';
window.addEventListener('load', function() {
let cookieSettingsUrl;
addWebUIListener('theme-changed', themeData => {
document.documentElement.setAttribute(
'hascustombackground', themeData.hasCustomBackground);
$('incognitothemecss').href =
'chrome://theme/css/incognito_tab_theme.css?' + Date.now();
});
chrome.send('observeThemeChanges');
addWebUIListener('cookie-controls-changed', dict => {
$('cookie-controls-tooltip-icon').hidden = !dict.enforced;
$('cookie-controls-tooltip-icon').iconClass = dict.icon;
$('cookie-controls-toggle').disabled = dict.enforced;
$('cookie-controls-toggle').checked = dict.checked;
cookieSettingsUrl = dict.cookieSettingsUrl;
});
$('cookie-controls-toggle').addEventListener('change', event => {
chrome.send('cookieControlsToggleChanged', [event.detail]);
});
// Make cookie-controls-tooltip-icon respond to the enter key.
$('cookie-controls-tooltip-icon').addEventListener('keyup', event => {
if (event.key === 'Enter') {
$('cookie-controls-tooltip-icon').click();
}
});
$('cookie-controls-tooltip-icon').onclick = () => {
window.location.href = cookieSettingsUrl;
};
chrome.send('observeCookieControlsSettingsChanges');
});
</script>
<!-- Lazy-load cr_elements to avoid performance penalty introduced by loading Polymer -->
<script type="module" src="chrome://resources/cr_elements/cr_toggle/cr_toggle.m.js" async></script>
<script type="module" src="chrome://resources/cr_elements/policy/cr_tooltip_icon.m.js" async></script>
</body>
</html>