Remove email obfuscation from contact page
The base64 atob() pattern is trivially decoded by scrapers, making it ineffective. The contact form is the preferred channel anyway. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
01cad11472
commit
418fef1a15
@ -35,17 +35,6 @@
|
||||
<a target="_blank" href="https://maps.app.goo.gl/gRk6NztgMRUsSVJf9">554 Boston Post Road, Milford, CT 06460</a>
|
||||
</h2>
|
||||
<h2 class="is-size-4" style="text-align: center;"><a href="tel:2032835626">203.283.5626</a></h2>
|
||||
<h2 class="is-size-4" style="text-align: center;" id="bpb-email-h2">
|
||||
<button id="bpb-email-btn" style="background:none;border:none;cursor:pointer;font:inherit;color:inherit;text-decoration:underline;padding:0;">
|
||||
Click to show email address
|
||||
</button>
|
||||
</h2>
|
||||
<script>
|
||||
document.getElementById('bpb-email-btn').addEventListener('click', function () {
|
||||
var a = atob('aW5mb0BiZWFjaHBhcnR5YmFsbG9vbnMuY29t');
|
||||
document.getElementById('bpb-email-h2').innerHTML = '<a href="mailto:' + a + '">' + a + '<\/a>';
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
<div class="form-container">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user