Skip to content

Commit 6005b8e

Browse files
committed
add additional-filter-lists page
1 parent a2b5283 commit 6005b8e

File tree

3 files changed

+121
-76
lines changed

3 files changed

+121
-76
lines changed

filtering/additional-lists.html

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
<!doctype html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="utf-8">
6+
<title>Brave QA Tests | Filtering | Additional lists</title>
7+
<meta name="viewport" content="width=device-width, initial-scale=1">
8+
<link rel="stylesheet" href="/static/css/bootstrap.min.css">
9+
<link rel="stylesheet" href="/static/css/site.css">
10+
</head>
11+
12+
<body>
13+
<div class="container">
14+
<header>
15+
<div class="row">
16+
<div class="col">
17+
<nav aria-label="breadcrumb">
18+
<ol class="breadcrumb">
19+
<li class="breadcrumb-item"><a href="/index.html">Home</a></li>
20+
<li class="breadcrumb-item"><a href="/filtering/index.html">Filtering</a></li>
21+
<li class="breadcrumb-item active" aria-current="page">Additional lists</li>
22+
<li class="ml-auto"><a class="other-origin" data-href="/index.html" href="#">Other site</a></li>
23+
</ol>
24+
</nav>
25+
26+
<h1>Additional filter lists</h1>
27+
<p>
28+
This page shows page content that should be hidden or modified
29+
only when the user has enabled different filter lists
30+
In Brave this is done by enabling lists in
31+
<code>brave://settings/shields/filters</code>.
32+
</p>
33+
34+
<p>
35+
The below, right hand content should be hidden when the following are
36+
true.
37+
</p>
38+
39+
<ul>
40+
<li>Shields are enabled and "Block trackers and ads" is either
41+
default or aggressive.</li>
42+
<li>The relevant filter list is enabled.</li>
43+
</ul>
44+
</div>
45+
</div>
46+
</header>
47+
48+
<section>
49+
<div class="row">
50+
<div class="col">
51+
<h2>Cookie banner list</h2>
52+
<p>
53+
<strong>EasyList-Cookie</strong> list from
54+
<a href="https://secure.fanboy.co.nz/fanboy-cookiemonster.txt">
55+
<code>https://secure.fanboy.co.nz/fanboy-cookiemonster.txt</code>
56+
</a>
57+
</p>
58+
</div>
59+
</div>
60+
61+
<div class="row">
62+
<div class="col">
63+
<h3>Control Case</h3>
64+
<div class="border border-primary">
65+
<img src="/static/images/test.jpg" class="img-thumbnail">
66+
</div>
67+
68+
<p>The above image should be displayed in all browser configurations.</p>
69+
</div>
70+
71+
<div class="col">
72+
<h3>Test Case</h3>
73+
<div class="border border-primary ">
74+
<img src="/static/images/test.jpg" class="img-thumbnail" id="EUCookieBar">
75+
</div>
76+
77+
<p>The above image should be hidden if the EasyList-Cookie list is enabled.</p>
78+
</div>
79+
</div>
80+
</section>
81+
82+
<section>
83+
<div class="row">
84+
<div class="col">
85+
<h2>"Open in App" notifications list</h2>
86+
<p>
87+
<strong>Fanboy's Mobile Notifications</strong> list from
88+
<a href="https://secure.fanboy.co.nz/fanboy-mobile-notifications.txt">
89+
<code>https://secure.fanboy.co.nz/fanboy-mobile-notifications.txt</code>
90+
</a>
91+
</p>
92+
</div>
93+
</div>
94+
95+
<div class="row">
96+
<div class="col">
97+
<h3>Control Case</h3>
98+
<div class="border border-primary">
99+
<img src="/static/images/test.jpg" class="img-thumbnail">
100+
</div>
101+
102+
<p>The above image should be displayed in all browser configurations.</p>
103+
</div>
104+
105+
<div class="col">
106+
<h3>Test Case</h3>
107+
<div class="border border-primary ">
108+
<img src="/static/images/test.jpg" class="img-thumbnail" id="mn-app-banner">
109+
</div>
110+
111+
<p>The above image should be hidden if the "Open in App" Notifications
112+
list is enabled.</p>
113+
</div>
114+
</div>
115+
</section>
116+
</div>
117+
<script src="/static/js/site.js"></script>
118+
</body>
119+
120+
</html>

filtering/cookie-banners.html

Lines changed: 0 additions & 75 deletions
This file was deleted.

filtering/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ <h1>Filtering Tests</h1>
3535
</p>
3636

3737
<ul class="list-group">
38-
<li class="list-group-item"><a href="/filtering/cookie-banners.html">Cookie banners</a></li>
38+
<li class="list-group-item"><a href="/filtering/additional-lists.html">Additional lists</a></li>
3939
<li class="list-group-item"><a href="/filtering/cosmetic-filtering.html">Cosmetic filtering</a></li>
4040
<li class="list-group-item"><a href="/filtering/text-ads.html">Text ads</a></li>
4141
<li class="list-group-item"><a href="/filtering/network-requests.html">Network requests</a></li>

0 commit comments

Comments
 (0)