2.0 版本的版权底部破解

$(document).ready(function(){
if($("title:contains('建站之星')"))
 {
	 a=$(document)[0].title
	 rt = /建站之星/g; // 创建正则表达式模式。
	 a=a.replace(rt,"");
  $(document)[0].title=a; 
 }
 //$("#footer").find("a:contains('之星')").replaceWith("<a href='http://www.zuogewangzhan.com/' target='_blank' title='深圳网站制作,深圳网站建设专家,广讯互联' style='display:inline;'>深圳网站制作 广讯互联</a>&nbsp;&nbsp;");
//$("#footer").find("div:contains('Power by ')").each(function(){
//newval = $(this).html().replace("Power by ",""); 
//$(this).html(newval)     
//});
$(".copyright").html("Copyright ? 2009-2011,www.abc.com,All rights reserved");
$("#footer").find("div:contains('|')").each(function(){
newval = $(this).html().replace("|",""); 
$(this).html(newval)     
});


$(".mod_block mb_foot_block").find("div:contains('|')").each(function(){
newval = $(this).html().replace("|",""); 
$(this).html(newval)     
});

var r, re; // 声明变量。
    var ss = $("#footer").html()
	//alert(ss)
    re = /&nbsp;版权所有/g; // 创建正则表达式模式。
    r = ss.replace(re, ""); // 用 "A" 替换 "The"。
	re2=/Power by/g;
	r2=r.replace(re2, "");
	
	//alert(r)
	$("#footer").html(r2)
    //return(r); // 返回替换后的字符串。 

 $("#footer").find("a:contains('之星')").remove();
 reen=/英语/g;
 en=$(".switch_langbar").html();
 toen=en.replace(reen,"English");
 	$(".switch_langbar").html(toen);


 $("#footer").find("a:contains('美橙')").replaceWith("");
 $(".qq_list_con").find("a:contains('800015083')").replaceWith("<a href='tencent://message/?uin=1426917572&amp;Menu=yes' target=blank><img src='http://wpa.qq.com/pa?p=4:800015083:4' align=absMiddle border=0>QQ在线客服(1426917572)</a>");
 
 $("img[src*='upload/image/logo.png']").attr({ src: "joeyedit/logo.png", alt: "请在后台网站设置中,上传您的网站logo" }); 
 $("img[src*='upload/image/sitstar.jpg']").attr({ src: "joeyedit/linkzuo.gif", alt: "深圳网站建设专家-广讯互联" });
 $("img[src*='upload/image/cndns.jpg']").attr({ src: "joeyedit/link2opp.gif", alt: "香港公司注册-深圳广讯商业服务有限公司" });
 $("img[src*='upload/image/iSXHQPkI.png']").attr({ src: "joeyedit/logo.png", alt: "请在后台网站设置中,上传您的网站logo" }); 
 $("a[title*='之星']").attr({ 'href': "http://www.zuogewangzhan.com/", alt: "广讯互联" }); 
 $("a[title*='美橙']").attr({ 'href': "http://www.2opp.net/", alt: "香港公司注册-深圳广讯商业服务有限公司" }); 
 
;  
 
});
posted @ 2011-09-07 14:12  那年那月  阅读(444)  评论(0编辑  收藏  举报