Skip to content

Commit

Permalink
modified blog url. modified README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lurongkai committed Mar 25, 2013
1 parent e307403 commit 58cba20
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
anti-baidu
[作环保的程序员,从不用百度开始](http://coolshell.cn/articles/9308.html)

==========

anti baidu script.
Expand Down
2 changes: 1 addition & 1 deletion js/anti-baidu-latest.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
var antiBaiduPopup = function($){
$.getScript(js_files[0]);
$(document).ready(function(){
var antiDiv = '<div id="nobaidu_dlg" style="background-color:#fff; border-radius:15px;color:#000;display:none;padding:20px;min-width:450px;min-height:180px;"><img src="http://lurongkai.github.com/anti-baidu/images/nobaidu.jpg" align="left"><p style="margin-left:200px;margin-top: 20px; line-height: 30px;">检测到你还在使用百度这个搜索引擎,<br>作为一个程序员,这是一种自暴自弃!<br><br></p><p align="center" style="margin-top:20px;"><b><a href="http://coolshell.cn/articles/7186.html">做环保的程序员,从不用百度开始!</a></b></p></div>';
var antiDiv = '<div id="nobaidu_dlg" style="background-color:#fff; border-radius:15px;color:#000;display:none;padding:20px;min-width:450px;min-height:180px;"><img src="http://lurongkai.github.com/anti-baidu/images/nobaidu.jpg" align="left"><p style="margin-left:200px;margin-top: 20px; line-height: 30px;">检测到你还在使用百度这个搜索引擎,<br>作为一个程序员,这是一种自暴自弃!<br><br></p><p align="center" style="margin-top:20px;"><b><a href="http://coolshell.cn/articles/9308.html">做环保的程序员,从不用百度开始!</a></b></p></div>';
$("body").append(antiDiv);
// Actually, When antiBaidu Popup function be invoked, it is already proved that refer is Baidu.
$('#nobaidu_dlg').bPopup();
Expand Down
2 changes: 1 addition & 1 deletion js/anti-baidu-latest.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/anti-baidu-v0.5.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
var antiBaiduPopup = function($){
$.getScript(js_files[0]);
$(document).ready(function(){
var antiDiv = '<div id="nobaidu_dlg" style="background-color:#fff; border-radius:15px;color:#000;display:none;padding:20px;min-width:450px;min-height:180px;"><img src="http://lurongkai.github.com/anti-baidu/images/nobaidu.jpg" align="left"><p style="margin-left:200px;margin-top: 20px; line-height: 30px;">检测到你还在使用百度这个搜索引擎,<br>作为一个程序员,这是一种自暴自弃!<br><br></p><p align="center" style="margin-top:20px;"><b><a href="http://coolshell.cn/articles/7186.html">做环保的程序员,从不用百度开始!</a></b></p></div>';
var antiDiv = '<div id="nobaidu_dlg" style="background-color:#fff; border-radius:15px;color:#000;display:none;padding:20px;min-width:450px;min-height:180px;"><img src="http://lurongkai.github.com/anti-baidu/images/nobaidu.jpg" align="left"><p style="margin-left:200px;margin-top: 20px; line-height: 30px;">检测到你还在使用百度这个搜索引擎,<br>作为一个程序员,这是一种自暴自弃!<br><br></p><p align="center" style="margin-top:20px;"><b><a href="http://coolshell.cn/articles/9308.html">做环保的程序员,从不用百度开始!</a></b></p></div>';
$("body").append(antiDiv);
// Actually, When antiBaidu Popup function be invoked, it is already proved that refer is Baidu.
$('#nobaidu_dlg').bPopup();
Expand Down
2 changes: 1 addition & 1 deletion js/anti-baidu-v0.5.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/anti-baidu.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
;
(function($){
$(document).ready(function(){
var antiDiv = '<div id="nobaidu_dlg" style="background-color:#fff; border-radius:15px;color:#000;display:none;padding:20px;min-width:450px;min-height:180px;"><img src="http://lurongkai.github.com/anti-baidu/images/nobaidu.jpg" align="left"><p style="margin-left:200px;margin-top: 20px; line-height: 30px;">检测到你还在使用百度这个搜索引擎,<br>作为一个程序员,这是一种自暴自弃!<br><br></p><p align="center" style="margin-top:20px;"><b><a href="http://coolshell.cn/articles/7186.html">做环保的程序员,从不用百度开始!</a></b></p></div>';
var antiDiv = '<div id="nobaidu_dlg" style="background-color:#fff; border-radius:15px;color:#000;display:none;padding:20px;min-width:450px;min-height:180px;"><img src="http://lurongkai.github.com/anti-baidu/images/nobaidu.jpg" align="left"><p style="margin-left:200px;margin-top: 20px; line-height: 30px;">检测到你还在使用百度这个搜索引擎,<br>作为一个程序员,这是一种自暴自弃!<br><br></p><p align="center" style="margin-top:20px;"><b><a href="http://coolshell.cn/articles/9308.html">做环保的程序员,从不用百度开始!</a></b></p></div>';
$("body").append(antiDiv);
var url=document.referrer;
if (url && url.search("http://")>-1) {
Expand Down
2 changes: 1 addition & 1 deletion js/anti-baidu.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 58cba20

Please sign in to comment.