diff options
author | 53hornet <atc@53hor.net> | 2021-11-23 16:53:11 -0500 |
---|---|---|
committer | 53hornet <atc@53hor.net> | 2021-11-23 16:53:11 -0500 |
commit | 3303c13b7610ed45cbdddac7ab406b15888690f4 (patch) | |
tree | 8a84d196ad6a01ba3dc8d68a1082350ada38f256 | |
parent | 48900db2d6305121e0a00bbcf46b239fb280db82 (diff) | |
download | carpentertutoring-3303c13b7610ed45cbdddac7ab406b15888690f4.tar.xz carpentertutoring-3303c13b7610ed45cbdddac7ab406b15888690f4.zip |
feat: impl experimental honeypot for mailtos and contact form
-rw-r--r-- | header.php | 6 | ||||
-rw-r--r-- | index.php | 1 |
2 files changed, 7 insertions, 0 deletions
@@ -255,6 +255,10 @@ :target.modal .card { overflow: auto; } + + .honeypot { + display: none; + } </style> <link rel="preconnect" href="https://fonts.gstatic.com" /> <link href="https://fonts.googleapis.com/css2?family=Architects+Daughter&family=Indie+Flower&family=PT+Sans&display=swap" rel="stylesheet" /> @@ -273,6 +277,8 @@ </head> <body> + <a class="honeypot" href="mailto:honeypot@53hor.net">Honeypot</a> + <nav> <a href="/#contact">Contact Me</a> <a href="/#reviews">Reviews</a> @@ -358,6 +358,7 @@ <section id="contact"> <form class="card" action="/#contact" method="post"> <h2>Contact</h2> + <input class="honeypot" name="emailAddress" type="text" /> <label for="name">Name</label> <input name="name" type="text" id="name" placeholder="Jane Doe" required /> |