|
Disable Right Click On Image |
|
|
Author |
Message |
Chirokipau
Global Mod
> : LOL?XD
Posts : 1836
Age : 31
Location : Cavite.General trias.
Mood : Happy
Country :
Reg-Date : 2008-09-04
Forum Warning :
Contribution :
|
Subject: Disable Right Click On Image Sat Sep 27, 2008 11:38 am |
|
|
Disable Right Click On ImageCredit's to LayoutbladePlease wait in loading of my simple profile ayt! :51:Preview: Here ryt click the primary pic.!- Spoiler:
/*Disable right click script II (on images)- By Dynamicdrive.com For full source, Terms of service, and 100s DTHML scripts Visit http://www.dynamicdrive.com*/
var clickmessage="YOUR MESSAGE HERE"
function disableclick(e) { if (document.all) { if (event.button==2||event.button==3) { if (event.srcElement.tagName=="IMG"){ alert(clickmessage); return false; } } } else if (document.layers) { if (e.which == 3) { alert(clickmessage); return false; } } else if (document.getElementById){ if (e.which==3&&e.target.tagName=="IMG"){ alert(clickmessage) return false } } }
function associateimages(){ for(i=0;i<document.images.length;i++) document.images[i].onmousedown=disableclick; }
if (document.all) document.onmousedown=disableclick else if (document.getElementById) document.onmouseup=disableclick else if (document.layers) associateimages() Change the bolded part which put watever massage you want to replaced ayt?!
|
|
|
|
jaspermarkyo
HCG Wizard
> : I love HCG!
Posts : 54
Age : 34
Reg-Date : 2008-09-16
Forum Warning :
Contribution :
|
Subject: Re: Disable Right Click On Image Thu Oct 09, 2008 2:19 pm |
|
|
|
|
|
|
Chirokipau
Global Mod
> : LOL?XD
Posts : 1836
Age : 31
Location : Cavite.General trias.
Mood : Happy
Country :
Reg-Date : 2008-09-04
Forum Warning :
Contribution :
|
Subject: Re: Disable Right Click On Image Thu Oct 09, 2008 2:20 pm |
|
|
thank you fer appreciation dude.. :))
|
|
|
|
cavitekaren
HCG Elite
> : YOU! Wanna piece of me?
Posts : 1098
Age : 30
Location : santa's sleigh, woo hoo!
Mood : Gloomy
Reg-Date : 2008-09-09
Forum Warning :
Contribution :
|
Subject: Re: Disable Right Click On Image Thu Oct 09, 2008 2:59 pm |
|
|
are we going to compile it on our js file? or not?
Last edited by cavitekaren on Thu Oct 09, 2008 4:19 pm; edited 1 time in total
|
|
|
|
Chirokipau
Global Mod
> : LOL?XD
Posts : 1836
Age : 31
Location : Cavite.General trias.
Mood : Happy
Country :
Reg-Date : 2008-09-04
Forum Warning :
Contribution :
|
Subject: Re: Disable Right Click On Image Thu Oct 09, 2008 3:02 pm |
|
|
|
|
|
|
cavitekaren
HCG Elite
> : YOU! Wanna piece of me?
Posts : 1098
Age : 30
Location : santa's sleigh, woo hoo!
Mood : Gloomy
Reg-Date : 2008-09-09
Forum Warning :
Contribution :
|
Subject: Re: Disable Right Click On Image Thu Oct 09, 2008 3:27 pm |
|
|
|
|
|
|
jaspermarkyo
HCG Wizard
> : I love HCG!
Posts : 54
Age : 34
Reg-Date : 2008-09-16
Forum Warning :
Contribution :
|
|
|
|
cavitekaren
HCG Elite
> : YOU! Wanna piece of me?
Posts : 1098
Age : 30
Location : santa's sleigh, woo hoo!
Mood : Gloomy
Reg-Date : 2008-09-09
Forum Warning :
Contribution :
|
|
|
|
blustar143
HCG Addict
> : I love HCG!
Posts : 218
Age : 34
Location : Bongtud, Tandag City
Mood : Bittersweet
Reg-Date : 2008-09-11
Forum Warning :
Contribution :
|
Subject: Re: Disable Right Click On Image Fri Oct 31, 2008 2:50 pm |
|
|
Ahm..it didn't work...hahaiz!
|
|
|
|
aii...trixie
HCG Wizard
> : I love HCG!
Posts : 76
Age : 30
Location : Tacloban
Reg-Date : 2008-10-30
Forum Warning :
Contribution :
|
|
|
|
0daven0
HCG Maniac
> : reminiscing xD
Posts : 4430
Age : 31
Location : here
Reg-Date : 2008-10-06
Forum Warning :
Contribution :
|
|
|
|
Mhelay x]
HCG VIP Member
> : HFY :[
Posts : 17310
Age : 31
Location : caloocan,philippines
Mood : Blah
Country :
Reg-Date : 2008-10-08
Forum Warning :
Contribution :
|
|
|
|
RaPalz
HCG Addict
> : IM FROM HELLESANA
Posts : 232
Age : 33
Location : SheBu
Reg-Date : 2008-09-08
Forum Warning :
Contribution :
|
Subject: Re: Disable Right Click On Image Fri Oct 31, 2008 11:10 pm |
|
|
tHx 4 shaRnG
|
|
|
|
kailu_zaoldyeck
Guest
> : I love HCG!
Posts : 9
Age : 32
Location : Rizal, Philippines
Reg-Date : 2008-11-20
Forum Warning :
Contribution :
|
Subject: Re: Disable Right Click On Image Thu Nov 20, 2008 8:36 pm |
|
|
where to put? readypaste n ba?
|
|
|
|
johman hartzell
Retired Moderator
> : :)
Posts : 772
Age : 33
Location : @echo off del system32
Country :
Reg-Date : 2008-09-05
Forum Warning :
Contribution :
|
Subject: Re: Disable Right Click On Image Thu Nov 20, 2008 8:40 pm |
|
|
^add to yer js extension.... edit only the bold letters... "YOUR MESSAGE HERE"@ayeh tnx for shring bro..
|
|
|
|
janbuniel
HCG Geek
> : im always here (online@ 11:00 in noon until 11:30 pm in the afternun still online (:!
Posts : 925
Age : 28
Location : HAWALLI [KUWAIT]
Mood : Gloomy
Reg-Date : 2008-11-05
Forum Warning :
Contribution :
|
Subject: Re: Disable Right Click On Image Fri Dec 05, 2008 12:57 pm |
|
|
WHY WHEN I RIGHT CLICK ON HER TEST PAGE ~MAY A-APPEAR THEN STILL IT CAN BE ROGHT CLICK ON HER TESTPAGE AFTER THE ALERT..
|
|
|
|
Mitchz
HCG Freak
> : I love HCG!
Posts : 177
Location : Universe-Earth-Asia-Phils.-Manila
Reg-Date : 2008-12-02
Forum Warning :
Contribution :
|
Subject: Re: Disable Right Click On Image Fri Dec 05, 2008 7:34 pm |
|
|
|
|
|
|
Chirokipau
Global Mod
> : LOL?XD
Posts : 1836
Age : 31
Location : Cavite.General trias.
Mood : Happy
Country :
Reg-Date : 2008-09-04
Forum Warning :
Contribution :
|
Subject: Re: Disable Right Click On Image Fri Dec 05, 2008 7:43 pm |
|
|
- janbuniel wrote:
- WHY WHEN I RIGHT CLICK ON HER TEST PAGE
~MAY A-APPEAR THEN STILL IT CAN BE ROGHT CLICK ON HER TESTPAGE AFTER THE ALERT.. yes it is bro. it means the trick is not perfectly done for no rightclick this is only a simple script to anoyy someone who are a newbie ripper.. if he/she is a great ripper he won't use right click for ripping.. :)
|
|
|
|
angela_jane14
HCG Member
> : I love HCG!
Posts : 15
Age : 33
Location : anywhere...nPa aq eh xD
Reg-Date : 2008-12-13
Forum Warning :
Contribution :
|
Subject: Re: Disable Right Click On Image Tue Dec 30, 2008 8:52 pm |
|
|
tNx fOr sharIng!!!
|
|
|
|
Marlou123
HCG Addict
> : I love HCG!
Posts : 222
Age : 29
Location : Catarman Cordova Cebu
Mood : Excited
Reg-Date : 2008-12-30
Forum Warning :
Contribution :
|
Subject: Re: Disable Right Click On Image Tue Jan 20, 2009 7:47 am |
|
|
hhhahaa thnx for this yeahh keep it up....
|
|
|
|
kiellivinsingle
HCG Wizard
> : Yah sure. :)
Posts : 56
Age : 29
Location : Infront of the computer. :)
Mood : Blah
Country :
Reg-Date : 2008-11-27
Forum Warning :
Contribution :
|
Subject: Re: Disable Right Click On Image Tue Feb 03, 2009 8:02 pm |
|
|
thanks for sharin`..its cool!
|
|
|
|
red20
Guest
> : I love HCG!
Posts : 2
Age : 33
Location : bulacan
Reg-Date : 2009-01-22
Forum Warning :
Contribution :
|
Subject: Re: Disable Right Click On Image Fri Feb 06, 2009 10:44 am |
|
|
|
|
|
|
sayie
HCG Elite
> : RAWR!
Posts : 1468
Age : 30
Location : somewhere over the rainbow
Mood : Bitchy
Country :
Reg-Date : 2008-10-19
Forum Warning :
Contribution :
|
Subject: Re: Disable Right Click On Image Fri Feb 06, 2009 7:01 pm |
|
|
thankss fer sharing its just what i needed x]
|
|
|
|
dominique_sayson
Guest
> : Post a shoutout!
Posts : 3
Age : 30
Country :
Reg-Date : 2009-02-07
Forum Warning :
Contribution :
|
Subject: Re: Disable Right Click On Image Sat Feb 07, 2009 11:17 pm |
|
|
|
|
|
|
cessinsane
HCG Member
> : I love HCG!
Posts : 46
Age : 29
Country :
Reg-Date : 2008-10-26
Forum Warning :
Contribution :
|
|
|
|
Sponsored content
|
Subject: Re: Disable Right Click On Image |
|
|
|
|
|
|
|
Disable Right Click On Image |
|
|