♥k-a-b-a-r-k-a-d-a♥


 
HomePortalCalendarGalleryFAQSearchRegisterMemberlistUsergroupsLog in

Share
 

 new right click c0de!

Go down 
AuthorMessage
Admin
Admin
Admin
Admin

Female
Number of posts : 163
Age : 29
Registration date : 2007-08-13

new right click c0de! Empty
PostSubject: new right click c0de!   new right click c0de! Icon_minitimeWed Aug 15, 2007 7:02 pm

this c0de bel0w is a Silent No Right Click Code viewing a pr0file 0n an IE browser but it's a Right Click Alert with Redirection when viewing a pr0file using Firefox browser.... It' awes0me, and c0ol..

Code:
var message="I'm sorry my friend, but it's not worth it! Do your own!"

function LogTo(link)
  {
  var new_url=link;
  if (  (new_url != "")  &&  (new_url != null)  )
    window.location=new_url;
}
function nrcIE() {
if (document.all) {
if (event.button == 2) {
alert(message);
LogTo('http://www.friendster.com/')
return false;
}
}
}
function nrcNS(e) {
if(document.layers||(document.getElementById&&!document.all)) {
if (e.which == 2||e.which == 3) {
alert(message);
LogTo('http://www.friendster.com/')
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=nrcNS;}
else {
document.onmouseup=nrcNS;document.oncontextmenu=nrcIE;}
document.oncontextmenu=new Function("return false");



Compile the code above with your other .js codes and there it goes.. Smile





credits t0:
nahtanoj18

_________________
if you can't accept me at my worst, then you don't deserve me at my best!
new right click c0de! 460898hm6mob368m
Back to top Go down
View user profile http://crazylife.forumotion.com
 
new right click c0de!
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
♥k-a-b-a-r-k-a-d-a♥ :: ~friendster secti0n~ :: frinedster tricks and tut0rials-
Jump to: