commit
5a7d05744c
11
docs/faq.md
11
docs/faq.md
|
@ -17,6 +17,17 @@ Many browsers support this standard and should work fine, but some have not
|
||||||
implemented it yet (mobile browsers lag behind on this, in
|
implemented it yet (mobile browsers lag behind on this, in
|
||||||
particular).
|
particular).
|
||||||
|
|
||||||
|
## Why does Firefox Send require JavaScript?
|
||||||
|
|
||||||
|
Firefox Send uses JavaScript to:
|
||||||
|
|
||||||
|
- Encrypt and decrypt files locally on the client instead of the server.
|
||||||
|
- Render the user interface.
|
||||||
|
- Manage translations on the website into [various different languages](https://github.com/mozilla/send#localization).
|
||||||
|
- Collect data to help us improve Send in accordance with our [Terms & Privacy](https://send.firefox.com/legal).
|
||||||
|
|
||||||
|
Since Send is an open source project, you can see all of the cool ways we use JavaScript by [examining our code](https://github.com/mozilla/send/).
|
||||||
|
|
||||||
## How long are files available for?
|
## How long are files available for?
|
||||||
|
|
||||||
Files are available to be downloaded for 24 hours, after which they are removed
|
Files are available to be downloaded for 24 hours, after which they are removed
|
||||||
|
|
|
@ -19,6 +19,7 @@ if (storage.has('referrer')) {
|
||||||
}
|
}
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
$('#page-one').removeAttr('hidden');
|
||||||
$('#file-upload').change(onUpload);
|
$('#file-upload').change(onUpload);
|
||||||
|
|
||||||
$('.legal-links a, .social-links a, #dl-firefox').click(function(target) {
|
$('.legal-links a, .social-links a, #dl-firefox').click(function(target) {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<div id="page-one">
|
<div id="page-one" hidden>
|
||||||
<script src="/upload.js"></script>
|
<script src="/upload.js"></script>
|
||||||
<div class="title" data-l10n-id="uploadPageHeader"></div>
|
<div class="title" data-l10n-id="uploadPageHeader"></div>
|
||||||
<div class="description">
|
<div class="description">
|
||||||
|
|
|
@ -29,16 +29,21 @@
|
||||||
<a href="https://qsurvey.mozilla.com/s3/txp-firefox-send" rel="noreferrer noopener" class="feedback" target="_blank" data-l10n-id="siteFeedback">Feedback</a>
|
<a href="https://qsurvey.mozilla.com/s3/txp-firefox-send" rel="noreferrer noopener" class="feedback" target="_blank" data-l10n-id="siteFeedback">Feedback</a>
|
||||||
</header>
|
</header>
|
||||||
<div class="all">
|
<div class="all">
|
||||||
|
<noscript>
|
||||||
|
<h2>Firefox Send requires JavaScript</h2>
|
||||||
|
<p><a href="https://github.com/mozilla/send/blob/master/docs/faq.md#why-does-firefox-send-require-javascript" target="_blank" rel="noreferrer noopener">Why does Firefox Send require JavaScript?</a></p>
|
||||||
|
<p>Please enable JavaScript and try again.</p>
|
||||||
|
</noscript>
|
||||||
{{{body}}}
|
{{{body}}}
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<div class="legal-links">
|
<div class="legal-links">
|
||||||
<a href="https://www.mozilla.org"><img class="mozilla-logo" src="/resources/mozilla-logo.svg"/></a>
|
<a href="https://www.mozilla.org"><img class="mozilla-logo" src="/resources/mozilla-logo.svg"/></a>
|
||||||
<a href="https://www.mozilla.org/about/legal" data-l10n-id="footerLinkLegal"></a>
|
<a href="https://www.mozilla.org/about/legal" data-l10n-id="footerLinkLegal">Legal</a>
|
||||||
<a href="https://testpilot.firefox.com/about" data-l10n-id="footerLinkAbout"></a>
|
<a href="https://testpilot.firefox.com/about" data-l10n-id="footerLinkAbout">About Test Pilot</a>
|
||||||
<a href="/legal" data-l10n-id="footerLinkPrivacy"></a>
|
<a href="/legal" data-l10n-id="footerLinkPrivacy">Privacy</a>
|
||||||
<a href="/legal" data-l10n-id="footerLinkTerms"></a>
|
<a href="/legal" data-l10n-id="footerLinkTerms">Terms</a>
|
||||||
<a href="https://www.mozilla.org/privacy/websites/#cookies" data-l10n-id="footerLinkCookies"></a>
|
<a href="https://www.mozilla.org/privacy/websites/#cookies" data-l10n-id="footerLinkCookies">Cookies</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="social-links">
|
<div class="social-links">
|
||||||
<a href="https://github.com/mozilla/send" target="_blank" rel="noreferrer noopener"><img class="github" src="/resources/github-icon.svg"/></a>
|
<a href="https://github.com/mozilla/send" target="_blank" rel="noreferrer noopener"><img class="github" src="/resources/github-icon.svg"/></a>
|
||||||
|
|
Loading…
Reference in New Issue