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

Unified Diff: chrome/content/firstrun/index.html

Issue 29366570: Issue 4681 - Move URL Fixer first-run page into the extension (Closed) Base URL: https://hg.adblockplus.org/urlfixer
Patch Set: Created Dec. 1, 2016, 1:05 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/content/firstrun/index.html
===================================================================
new file mode 100644
--- /dev/null
+++ b/chrome/content/firstrun/index.html
@@ -0,0 +1,115 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Installation Successful! | URL Fixer</title>
+ <link href="reset.css" rel="stylesheet" type="text/css" />
+ <link href="style.css" rel="stylesheet" type="text/css" />
+ <link href="fancybox/jquery.fancybox-1.3.4.css" rel="stylesheet" type="text/css" />
+ <script type="text/javascript" src="jquery-1.7.1.min.js"></script>
+ <script type="text/javascript" src="fancybox/jquery.fancybox-1.3.4.pack.js"></script>
Wladimir Palant 2016/12/01 13:13:43 I changed the paths above to relative, same with t
+
+ <script type="text/javascript">
+ $(document).ready(function()
+ {
+ $("a.lightbox").fancybox({
+ overlayColor: "#000",
+ transitionIn: "elastic",
+ transitionOut: "elastic",
+ titlePosition: "outside"
+ });
+ });
Wladimir Palant 2016/12/01 13:13:43 There was some additional logic related to the dat
+ </script>
+
+ <style type="text/css">
+ #thumbnails
+ {
+ margin: 0px 20px;
+ float: right;
+ }
+ #thumbnails a
+ {
+ display: block;
+ margin-bottom: 30px;
+ }
+ #thumbnails a img
+ {
+ width: 200px;
+ height: 150px;
+ }
+
+ #middle h2
+ {
+ font-size: 28px;
+ padding-bottom: 10px;
+ }
+ #middle h3
+ {
+ font-size: 22px;
+ padding-bottom: 10px;
+ }
+ #middle p
+ {
+ font-size: 16px;
+ line-height: 26px;
+ margin-bottom: 18px;
+ }
+ </style>
+ </head>
+ <body>
+ <div id="page">
+ <div id="top">
+ <div class="frame">
+ <h1><img src="logo.png" alt="URL Fixer" /></h1>
+ <div class="clear"></div>
+ </div>
+ </div>
+
+ <div id="middle">
+ <div class="frame">
+ <h2>Installation Successful</h2>
+
+ <div id="thumbnails">
+ <a class="lightbox" href="screenshot2-big.png"><img src="screenshot2.png" /></a>
+ <a class="lightbox" href="screenshot3-big.png"><img src="screenshot3.png" /></a>
+ <a class="lightbox" href="screenshot4-big.png"><img src="screenshot4.png" /></a>
+ </div>
+
+ <h3>How It Works</h3>
+
+ <p>
+ URL Fixer fixes common typos in URLs entered in the address bar. It will
+ fix errors like "google.con" or "youtube,com". You have the option of
+ being asked to confirm corrections before they are applied.
+ <a href="screenshot2-big.png" class="lightbox">(screenshot)</a>
+ </p>
+
+ <p>
+ With URL Fixer, you can also specify your own set of custom corrections.
+ Add or remove your own corrections in URL Fixer's options dialog,
+ accessible via <em>Tools</em> &raquo; <em>Add-ons</em> &raquo; <em>URL
+ Fixer</em> &raquo; <em>Preferences</em>.
+ <a href="screenshot3-big.png" class="lightbox">(screenshot)</a>
+ </p>
+
+ <p>
+ You can also correct errors as they happen; if Firefox can't find the
+ website you typed in, URL Fixer lets you mark that URL as a typo, and
+ you'll never see that error page again.
+ <a href="screenshot4-big.png" class="lightbox">(screenshot)</a>
+ </p>
+
+ <div class="clear"></div>
+ </div>
+ </div>
+
+ <div id="footer">
+ <p>
+ Open-source software released under <a href="http://www.mozilla.org/MPL/1.1/">Mozilla Public License</a>
Thomas Greiner 2016/12/07 16:08:32 We're using GPLv3 for URL Fixer, aren't we? Based
Wladimir Palant 2016/12/08 13:02:23 Done.
+ |
+ <a href="https://addons.mozilla.org/addon/url-fixer/privacy/">Privacy Policy</a>
Wladimir Palant 2016/12/01 13:13:43 There was an imprint link here, I removed it given
+ </p>
+ <div class="clear"></div>
+ </div>
+ </div>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld