Make notification compatible with latest noscript
This commit is contained in:
parent
271cb66c69
commit
fb925745ba
1 changed files with 5 additions and 3 deletions
|
@ -11,9 +11,11 @@
|
||||||
</head>
|
</head>
|
||||||
<body style="{body_style}" class="{themeclass}">
|
<body style="{body_style}" class="{themeclass}">
|
||||||
|
|
||||||
<noscript>
|
<div class="unsupported" id="unsupported">
|
||||||
<div class="unsupported"><h3>ZeroNet requires JavaScript support.</h3>If you use NoScript: Click on toolbar icon and choose the "Temporary allow all this page" option.</div>
|
<script nonce="{script_nonce}">document.getElementById('unsupported').style.display = "none"</script>
|
||||||
</noscript>
|
<h3>ZeroNet requires JavaScript support.</h3>If you use NoScript/Tor browser: Click on toolbar icon with the notification and choose "Temp. TRUSTED" for 127.0.0.1.
|
||||||
|
</div>
|
||||||
|
|
||||||
<script nonce="{script_nonce}">
|
<script nonce="{script_nonce}">
|
||||||
// If we are inside iframe escape from it
|
// If we are inside iframe escape from it
|
||||||
if (window.self !== window.top) {
|
if (window.self !== window.top) {
|
||||||
|
|
Loading…
Reference in a new issue