Upload version 0.5
[LocalLink.git] / www / index.html
blob631a3be6c5c1c561d833980db15b4e8eadd029af
2 <!-- ***************** INFO/NEWS *************** -->
3 <div id="infoTabs">
4 <div class="infoTab" id="whats-new">
5 <h5 class="infoHeader">What's New</h5>
6 <ul>
7 <li>Version 0.5 includes french localisation</li>
8 <li>Version 0.4 is compatible with FF 3.6</li>
9 <li>Git interface</li>
10 <li>Version 0.4 is compatible with FF 3.0</li>
11 <li>Version 0.4 is compatible with FF 3.0 betas</li>
12 <li>Version 0.3 is compatible with FF 2.0</li>
13 <li>Version 0.3 for FF 1.5 &amp; TB 1.5</li>
14 <li>Version 0.2 for Firefox &amp; Thunderbird</li>
15 <li>Version 0.1 for Firefox</li>
16 <li><a href="http://www.mozdev.org/">mozdev.org</a></li>
17 </ul>
18 </div>
20 <div class="infoTab" id="other-stuff">
21 <h5 class="infoHeader">Other Stuff</h5>
22 <script type="text/javascript"><!--
23 google_ad_client = "pub-5604756703943711";
24 google_ad_width = 160;
25 google_ad_height = 600;
26 google_ad_format = "160x600_as";
27 google_ad_type = "text_image";
28 google_ad_channel ="5511434859";
29 //--></script>
30 <script type="text/javascript"
31 src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
32 </script>
33 </div>
35 <!-- alternative image/table base tab works better in NS4 -->
36 <!--
37 <div class="infoTab" id="whats-new-image">
38 <h5 class="infoHeader"><img src="http://www.mozdev.org/sharedimages/whatsnew_top.gif" width="154" alt="What's New"></h5>
39 <div class="infoItems">
40 <div>News item goes here</div>
41 <div>More news item goes here</div>
42 <div><a href="http://mozdev.org/">mozdev.org</a></div>
43 </div>
44 </div>
45 -->
46 </div>
47 <!-- ***************** INFO/NEWS *************** -->
49 <!-- MAIN CONTENT -->
50 <p>Have you ever wondered why <CODE>file://</CODE>-links work from local files (which have <CODE>file://</CODE>-URLs) but not from webpages (which have <CODE>http://</CODE>-URLs)?
51 Do you have collections of local links which you want to access through your webpage?
52 The <strong>LocalLink</strong> extension for Mozilla Firefox and Thunderbird allows you to open any such link from the context menu, no matter where the page containing the link resides:
53 right click on the link, choose &quot;Open&quot;, and the link will be opened in the current window, a new tab or a new window (for Firefox) resp. in the message pane or a browser window (for Thunderbird), depending on the submenu item you chose. </p>
54 <P>
55 Note: You can open any link from the &quot;Open&quot; menu, not just local links. In particular this allows you to view links in the message pane of Thunderbird instead of in an external browser (if protocol and file handlers are set up appropriately).
56 </P>
57 <P>
58 See <A HREF="installation.html">Installation</A> for download links and instructions.
59 </P>
61 <H3>Background</H3>
62 <P>Mozilla employs a strict security model which distinguishes between &quot;chrome&quot; (components of your browser, accessible by <CODE>chrome://</CODE>-URLs), &quot;local&quot; (files on your machine, i.e. accessible by <CODE>file://</CODE>-links) and outside.
63 &quot;chrome&quot; can access everything, &quot;local&quot; can access everything but &quot;chrome&quot;, outside content can only access outside content.
64 There are many good reasons for this strict behaviour.
65 Imagine outside JavaScript code being allowed to access your local files, or even your browser!
66 Even with JavaScript turned off, outside webpages could check for the presence of specific local files on your machine if Mozilla followed local <CODE>IMG</CODE>-links and such.
67 </P>
68 <P> The discussion about the consequences of the security model for the user tends to be heated. For more information see, among many others, the following bugs:
69 </P>
70 <UL>
71 <LI> <A HREF="https://bugzilla.mozilla.org/show_bug.cgi?id=84128">bug 84128</A>
72 <LI> <A HREF="https://bugzilla.mozilla.org/show_bug.cgi?id=122022">bug 122022</A>
73 </UL>
75 <H3>How it works</H3>
76 <P>As explained above, &quot;chrome&quot; can do anything.
77 This is why you can enter <CODE>file://</CODE> in the location bar and hit enter.
78 Since extensions are part of &quot;chrome&quot; they are allowed to open windows with local links.
79 </P>
81 <H3>Security info and disclaimer</H3>
82 <P>As far as I can tell, this extension does not add any security holes.
83 &quot;chrome&quot; can do anything even without this extension.
84 This extension allows to overcome the local/outside barrier by following local links <strong>on user request</strong> (through the context menu).
85 It does not enable any automatic processing of local links, such as <CODE>IMG</CODE>, JavaScript etc.
86 Yet, <strong>you use this extension at your own risk and responsibility</strong>.
87 Make sure you know the source of the webpage containing the local link.
88 </P>
90 <H3>To do</H3>
91 <P> Feel free to tell me your suggestions through the <A HREF="list.html" text="mailing list">mailing list</A>.
92 My current plans are:</P>
93 <UL>
94 <LI> Version for Mozilla Suite
95 <LI> <SPAN class="struck">Version for Mozilla Thunderbird</SPAN>: done in version 0.2
96 <LI> <SPAN class="struck">Universal localisation</SPAN>: done in version 0.2
97 <LI> <SPAN class="struck">Additional menu entries for opening the link in the current tab, a new tab, or a new window</SPAN>: done in version 0.2
98 </UL>