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

@ -9,8 +9,8 @@ import ConfigParser
class Config(object):
def __init__(self, argv):
self.version = "0.5.4"
self.rev = 2080
self.version = "0.5.5"
self.rev = 2081
self.argv = argv
self.action = None
self.config_file = "zeronet.conf"

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");