mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-03 03:46:21 -04:00
Use a div that gets hidden, instead of a <noscript> tag, because the <noscript> tag doesn't when the security slider is on Safer
This commit is contained in:
parent
5755cd625b
commit
1c16b092a3
3 changed files with 19 additions and 9 deletions
|
@ -33,14 +33,17 @@
|
|||
</div>
|
||||
</form>
|
||||
|
||||
<noscript>
|
||||
<div class="noscript">
|
||||
<strong>Warning:</strong> Due to a bug in Tor Browser and Firefox, if you want to upload
|
||||
a file bigger than 50mb, you must set the Tor Browser security slider to
|
||||
Standard. Otherwise your upload will never finish. If you plan on
|
||||
only uploading small files, your current settings are fine.
|
||||
</div>
|
||||
</noscript>
|
||||
<!-- We are not using a <noscript> tag because it only works when the security slider
|
||||
is set to Safest, not Safer. -->
|
||||
<div id="noscript">
|
||||
<p>
|
||||
<strong>Warning:</strong> Due to a bug in Tor Browser and Firefox, if you
|
||||
want to upload a file bigger than 50mb, you must set the Tor Browser
|
||||
<a rel="noreferrer" target="_blank" href="https://tb-manual.torproject.org/en-US/security-slider/">security slider</a>
|
||||
to Standard. Otherwise your upload will never finish.</p>
|
||||
|
||||
<p>If you plan on only uploading small files, your current settings are fine.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="/static/js/receive.js"></script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue