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

Side by Side Diff: chrome/content/ui/firstRun.xhtml

Issue 9078049: First run page (Closed)
Patch Set: Created Dec. 28, 2012, 11:06 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!-- 1 <!--
2 - This file is part of the Adblock Plus, 2 - This file is part of the Adblock Plus,
3 - Copyright (C) 2006-2012 Eyeo GmbH 3 - Copyright (C) 2006-2012 Eyeo GmbH
4 - 4 -
5 - Adblock Plus is free software: you can redistribute it and/or modify 5 - Adblock Plus is free software: you can redistribute it and/or modify
6 - it under the terms of the GNU General Public License version 3 as 6 - it under the terms of the GNU General Public License version 3 as
7 - published by the Free Software Foundation. 7 - published by the Free Software Foundation.
8 - 8 -
9 - Adblock Plus is distributed in the hope that it will be useful, 9 - Adblock Plus is distributed in the hope that it will be useful,
10 - but WITHOUT ANY WARRANTY; without even the implied warranty of 10 - but WITHOUT ANY WARRANTY; without even the implied warranty of
11 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 - GNU General Public License for more details. 12 - GNU General Public License for more details.
13 - 13 -
14 - You should have received a copy of the GNU General Public License 14 - You should have received a copy of the GNU General Public License
15 - along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. 15 - along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
16 --> 16 -->
17 17
18 <!DOCTYPE html SYSTEM "chrome://adblockplus/locale/firstRun.dtd"> 18 <!DOCTYPE html SYSTEM "chrome://adblockplus/locale/firstRun.dtd">
19 19
20 <html xmlns="http://www.w3.org/1999/xhtml"> 20 <html xmlns="http://www.w3.org/1999/xhtml">
21 <head> 21 <head>
22 <title>&dialog.title;</title> 22 <title>&dialog.title;</title>
23 <script type="application/x-javascript;version=1.7" src="utils.js"/> 23 <script type="application/x-javascript;version=1.7" src="utils.js"/>
24 <script type="application/x-javascript;version=1.7" src="typoSettings.js"/>
24 <script type="application/x-javascript;version=1.7" src="firstRun.js"/> 25 <script type="application/x-javascript;version=1.7" src="firstRun.js"/>
25 <link type="text/css" href="chrome://adblockplus/skin/firstRun.css" rel="sty lesheet"/> 26 <link type="text/css" href="chrome://adblockplus/skin/firstRun.css" rel="sty lesheet"/>
26 </head> 27 </head>
27 <body onload="init()"> 28 <body>
28 <p>&confirmation;</p> 29 <div id="shade" class="arrow"></div>
30 <div id="content">
31 <header>
32 <h1>Adblock Plus has been installed</h1>
33 </header>
29 34
30 <div class="sectionContainer"> 35 <p>
31 <p class="sectionTitle">&advancedSection;</p> 36 Adblock Plus will always block annoying ads. Still, we want to encourage
37 websites using plain and unobtrusive advertising. That's why we have estab lished
38 <a href="#" onclick="UI.loadDocLink('acceptable_ads', 'criteria'); return false;">strict guidelines</a>
Wladimir Palant 2013/05/07 15:01:12 In fact, that's something we've done wrong in Chro
39 to identify acceptable ads, and allow these out of the box. You can always
40 <a href="#" onclick="openFilters(); return false;">disable</a> this if you want to block all ads.
41 </p>
32 42
33 <p>&listSelection1;</p> 43 <h2>Adblock Plus can do more then block ads:</h2>
Wladimir Palant 2013/05/07 15:01:12 s/then/than/
34 44
35 <p id="listNameContainer" hidden="true"> 45 <div id="features">
36 <div id="listName"/> 46 <div class="feature">
Wladimir Palant 2013/05/07 15:01:12 Wrong indentation here.
37 <a id="listHomepage" onclick="UI.loadInBrowser(this.getAttribute('href') ); return false;">&visitHomepage.label;</a> 47 <img src="chrome://adblockplus/skin/features/typo.png" alt="Typo Cor rection"/>
Wladimir Palant 2013/05/07 15:01:12 I would suggest going with alt="" here - the alt t
38 </p> 48 <h1>Typo Correction</h1>
39 <p id="listNone">&noList;</p> 49 <p>
40 50 Adblock Plus can automatically correct typos in the address bar
41 <p id="acceptableAds" hidden="true"> 51 to protect you from visiting malicious websites when misspelling a n
42 &acceptableAds2; 52 internet address.
43 <a href="#" onclick="UI.loadInBrowser(Prefs.subscriptions_exceptionsurl) ; return false;">&viewList.label;</a> 53 </p>
44 <a href="#" onclick="UI.loadDocLink('acceptable_ads'); return false;">&r eadMore.label;</a> 54 <button onclick="TypoActions.setEnabled(true); this.setAttribute('hi dden', 'true'); return false;">Activate</button>
Wladimir Palant 2013/05/07 15:01:12 We shouldn't be using inline JavaScript if we want
45 </p> 55 </div>
56 <div class="feature">
57 <img src="chrome://adblockplus/skin/features/malware.png" alt="Malwa re Blocking"/>
58 <h1>Malware Blocking</h1>
59 <p>
60 Adblock Plus can block domains that are known to be infected by ma lware
61 to make browsing the internet more secure.
62 </p>
63 <button>Activate</button>
Wladimir Palant 2013/05/07 15:01:12 This is obviously a TODO.
64 </div>
65 <div class="feature">
66 <img src="chrome://adblockplus/skin/features/social.png" alt="Remove Social Media Buttons"/>
67 <h1>Remove Social Media Buttons</h1>
68 <p>
69 Social media integration such as the Facebook Like button can be u sed
70 to track your browsing habits. Adblock Plus can remove all social media
71 buttons.
72 </p>
73 <button>Activate</button>
Wladimir Palant 2013/05/07 15:01:12 This is obviously a TODO.
74 </div>
75 <div class="feature">
76 <img src="chrome://adblockplus/skin/features/tracking.png" alt="Disa ble Tracking"/>
77 <h1>Disable Tracking</h1>
78 <p>
79 Enter nice description here.
80 </p>
81 <button>Activate</button>
Wladimir Palant 2013/05/07 15:01:12 This is obviously a TODO.
82 </div>
46 </div> 83 </div>
47 84
48 <p id="changeDescription" _textTemplate="&listSelection2;"> 85 <footer id="social">
49 <a href="#" onclick="openFilters(); return false;"/> 86 <ul>
50 </p> 87 <li>
88 <a href="https://www.facebook.com/adblockplus">
89 <img src="chrome://adblockplus/skin/social/facebook.png" width="82" height="82" alt="Facebook logo"/>
Wladimir Palant 2013/05/07 15:01:12 Alt text should be "Share on Facebook" here - othe
90 </a>
91 </li>
92 <li>
93 <a href="https://twitter.com/adblockplus">
94 <img src="chrome://adblockplus/skin/social/twitter.png" width="82" h eight="82" alt="Twitter logo"/>
95 </a>
96 </li>
97 <li>
98 <a href="https://plus.google.com/110020691898167279887">
99 <img src="chrome://adblockplus/skin/social/gplus.png" width="82" hei ght="82" alt="Google+ logo"/>
100 </a>
101 </li>
102 </ul>
103 <!-- This is a hack, header should go before content, but I do not know ho w to make address it with CSS then. -->
104 <h1>Think Adblock Plus is worth sharing?</h1>
105 </footer>
106 </div>
51 </body> 107 </body>
52 </html> 108 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld