Email Defuscator

码农软件 · 软件分类 · 其他jQuery插件 · 2020-01-13 11:14:09

软件介绍

About

This is a very simple plugin that allows you to hide email addresses from spambots while still being accessible. Visitors with JavaScript enabled browsers will see the email addresses correctly, while those without JavaScript will be provided with instructions for retrieving your email address. Spambots will see this same information, but won't know that it's an email address.

Obfuscate

For this plugin to defuscate email addresses, you first have to obfuscate them. This is very easy. Instead of writing name@example.com, you write:
name(put the 'at' sign here)example.com

What goes into the paranthese is up to you. You can even do:
name(replace this paranthese with the 'at' sign to get my email address)example.com

The Defuscator will recognize the obfuscated email address and defuscate it. This also works on mailto links such as:
<a target="_blank" rel="nofollow" href="mailto:name(put the 'at' sign here)example.com">Email me</a>

Defuscate

Include the plugin and run the .defuscate() function on the elements containing obfuscated email addresses:
$('p').defuscate();

You can also set it to not create mailto links, like this:
$('p').defuscate({link: false});

It will defuscate multiple email addresses in the given element(s).

Credits

Joakim Stai wrote it and forgot about it.
Ariel Flesler contributed and made Joakim remember to finish it.

Disclaimer

Although this works with most spambots, it's not bullet proof protection. A spambot that can run JavaScript would be able to see your email address. But if you're that paranoid of someone stealing your email address, you shouldn't put it out on the web in the first place.

Terms of use: FYI, WFM. YMMV, UAYOR, IANAL. IOW TINLA AFAIC. OWTTE. DQMOT. MTFBWU. EOM :)

Download

To download, please use this release instead of the one listed below:
http://jquery.com/plugins/node/627

本文地址:https://codercto.com/soft/d/23281.html

重来

重来

[美] 贾森·弗里德、[丹] 戴维·海涅迈尔·汉森 / 李瑜偲 / 中信出版社 / 2010-10 / 36.00元

大多数的企业管理的书籍都会告诉你:制定商业计划、分析竞争形势、寻找投资人等等。如果你要找的是那样的书,那么把这本书放回书架吧。 这本书呈现的是一种更好、更简单的经商成功之道。读完这本书,你就会明白为什么计划实际上百害而无一益,为什么你不需要外界投资人,为什么将竞争视而不见反倒会发展得更好。事实是你所需要的比你想象的少得多。你不必成为工作狂,你不必大量招兵买马,你不必把时间浪费在案头工作和会议......一起来看看 《重来》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

URL 编码/解码
URL 编码/解码

URL 编码/解码