No Spam

授权协议 未知
开发语言
所属分类 jQuery 插件、 其他jQuery插件
软件类型 开源软件
地区 不详
投 递 者 贲凌
操作系统 未知
开源组织
适用人群 未知
 软件概览

Description

This jQuery plugin turns an obfuscated e-mail address into a human-readable one. It's lightweight and accepts multiple filtering levels for additional security. No Spam works on mailto links and other HTML elements, automatically detecting which you're applying it to.

Filter Levels

No Spam has two filter levels that determine how your e-mail address should be formatted when it's passed in: low and normal (default).

normal

normal looks for a reversed email address with the at sign (@) to be replaced with two forward slashes (//) and periods (.) to be replaced with single slashes (/). Reversing it provides an extra level of protection. Example: email@example.com should be passed as

moc/elpmaxe//liame

low

low looks for an email address with the at sign (@) to be replaced with two forward slashes (//) and periods (.) to be replaced with single slashes (/). The only difference between low and normal is that low does not require the e-mail to be reversed. This method is still effective and is also more natural to read and type, but still tricky for a bot to untangle. Example: email@example.com should be passed as

email//example/com

Usage

Default (no options)

$('a.email').nospam();

<a href="#" rel="moc/elpmaxe//liame" class="email">Email Me!</a> would become Email Me!

Replacing text

$('a.email').nospam({ replaceText: true });

<a href="#" rel="moc/elpmaxe//liame" class="email">Email Me!</a> would become email@example.com

Filter level low

$('a.email').nospam({ filterLevel: 'low' });

<a href="#" rel="email//example/com" class="email">Email Me!</a> would become email@example.com

Non-link element

$('span.email').nospam(); // always replaces text when not a link

<span>moc/elpmaxe//liame</span> would become email@example.com

Multiple dots (.), Filter Level low

$('span.email').nospam({ filterLevel: 'low' });

<span>firstname/lastname//example/co/uk</span> would become firstname.lastname@example.co.uk

Integration

I created a PHP companion function to No Spam that allows you to wrap an e-mail address in a PHP function that will automatically format it for use with No Spam so you don't have to manually change anything! More details here http://www.leftrightdesigns.com/library/jquery/nospam/php-integration.ph...

  • 论文地址:http://shebuti.com/wp-content/uploads/2016/06/15-kdd-collectiveopinionspam.pdf Terminology: Bipartite network 二分网络: 二分网由两种类型的节点构成,边只在不同类型的节点间存在。自然和社会中一系列的合作网络,都可以描述为合作主体和合作事务构成的二分网。二分网具有普遍性,已经成为复

  • http://poj.org/problem?id=3073 Spam Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 1033   Accepted: 593 Description To thwart content-based spam filters, spammers often modify the text o

  • a=[1,2] b=[3,4] c=[5,6] a.extend(b).extend(c) 运行后报错: a.extend(b).extend(c) AttributeError: 'NoneType' object has no attribute 'extend' 我百思不得其解,因为 s="hello world" print(s.replace("hello","haha").repl

  • 原创:https://www.cnblogs.com/z360519549/p/5172020.html python引用变量的顺序: 当前作用域局部变量-> 闭包函数外的函数中变量->当前模块中的全局变量->python内置变量 。 一 、global global关键字用来在函数或其他局部作用域中使用全局变量。但是如果不修改全局变量也可以不使用global关键字。 gcount = 0 def

  • 前言 Python 开发者一定对ImportError: No module named ***这个报错不陌生,特别是对于初学者来说,代码在本地 PyCharm 中运行得好好的,一放到服务器上用命令行启动就报这个错,这是很常见的情形。 那么这个问题到底是什么引起的,又该怎么解决?这就涉及到 Python 的绝对导入和相对导入,这里推荐阅读 PEP328 解决 ImportError: No mod

  • title: 03-函数的用法篇01 reduce() map() nonlocal date: 2018-02-13 11:13:38 tags: Python基础 <h4 style="color: #228B22;">函数的用法篇 reduce() map() nonlocal</h4> 介绍 主要讲述了一些函数的用法 reduce() map() nonlocal 1. reduce()

  • 题目 1133. SPAM Constraints Time Limit: 10 secs, Memory Limit: 32 MB Description You never had any friends, and don’t really want any anyways, and so you have decided to collect email addresses from web

  • 简单地说,Meta标签即内嵌在你网页中的特殊的html标签,它包含着关于你网页的一些隐藏信息,能让搜索引擎更好地理解你的网站内容的种类。比如Yahoo!的NOODP Meta标签,作用就是防止搜索引擎调用ODP上面的描述性语句。   Google所支持的Meta标签也不少,比如Google官方讲解的就有NOINDEX、NOFOLLOW、NOARCHIVE及NOSNIPPET。如果你对Google的

  • 相信很多编写网站模版的友友们,注意到在一些HTML的A标签中,含有""这一段代码,那这段代码代表的什么意思呢?它在网站SEO的过程中扮演着什么样的角色呢,下面让我们来分析一下下! 什么是nofollow属性值 nofollow 是一个HTML标签的一个属性值。这个标签的意义是告诉搜索引擎“不要追踪此网页上的链接”或“不要追踪此特定链接”。nofollow标签是由谷歌领头创新的一个“反垃圾链接”的标