[tor-commits] [atlas/master] Improve JavaScript required message

irl at torproject.org irl at torproject.org
Sun Nov 26 18:05:47 UTC 2017


commit 1e9a7c9d781d77ce0b5715edf55e282138638fb2
Author: Iain R. Learmonth <irl at fsfe.org>
Date:   Sun Nov 26 18:05:36 2017 +0000

    Improve JavaScript required message
---
 css/atlas.css    |   4 ++++
 img/noscript.png | Bin 0 -> 943 bytes
 index.html       |   7 +++----
 3 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/css/atlas.css b/css/atlas.css
index 41f799f..b027534 100644
--- a/css/atlas.css
+++ b/css/atlas.css
@@ -8,6 +8,10 @@
     width: 100%;
 }
 
+#secondary-search {
+    display: none;
+}
+
 a.alleged {
 	color: #FE9F30;
 }
diff --git a/img/noscript.png b/img/noscript.png
new file mode 100644
index 0000000..3bc118b
Binary files /dev/null and b/img/noscript.png differ
diff --git a/index.html b/index.html
index 7928fb6..9897c0c 100644
--- a/index.html
+++ b/index.html
@@ -155,10 +155,9 @@
   </div>
   <div id="content">
     <noscript>
-      <div class="page-header">
-        <h1>JavaScript required</h1>
-      </div>
-      <p class="lead">Please enable JavaScript to use this service.</p>
+      <div class="alert alert-warning">
+      <p><strong>JavaScript required</strong><br>
+      Please enable JavaScript to use this service. If you are using Tor Browser on High Security mode, it is possible to enable JavaScript to run only on this page. Click the NoScript <img src="img/noscript.png"> icon on your address bar and select "Temporarily allow all on this page". Relay Search only uses JavaScript resources that are hosted by the Tor Metrics team.</p>
     </noscript>
   </div>
 </div> <!-- /container -->



More information about the tor-commits mailing list