CSS Bot Confusion
How do I make an css bot confusion?
Rearranges the letters in a captcha word with CSS. Click the "View as bot" link to see things from a spambot's perspective.. What is a css bot confusion? How do you make a css bot confusion? This script and codes were developed by James Podles on 23 November 2022, Wednesday.
CSS Bot Confusion - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>CSS Bot Confusion</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ body { background: #335778;
}
* { box-sizing: border-box;
}
form { width: 320px; border: 1px solid #fafafa; margin: 5em auto 0; padding: 2em; background: #fafafa; color: #444; border-radius: 3px;
}
.captcha { padding-left: 2em; text-align: center; display: block; margin-bottom: .5em; font-size: 2em; letter-spacing: 8px;
}
.captcha::first-letter { position: relative; margin-right: -3.6em;
}
input[type="text"] { display: block; width: 100%; margin-bottom: 1em; border-radius: 4px; border: 1px solid #aaa; padding: 5px;
}
input[type="submit"] { background: #364D8F; color: #fff; border: none; border-radius: 3px; padding: 5px 10px;
}
.notice { position: absolute; top: 0; left: 0; display: block; width: 100%; background: #fafafa; font-size: 1.4em; text-align: center; padding: .5em; color: #328580; font-weight: 700;
}
#bot { color: inherit; text-decoration: none; background: #fafafa; border-radius: 3px; display: block; margin: 5em auto 0; width: 120px; padding: 5px 10px; text-align: center;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <form> <span class="captcha"> EBLU </span> <input id="captcha" type="text" placeholder="Enter Above Word"> <input type="submit" value="submit"> </form>
<a href="#" id="bot">View as bot</a> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
CSS Bot Confusion - Script Codes CSS Codes
body { background: #335778;
}
* { box-sizing: border-box;
}
form { width: 320px; border: 1px solid #fafafa; margin: 5em auto 0; padding: 2em; background: #fafafa; color: #444; border-radius: 3px;
}
.captcha { padding-left: 2em; text-align: center; display: block; margin-bottom: .5em; font-size: 2em; letter-spacing: 8px;
}
.captcha::first-letter { position: relative; margin-right: -3.6em;
}
input[type="text"] { display: block; width: 100%; margin-bottom: 1em; border-radius: 4px; border: 1px solid #aaa; padding: 5px;
}
input[type="submit"] { background: #364D8F; color: #fff; border: none; border-radius: 3px; padding: 5px 10px;
}
.notice { position: absolute; top: 0; left: 0; display: block; width: 100%; background: #fafafa; font-size: 1.4em; text-align: center; padding: .5em; color: #328580; font-weight: 700;
}
#bot { color: inherit; text-decoration: none; background: #fafafa; border-radius: 3px; display: block; margin: 5em auto 0; width: 120px; padding: 5px 10px; text-align: center;
}
CSS Bot Confusion - Script Codes JS Codes
$(document).ready(function(){ $('form').submit(function(e){ e.preventDefault(); var captchaValue = $('#captcha').val(); captchaValue = captchaValue.toLowerCase(); if (captchaValue == 'blue') { $('body').append('<span class="notice">Success!</span>'); } else if (captchaValue == 'eblu') { alert('You are a robot!'); } else { $('body').append('<span class="notice">Try the captcha again</span>'); } }); $('#bot').click(function(e){ e.preventDefault(); $('head link, head style').remove(); $('#captcha').val(''); $('.notice').remove(); $(this).remove(); });
});
Developer | James Podles |
Username | jpod |
Uploaded | November 23, 2022 |
Rating | 3 |
Size | 3,456 Kb |
Views | 14,168 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
PracticeIO Click Counter | 4,019 Kb |
PracticeIO Cello | 2,675 Kb |
JQuery Tooltip Plugin | 2,968 Kb |
Soft Progress bar | 3,431 Kb |
Band Name Generator | 2,840 Kb |
Scrambled City | 6,489 Kb |
Flyer-flip | 3,641 Kb |
SoundCloud CoverFlow | 3,430 Kb |
Adaptive Text Color | 2,874 Kb |
LED Social Icons | 2,999 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Wikipedia Viewer | Odylic | 2,333 Kb |
Fullscreen audio play button | 72 | 2,148 Kb |
CSS Grid Overlay | Cliffpyles | 3,090 Kb |
Multi-step GSAP animation | Acacheung | 2,668 Kb |
Map Controls | Iliadraznin | 3,721 Kb |
Colorful Sliders | Chanrith | 1,246 Kb |
Ghost | Mghayour | 11,738 Kb |
Rainbow Drops | Csbarnes | 2,365 Kb |
Sign Up Form | Sicontis | 5,272 Kb |
Myprofile | SoufianeAbid | 2,451 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!