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

计算机程序设计艺术:第4卷 第4册(双语版)

计算机程序设计艺术:第4卷 第4册(双语版)

Donald E.Knuth / 苏运霖 / 机械工业出版社 / 2007-4 / 42.00元

关于算法分析的这多卷论著已经长期被公认为经典计算机科学的定义性描述。迄今已出版的完整的三卷组成了程序设计理论和实践的惟一的珍贵源泉,无数读者都赞扬Knuth的著作对个人的深远影响。科学家们为他的分析的美丽和优雅所惊叹,而从事实践的程序员们已经成功地应用他的“菜谱式”的解到日常问题上,所有人都由于Knuth在书中所表现出的博学、清晰、精确和高度幽默而对他无比敬仰。   为开始后续各卷的写作并更......一起来看看 《计算机程序设计艺术:第4卷 第4册(双语版)》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具