Google
 

Go Back   NackVision > Website Related > Friendster Code

Friendster Code Friendster questions and share codes forum

Reply
 
Thread Tools
Old 04-03-2006, 08:35 PM   #1
alamatski
Senior Member
 
alamatski's Avatar
 
Join Date: Jan 2006
Posts: 120
No Right Click Code(modified,codes made by vkey)

1. put this code in MEDIA part

<div id="vkey"></div>

2. then this codes in css part

#vkey {
height:expr/**/ession(var message="Function Disabled!";
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!docume nt.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("alert(message);return false"));
}


For further questions just post here for reply. this codes are really working i dont understand it is not working in others page.

WORKS ONLY IN INTERNET EXPLORER AND NETSCAPE. NOT WORKING IN MOZILLA and SOME BROWSER
__________________
ABANDONED

Last edited by alamatski; 04-08-2006 at 07:25 PM. Reason: not working
(Offline)
 
Reply With Quote
Old 04-03-2006, 09:10 PM   #2
madellee
Member
 
madellee's Avatar
 
Join Date: Mar 2006
Location: parañque
Posts: 38
Send a message via Yahoo to madellee
bat ayaw po gumana ng right click ko? tama nman ang lagay ko..
__________________

http://www.sparkcom.cjb.net
(Offline)
 
Reply With Quote
Old 04-03-2006, 09:19 PM   #3
alamatski
Senior Member
 
alamatski's Avatar
 
Join Date: Jan 2006
Posts: 120
tadew mag dodota lang me sandali hehehe magpaalam daw ba d2
__________________
ABANDONED
(Offline)
 
Reply With Quote
Old 04-03-2006, 09:29 PM   #4
malikmata
Junior Member
 
malikmata's Avatar
 
Join Date: Mar 2006
Posts: 12
Huwaw ang galeng!
(Offline)
 
Reply With Quote
Old 04-03-2006, 09:49 PM   #5
malikmata
Junior Member
 
malikmata's Avatar
 
Join Date: Mar 2006
Posts: 12
Master bakit hindi gumagana tong right code sakin!? BTW Firefox yung browser ko.
(Offline)
 
Reply With Quote
Old 04-03-2006, 10:33 PM   #6
ragnarok142
Junior Member
 
Join Date: Apr 2006
Posts: 2
kuya pareho bang css part?

Originally Posted by alamatski
1. put this code in css part

<div id="antihack"></div>

2. then this codes in css part

#antihack {
height:expr/**/ession(var message="Function Disabled!";

function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!docume nt.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("alert(message);return false"));
}


For further questions just post here for reply

talagang css part ung dalawang un?
(Offline)
 
Reply With Quote
Old 04-03-2006, 10:56 PM   #7
alamatski
Senior Member
 
alamatski's Avatar
 
Join Date: Jan 2006
Posts: 120
i cant understand why i cant edit my post but sorry for wrong instruction the 1st instruction must be Media part and not CSS PART thanks and please MOD can you edit my post so that the reader can get the right code THANKS
__________________
ABANDONED
(Offline)
 
Reply With Quote
Old 04-03-2006, 11:28 PM   #8
malikmata
Junior Member
 
malikmata's Avatar
 
Join Date: Mar 2006
Posts: 12
Master paano ba i center yung buong profile?
(Offline)
 
Reply With Quote
Old 04-03-2006, 11:38 PM   #9
denz
Junior Member
 
denz's Avatar
 
Join Date: Apr 2006
Posts: 4
yung testi code didnt work po sakin.thnx for being so generous po in sharing your knowledge
(Offline)
 
Reply With Quote
Old 04-04-2006, 12:08 AM   #10
alamatski
Senior Member
 
alamatski's Avatar
 
Join Date: Jan 2006
Posts: 120
kasi po di nyo nilagyan ng image maybe kasi ung code na un sample code lang un at u must place an image w/c is uploaded in your image host in order to work it properly
__________________
ABANDONED
(Offline)
 
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -7. The time now is 12:31 AM.