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

Delta Between Two Patch Sets: pages/adware.md

Issue 29350056: Issue 4348 - control adware page warning through url parameter (Closed)
Left Patch Set: Created Aug. 22, 2016, 3:36 p.m.
Right 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:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 li.icon.cross strong 135 li.icon.cross strong
136 { 136 {
137 color: #e11a2c; 137 color: #e11a2c;
138 } 138 }
139 </style> 139 </style>
140 140
141 <script type="text/javascript"> 141 <script type="text/javascript">
142 document.addEventListener("DOMContentLoaded", function() 142 document.addEventListener("DOMContentLoaded", function()
143 { 143 {
144 if (window.location.search.indexOf("warning=true") == 1) 144 if (window.location.search.indexOf("warning=true") == 1)
145 document.body.className = "show-warning"; 145 {
juliandoucette 2016/09/22 14:25:10 This is destructive. I would recommend using += "
saroyanm 2016/09/22 14:57:45 You are totally right, done.
146 if ("classList" in document.body)
147 document.body.classList.add("show-warning")
148 else
149 document.body.className += " show-warning";
150 }
146 }, false); 151 }, false);
147 </script> 152 </script>
148 </head> 153 </head>
149 154
150 # {{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 }}
151 156
152 <div class="warning" markdown="1"> 157 <div class="warning" markdown="1">
153 ## {{alert-heading What happened?}} 158 ## {{alert-heading What happened?}}
154 159
155 {{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.}}
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 * [{{opera-brand}}](http://www.opera.com/) 217 * [{{opera-brand}}](http://www.opera.com/)
213 * [{{yandex-brand}}](https://browser.yandex.com/) 218 * [{{yandex-brand}}](https://browser.yandex.com/)
214 * **{{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/).
215 { .icon .check } 220 { .icon .check }
216 * **{{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 .}}**
217 { .icon .check } 222 { .icon .check }
218 * **{{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.}}
219 { .icon .cross } 224 { .icon .cross }
220 * **{{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.}}
221 { .icon .cross } 226 { .icon .cross }
LEFTRIGHT
« no previous file | no next file » | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Toggle Comments ('s')

Powered by Google App Engine
This is Rietveld