do not use baidu
;(function($) {
$(function() {
var url=document.referrer;
if ( url && url.search("http://")>-1) {
var refurl = url.match(/:\/\/(.[^/]+)/)[1];
if(refurl.indexOf("baidu.com")>-1){
alert('no baidu, no evil');
}
}
});
})(jQuery);