Version 0.5.5, Rev2081, Lack of JS notification

This commit is contained in:
shortcutme 2017-05-18 23:03:26 +02:00
parent 077b3df3cd
commit e6680b4f60
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE
2 changed files with 5 additions and 2 deletions

View file

@ -11,6 +11,9 @@
</head>
<body style="{body_style}">
<noscript>
<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>
</noscript>
<script>
// If we are inside iframe escape from it
if (window.self !== window.top) window.open(window.location.toString(), "_top");