Browse Source

open links in new tab, disable referrers and following

Signed-off-by: r4sas <r4sas@i2pmail.org>
master
R4SAS 4 years ago
parent
commit
23d12d66c7
Signed by: r4sas
GPG Key ID: 66F6C87B98EBCFE2
  1. 6
      public/css/style.css
  2. 2
      templates/add.twig
  3. 10
      templates/alive.twig
  4. 10
      templates/all.twig
  5. 2
      templates/jump.twig
  6. 10
      templates/latest.twig
  7. 10
      templates/search.twig

6
public/css/style.css

@ -78,6 +78,12 @@ body {
justify-content: flex-start; justify-content: flex-start;
} }
abbr {
cursor: help;
border-bottom: 1px dotted #000;
text-decoration: none;
}
.container { .container {
width: 100%; width: 100%;
padding: 0 20px; padding: 0 20px;

2
templates/add.twig

@ -26,7 +26,7 @@
<span> <span>
Addresshelper: Addresshelper:
</span> </span>
<a href="http://{{ result.host }}/?i2paddresshelper={{ result.base64 }}">Go to site</a> <a href="http://{{ result.host }}/?i2paddresshelper={{ result.base64 }}" rel="external nofollow noopener noreferrer" target="_blank">Go to site</a>
</div> </div>
<div class="adder__line line adder__line_base32"> <div class="adder__line line adder__line_base32">
<span> <span>

10
templates/alive.twig

@ -12,8 +12,8 @@
<thead class="table__head"> <thead class="table__head">
<tr class="table__row"> <tr class="table__row">
<th class="table__cell">Domain</th> <th class="table__cell">Domain</th>
<th class="table__cell"><dfn title="Address Helper">AH</dfn></th> <th class="table__cell"><abbr title="Address Helper">AH</abbr></th>
<th class="table__cell"><dfn title="Base32 address">B32</dfn></th> <th class="table__cell"><abbr title="Base32 address">B32</abbr></th>
<th class="table__cell table__cell_full-b32">Full Base32</th> <th class="table__cell table__cell_full-b32">Full Base32</th>
<th class="table__cell">Last seen</th> <th class="table__cell">Last seen</th>
</tr> </tr>
@ -21,9 +21,9 @@
<tbody class="table__body"> <tbody class="table__body">
{% for host in hosts %} {% for host in hosts %}
<tr class="table__row"> <tr class="table__row">
<td class="table__cell"><a href="http://{{ host.host }}/">{{ host.host }}</a></td> <td class="table__cell"><a href="http://{{ host.host }}/" rel="external nofollow noopener noreferrer" target="_blank">{{ host.host }}</a></td>
<td class="table__cell table__cell_center-bold"><a href="http://{{ host.host }}/?i2paddresshelper={{ host.base64 }}">A</a></td> <td class="table__cell table__cell_center-bold"><a href="http://{{ host.host }}/?i2paddresshelper={{ host.base64 }}" rel="external nofollow noopener noreferrer" target="_blank">A</a></td>
<td class="table__cell table__cell_center-bold"><a href="http://{{ host.base32 }}.b32.i2p/">B</a></td> <td class="table__cell table__cell_center-bold"><a href="http://{{ host.base32 }}.b32.i2p/" rel="external nofollow noopener noreferrer" target="_blank">B</a></td>
<td class="table__cell table__cell_full-b32 table__cell_long-ass">{{ host.base32 }}.b32.i2p</td> <td class="table__cell table__cell_full-b32 table__cell_long-ass">{{ host.base32 }}.b32.i2p</td>
<td class="table__cell">{{ host.last_seen }}</td> <td class="table__cell">{{ host.last_seen }}</td>
</tr> </tr>

10
templates/all.twig

@ -13,8 +13,8 @@
<thead class="table__head"> <thead class="table__head">
<tr class="table__row"> <tr class="table__row">
<th class="table__cell">Domain</th> <th class="table__cell">Domain</th>
<th class="table__cell"><dfn title="Address Helper">AH</dfn></th> <th class="table__cell"><abbr title="Address Helper">AH</abbr></th>
<th class="table__cell"><dfn title="Base32 address">B32</dfn></th> <th class="table__cell"><abbr title="Base32 address">B32</abbr></th>
<th class="table__cell table__cell_full-b32">Full Base32</th> <th class="table__cell table__cell_full-b32">Full Base32</th>
<th class="table__cell">Last seen</th> <th class="table__cell">Last seen</th>
</tr> </tr>
@ -22,9 +22,9 @@
<tbody class="table__body"> <tbody class="table__body">
{% for host in hosts %} {% for host in hosts %}
<tr class="table__row"> <tr class="table__row">
<td class="table__cell"><a href="http://{{ host.host }}/">{{ host.host }}</a></td> <td class="table__cell"><a href="http://{{ host.host }}/" rel="external nofollow noopener noreferrer" target="_blank">{{ host.host }}</a></td>
<td class="table__cell table__cell_center-bold"><a href="http://{{ host.host }}/?i2paddresshelper={{ host.base64 }}">A</a></td> <td class="table__cell table__cell_center-bold"><a href="http://{{ host.host }}/?i2paddresshelper={{ host.base64 }} rel="external nofollow noopener noreferrer" target="_blank"">A</a></td>
<td class="table__cell table__cell_center-bold"><a href="http://{{ host.base32 }}.b32.i2p/">B</a></td> <td class="table__cell table__cell_center-bold"><a href="http://{{ host.base32 }}.b32.i2p/" rel="external nofollow noopener noreferrer" target="_blank">B</a></td>
<td class="table__cell table__cell_full-b32 table__cell_long-ass">{{ host.base32 }}.b32.i2p</td> <td class="table__cell table__cell_full-b32 table__cell_long-ass">{{ host.base32 }}.b32.i2p</td>
<td class="table__cell">{{ host.last_seen != '0000-00-00 00:00:00' ? host.last_seen : 'Never' }}</td> <td class="table__cell">{{ host.last_seen != '0000-00-00 00:00:00' ? host.last_seen : 'Never' }}</td>
</tr> </tr>

2
templates/jump.twig

@ -17,7 +17,7 @@
<span> <span>
Addresshelper: Addresshelper:
</span> </span>
<a href="http://{{ result.host }}/?i2paddresshelper={{ result.base64 }}">Go to site</a> <a href="http://{{ result.host }}/?i2paddresshelper={{ result.base64 }}" rel="external nofollow noopener noreferrer" target="_blank">Go to site</a>
</div> </div>
<div class="jumper__line line"> <div class="jumper__line line">

10
templates/latest.twig

@ -13,8 +13,8 @@
<thead class="table__head"> <thead class="table__head">
<tr class="table__row"> <tr class="table__row">
<th class="table__cell">Domain</th> <th class="table__cell">Domain</th>
<th class="table__cell"><dfn title="Address Helper">AH</dfn></th> <th class="table__cell"><abbr title="Address Helper">AH</abbr></th>
<th class="table__cell"><dfn title="Base32 address">B32</dfn></th> <th class="table__cell"><abbr title="Base32 address">B32</abbr></th>
<th class="table__cell table__cell_full-b32">Full Base32</th> <th class="table__cell table__cell_full-b32">Full Base32</th>
<th class="table__cell">Added</th> <th class="table__cell">Added</th>
</tr> </tr>
@ -22,9 +22,9 @@
<tbody class="table__body"> <tbody class="table__body">
{% for host in hosts %} {% for host in hosts %}
<tr class="table__row"> <tr class="table__row">
<td class="table__cell"><a href="http://{{ host.host }}/">{{ host.host }}</a></td> <td class="table__cell"><a href="http://{{ host.host }}/" rel="external nofollow noopener noreferrer" target="_blank">{{ host.host }}</a></td>
<td class="table__cell table__cell_center-bold"><a href="http://{{ host.host }}/?i2paddresshelper={{ host.base64 }}">A</a></td> <td class="table__cell table__cell_center-bold"><a href="http://{{ host.host }}/?i2paddresshelper={{ host.base64 }}" rel="external nofollow noopener noreferrer" target="_blank">A</a></td>
<td class="table__cell table__cell_center-bold"><a href="http://{{ host.base32 }}.b32.i2p/">B</a></td> <td class="table__cell table__cell_center-bold"><a href="http://{{ host.base32 }}.b32.i2p/" rel="external nofollow noopener noreferrer" target="_blank">B</a></td>
<td class="table__cell table__cell_full-b32 table__cell_long-ass">{{ host.base32 }}.b32.i2p</td> <td class="table__cell table__cell_full-b32 table__cell_long-ass">{{ host.base32 }}.b32.i2p</td>
<td class="table__cell">{{ host.add_date }}</td> <td class="table__cell">{{ host.add_date }}</td>
</tr> </tr>

10
templates/search.twig

@ -21,8 +21,8 @@
<thead class="table__head"> <thead class="table__head">
<tr class="table__row"> <tr class="table__row">
<th class="table__cell">Domain</th> <th class="table__cell">Domain</th>
<th class="table__cell"><dfn title="Address Helper">AH</dfn></th> <th class="table__cell"><abbr title="Address Helper">AH</abbr></th>
<th class="table__cell"><dfn title="Base32 address">B32</dfn></th> <th class="table__cell"><abbr title="Base32 address">B32</abbr></th>
<th class="table__cell table__cell_full-b32">Full Base32</th> <th class="table__cell table__cell_full-b32">Full Base32</th>
<th class="table__cell">Last seen</th> <th class="table__cell">Last seen</th>
</tr> </tr>
@ -30,9 +30,9 @@
<tbody class="table__body"> <tbody class="table__body">
{% for host in result %} {% for host in result %}
<tr class="table__row"> <tr class="table__row">
<td class="table__cell"><a href="http://{{ host.host }}/">{{ host.host }}</a></td> <td class="table__cell"><a href="http://{{ host.host }}/" rel="external nofollow noopener noreferrer" target="_blank">{{ host.host }}</a></td>
<td class="table__cell table__cell_center-bold"><a href="http://{{ host.host }}/?i2paddresshelper={{ host.base64 }}">A</a></td> <td class="table__cell table__cell_center-bold"><a href="http://{{ host.host }}/?i2paddresshelper={{ host.base64 }}" rel="external nofollow noopener noreferrer" target="_blank">A</a></td>
<td class="table__cell table__cell_center-bold"><a href="http://{{ host.base32 }}.b32.i2p/">B</a></td> <td class="table__cell table__cell_center-bold"><a href="http://{{ host.base32 }}.b32.i2p/" rel="external nofollow noopener noreferrer" target="_blank">B</a></td>
<td class="table__cell table__cell_full-b32 table__cell_long-ass">{{ host.base32 }}.b32.i2p</td> <td class="table__cell table__cell_full-b32 table__cell_long-ass">{{ host.base32 }}.b32.i2p</td>
<td class="table__cell">{{ host.last_seen != '0000-00-00 00:00:00' ? host.last_seen : 'Never' }}</td> <td class="table__cell">{{ host.last_seen != '0000-00-00 00:00:00' ? host.last_seen : 'Never' }}</td>
</tr> </tr>

Loading…
Cancel
Save