Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: pages/adware.md

Issue 29350056: Issue 4348 - control adware page warning through url parameter (Closed)
Patch Set: Add the class, don't rewrite Created Sept. 22, 2016, 2:57 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 title=About adware 1 title=About adware
2 description=What is adware and how to get rid of it 2 description=What is adware and how to get rid of it
3 noheading=true 3 noheading=true
4 4
5 <head> 5 <head>
6 <style> 6 <style>
7 .separate-section 7 .separate-section
8 { 8 {
9 margin-top: 20px; 9 margin-top: 20px;
10 padding-top: 20px; 10 padding-top: 20px;
(...skipping 13 matching lines...) Expand all
24 margin: 0px 0px 10px 35px; 24 margin: 0px 0px 10px 35px;
25 } 25 }
26 26
27 .narrow-list-block ul 27 .narrow-list-block ul
28 { 28 {
29 margin-bottom: 0px; 29 margin-bottom: 0px;
30 } 30 }
31 31
32 .warning 32 .warning
33 { 33 {
34 display: none;
34 color: #e11a2c; 35 color: #e11a2c;
35 } 36 }
36 37
37 .warning p 38 .warning p
38 { 39 {
39 padding: 15px; 40 padding: 15px;
40 border: 2px solid; 41 border: 2px solid;
41 border-color: #e11a2c; 42 border-color: #e11a2c;
42 background-color: #fff; 43 background-color: #fff;
43 } 44 }
44 45
46 .show-warning .warning
47 {
48 display: block;
49 }
50
45 .icon-header 51 .icon-header
46 { 52 {
47 vertical-align: middle; 53 vertical-align: middle;
48 line-height: 34px; 54 line-height: 34px;
49 } 55 }
50 56
51 .icon-header em 57 .icon-header em
52 { 58 {
53 display: inline-block; 59 display: inline-block;
54 vertical-align: top; 60 vertical-align: top;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 li.icon.cross::before 130 li.icon.cross::before
125 { 131 {
126 background: url("/img/cross.png") no-repeat center top; 132 background: url("/img/cross.png") no-repeat center top;
127 } 133 }
128 134
129 li.icon.cross strong 135 li.icon.cross strong
130 { 136 {
131 color: #e11a2c; 137 color: #e11a2c;
132 } 138 }
133 </style> 139 </style>
140
141 <script type="text/javascript">
142 document.addEventListener("DOMContentLoaded", function()
143 {
144 if (window.location.search.indexOf("warning=true") == 1)
145 {
146 if ("classList" in document.body)
147 document.body.classList.add("show-warning")
148 else
149 document.body.className += " show-warning";
150 }
151 }, false);
152 </script>
134 </head> 153 </head>
135 154
136 # {{page-header I’m using <fix>Adblock Plus</fix> but I still see suspicious ads }} 155 # {{page-header I’m using <fix>Adblock Plus</fix> but I still see suspicious ads }}
137 156
138 <div class="warning" markdown="1"> 157 <div class="warning" markdown="1">
139 ## {{alert-heading What happened?}} 158 ## {{alert-heading What happened?}}
140 159
141 {{alert-content <fix>Adblock Plus</fix> has detected ads that are likely injecte d with Adware, which may have infected your computer.}} 160 {{alert-content <fix>Adblock Plus</fix> has detected ads that are likely injecte d with Adware, which may have infected your computer.}}
142 </div> 161 </div>
143 162
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 * [{{opera-brand}}](http://www.opera.com/) 217 * [{{opera-brand}}](http://www.opera.com/)
199 * [{{yandex-brand}}](https://browser.yandex.com/) 218 * [{{yandex-brand}}](https://browser.yandex.com/)
200 * **{{install-abp-heading Install <fix>Adblock Plus</fix>.}}** {{install-abp-con tent <fix>Adblock Plus</fix> can help to block and hide ads that trick you into installing potentially unwanted programs. Get <fix>Adblock Plus</fix> from}} [ht tps://adblockplus.org/](https://adblockplus.org/). 219 * **{{install-abp-heading Install <fix>Adblock Plus</fix>.}}** {{install-abp-con tent <fix>Adblock Plus</fix> can help to block and hide ads that trick you into installing potentially unwanted programs. Get <fix>Adblock Plus</fix> from}} [ht tps://adblockplus.org/](https://adblockplus.org/).
201 { .icon .check } 220 { .icon .check }
202 * **{{update-os-heading Keep your operating system and other software up-to-date .}}** 221 * **{{update-os-heading Keep your operating system and other software up-to-date .}}**
203 { .icon .check } 222 { .icon .check }
204 * **{{avoid-popups-heading Don't click inside misleading pop-up windows.}}**{ .t ext-danger } {{avoid-popups-content Many malicious websites try to install Malwa re on your system by making images look like pop-up windows, or by displaying an animation of the website scanning your computer.}} 223 * **{{avoid-popups-heading Don't click inside misleading pop-up windows.}}**{ .t ext-danger } {{avoid-popups-content Many malicious websites try to install Malwa re on your system by making images look like pop-up windows, or by displaying an animation of the website scanning your computer.}}
205 { .icon .cross } 224 { .icon .cross }
206 * **{{dont-install-untrusted-heading Don't install untrusted software.}}**{: .te xt-danger} {{dont-install-untrusted-content Some websites offer you software to accelerate your browser, to help you search the web, or to add toolbars that do things your browser already does. Some unwanted programs also come bundled in so ftware packages. Usually, these programs gather information on your browsing beh avior that serve only the people who designed them. Make sure you only install a dd-ons, extensions and plug-ins from your browser’s web store website and that y ou uncheck unwanted programs in software installation wizards.}} 225 * **{{dont-install-untrusted-heading Don't install untrusted software.}}**{: .te xt-danger} {{dont-install-untrusted-content Some websites offer you software to accelerate your browser, to help you search the web, or to add toolbars that do things your browser already does. Some unwanted programs also come bundled in so ftware packages. Usually, these programs gather information on your browsing beh avior that serve only the people who designed them. Make sure you only install a dd-ons, extensions and plug-ins from your browser’s web store website and that y ou uncheck unwanted programs in software installation wizards.}}
207 { .icon .cross } 226 { .icon .cross }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld