mirror of
https://github.com/standardebooks/web.git
synced 2025-07-14 10:31:59 -04:00
Improve honeypot link
This commit is contained in:
parent
4eb45bd54b
commit
b48f3a5798
3 changed files with 5 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
[se]
|
[se]
|
||||||
|
|
||||||
enabled = false
|
enabled = true
|
||||||
filter = se
|
filter = se
|
||||||
port = http,https
|
port = http,https
|
||||||
bantime = 24h
|
bantime = 24h
|
||||||
|
|
|
@ -120,7 +120,7 @@ if(!$isXslt){
|
||||||
<? } ?>
|
<? } ?>
|
||||||
<a href="/">Standard Ebooks</a>
|
<a href="/">Standard Ebooks</a>
|
||||||
<? /* This link is hidden to regular users, and also disallowed by `robots.txt`. If a rude bot crawls this URL, `fail2ban` bans the IP for 24 hours. See `./config/fail2ban/filter.d/se.conf`. */ ?>
|
<? /* This link is hidden to regular users, and also disallowed by `robots.txt`. If a rude bot crawls this URL, `fail2ban` bans the IP for 24 hours. See `./config/fail2ban/filter.d/se.conf`. */ ?>
|
||||||
<a href="/honeypot" hidden="hidden">Following this link will ban your IP for 24 hours</a>
|
<a href="/honeypot" hidden="hidden" class="honeypot" rel="nofollow">Following this link will ban your IP for 24 hours</a>
|
||||||
<nav>
|
<nav>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
|
|
|
@ -609,11 +609,13 @@ main.front-page > section > section > h3{
|
||||||
hyphens: none;
|
hyphens: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
header a[href="/honeypot"]{
|
.honeypot{
|
||||||
/* Hide from clients who don't support the `@hidden` attribute, like older Kindle browsers. */
|
/* Hide from clients who don't support the `@hidden` attribute, like older Kindle browsers. */
|
||||||
|
/* Select using a class for older renderers like Kindle in-browser renderer. */
|
||||||
display: none;
|
display: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: -9999rem;
|
left: -9999rem;
|
||||||
|
font-size: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
main.center h1{
|
main.center h1{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue