<p>Is there a way to use <code>JQuery</code> to cloak or encrypt email addresses on an <code>HTML</code> page without changing the syntax in the <code>href</code>?</p>

[{'answer_id': 46497, 'author': 'Mike Stone', 'author_id': 122, 'author_profile': 'https://Stackoverflow.com/users/122', 'pm_score': 3, 'selected': False, 'text': '<p>Well, just as a comment, you probably want the source to have a cloaked email address and then use jQuery to fix or construct the link to have the correct address... because bots will be looking at the source, not the results of running your javascript ;-)</p>\n'}, {'answer_id': 46507, 'author': 'Ryan Lanciaux', 'author_id': 1385358, 'author_profile': 'https://Stackoverflow.com/users/1385358', 'pm_score': 4, 'selected': True, 'text': "<p>Using JQuery may not be the route you want to take since this would be on the client side... Is there a reason you're not encrypting on server side?</p>\n"}, {'answer_id': 46522, 'author': 'spoulson', 'author_id': 3347, 'author_profile': 'https://Stackoverflow.com/users/3347', 'pm_score': 0, 'selected': False, 'text': '<p>Semantic nazis would say "encoding", not "encrypting".  Encrypting implies a secret is required to decode.  Converting to <a href="http://www.asciitable.com/" rel="nofollow noreferrer">HTML entity syntax</a> would be a decent <em>encoding</em> process to keep out prying humans, but bots could easily decode it.</p>\n'}, {'answer_id': 46537, 'author': 'Ryan Lanciaux', 'author_id': 1385358, 'author_profile': 'https://Stackoverflow.com/users/1385358', 'pm_score': 0, 'selected': False, 'text': "<p>To kind of piggy-back on what Mike Stone was suggesting, what I would do is encrypt it on the server-side and have something on the server-side that will decrypt it and return it back as JSON (jsonresult in mvc framework, web service, http handler, whatever). That way you could use jQuery to de-obfuscate the e-mail addresses when you wanted but it would still confuse any bot that doesn't support java script. Again this is not a bullet proof solution but it may do what you're looking for.</p>\n"}, {'answer_id': 46558, 'author': 'Ben Scheirman', 'author_id': 3381, 'author_profile': 'https://Stackoverflow.com/users/3381', 'pm_score': 0, 'selected': False, 'text': '<p>What I\'ve done is obfuscate it when it\'s rendered and hide it, then use javascript to fix the obfuscation and show the link.</p>\n\n<p>For example, you can render this from the server:</p>\n\n<pre><code>&lt;a href="mailto:some_address^^some_domain$$com" style=\'display:none\'&gt;Email me&lt;/a&gt;\n</code></pre>\n\n<p>then using Javascript you can use regex to swap <code>^^</code> for <code>@</code> and <code>$$</code> for <code>.</code></p>\n\n<p>Whatever scheme you can come up with will probably be fine.  Of course if the bot understands javascript then it doesn\'t matter anyway.</p>\n\n<p>You\'ll block 95% of the bots that come your way and the rest of your users will see the address just fine.</p>\n'}]
['https://Stackoverflow.com/questions/46484', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/4241/']