Versionsvergleich

Aus ProgrammingWiki

Vergleich: 2021-01-13T20:13:46+00:00 → 2021-01-15T09:00:31+00:00

Captchas sind kleine Aufgaben, die von Menschen relativ einfach gelöst werden können, von Bots (also automatisierten Programmen) allerdings nicht.<br>
Daher werden sie zur Abwehr von Bots eingesetzt - z.B. um zu verhindern, dass ein Bot hunderte Accounts auf einer Webseite erstellt.
Ein Beispiel wäre z.B. einige Verzerrte Buchtaben/Zahlen, die man entziffern muss.
−
Am verbreitesten ist Googles reCaptcha, unten zum Testen einfach mal anklicken.<br>
+
Am verbreitesten ist Googles reCaptcha, unten in der "Testversion".<br>
<html>
−
<iframe src="https://www.google.com/recaptcha/api2/anchor?ar=1&amp;k=6Ld2sf4SAAAAAKSgzs0Q13IZhY02Pyo31S2jgOB5&amp;co=aHR0cHM6Ly9wYXRyaWNraGxhdWtlLmdpdGh1Yi5pbzo0NDM.&amp;hl=de&amp;v=qc5B-qjP0QEimFYUxcpWJy5B&amp;size=normal&amp;cb=g2y1jstibig0" role="presentation" name="a-n0yrizxrduc8" scrolling="no" sandbox="allow-forms allow-popups allow-same-origin allow-scripts allow-top-navigation allow-modals allow-popups-to-escape-sandbox allow-storage-access-by-user-activation" width="304" height="78" frameborder="0"></iframe>
+
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
+
<form action="?" method="POST">
+
<div class="g-recaptcha" data-sitekey="6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI"></div>
+
<br/>
+
</form>
</html>
+
----
+
'''Quellen''':<br>
+
<html>
+
<style>
+
.test{
+
  background-color: white;
+
  color: black;
+
  width: 35%;
+
  border: 2px solid #000000;
+
  padding: 5px 32px;
+
  text-align: center;
+
  text-decoration: none;
+
  font-size: 16px;
+
  margin: 4px 2px;
+
  transition-duration: 0.4s;
+
  cursor: pointer;
+
}
+
.test:hover{
+
  background-color: #000000;
+
  color: white;
+
}
+
</style>
+
<a href="https://www.ionos.de/digitalguide/online-marketing/verkaufen-im-internet/captcha-codes-und-bilder-als-spamschutz/
+
" target="_blank"><button class="test" target="_blank">Ionos.de</button></a><br>
+
</html>