No Right Click

Published in PersonalSite Related
37 Comments

I would like to thank all of you who commented on my previous post about my plagiarized poem.

Although we really can’t stop people from copying our own articles, I thought of making it more difficult for them. Again, it won’t prevent theft, but it will definitely make it harder for them to copy & paste my poems. That’s why I am using the no right click and disable select script again.

Few years ago, I used the no right click and disable text select script I got from Dynamic Drive. That script prevents the user from right clicking and from selecting text in my site. But when I migrated to WordPress two years ago, I didn’t include it in my header files. When I was still using that Javascript file, I didn’t see any copy of my poems, not unless Google wasn’t able to detect it using my “search queries”.

And now that there are more than 10 direct copies of my poems, I realized I should be using that Javascript again.

Though I’ve seen several sites that uses the no right click function, people can still easily copy the content of the site by pressing Ctrl+C. But with the disable text selection script, you can not select any text from a page and you can’t even use Ctrl+A or select all. If you can’t select a text, obviously you can’t copy the text directly. The only thing you can do to copy the text is by saving the entire page in your computer or by viewing the source code.

Here’s the Javascript code for image and text protection with a pop up message I found from BluePark Solutions.

<SCRIPT language="JavaScript">
<!--
var message="Copyright ©2008 Your Company Ltd. All Rights Reserved.";
function clickIE() {if (document.all) {alert(message);return false;}}
function clickNS(e) {
if (e.target.type == "text") { return true; }
if (e.target.type == "textarea") { return true; }
if (e.target.type == "submit") { return true; }
if (e.target.type == "checkbox") { return true; }
if (e.target.type == "radio") { return true; }
if(document.layers||(document.getElementById&&!document.all)){
if (e.which==2||e.which==3) {alert(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")

function noclic(clic) {
var msg="Copyright ©2008 Your Company Ltd. All Rights Reserved.";
if (navigator.appName == 'Netscape' && clic.which==3) {
alert(msg);
return false;}
else
if (navigator.appName == 'Microsoft Internet Explorer' && event.button==2) {
alert(msg);
return false;
}
return true;
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown = noclic;
// -->
</SCRIPT>

<SCRIPT language="JavaScript">
function disableselect(e){
    if (e.target.type == "text") { return true; }
    if (e.target.type == "textarea") { return true; }
    if (e.target.type == "submit") { return true; }
    if (e.target.type == "checkbox") { return true; }
    if (e.target.type == "radio") { return true; }
    if (e.target.type == "password") { return true; }
    return false;
}

function reEnable(){
return true
}

//if IE4+
document.onselectstart=new Function ("return false")

//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>

If you are annoyed with the pop up message and don’t want to use it, there’s another script for that in the link above.

You can put this code right before the </head> tag of your header file. I saved mine in one file and just used <script type=”text/javascript” src=”path/to/file/noright.js”></script> right before the </head> in header.php.

If you want to see it working, you can visit My Destiny poem or any of my poems and the submitted poems.

Blog Widget by LinkWithin
Share or Bookmark this post
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • email
  • RSS
  • StumbleUpon
  • Technorati
  • Twitter
  • Yahoo! Bookmarks
  • Yahoo! Buzz
  • Suggest to Techmeme via Twitter

37 Comments to “ No Right Click ”

  1. Nilo on December 4, 2008 at 12:59 pm

    naka encounter nako ng naka No Right Click na website, kaso pag talagang gustong kunin, makukuha pa rin.

    Nilo´s last blog post..I Will Donate $5,000

    Reply

    Amor   replied on December 4th, 2008 at 4:59 pm

    Yes, indeed. But then again, my point is, even if they want to copy at least you’re making it hard for them. May extra effort pa rin sila bago maka kopya. Pero kung may right click, madali lang mag save ng image. Kung walang right click, mag screen capture pa sila at mag e-edit. Kung regular user yun, baka tamarin yun mangopya at humanap na lang ng iba. Pero kung tulad sa ibang advanced eh syempre madali lang naman mag edit, parang ikaw haha!

    Reply

  2. Camper on December 4, 2008 at 1:14 pm

    The funny thing about this thing is, it works only for amateurs. You can always work around if you’re dying to copy it!

    And with your posts, you cannot be powerful and have a voice to say.. hey! This is my work! if you’re the only who knows this.

    I read once upon a time ( Noong Unang Panahon ) somewhere down the road ( hehe ) that there are some sites who empower poet, artists’ work by registering your copyright to sites like this… http://myfreecopyright.com/ / http://www.copyrightwitness.com/

    I hope that it’ll help you… Ang damot naman daw kasi eh hehehe joke..

    Camper´s last blog post..PHP Tutorial – If-Else Statement

    Reply

    Amor   replied on December 4th, 2008 at 5:12 pm

    Like what I said in my post, it won’t stop theft naman especially if someone really wants to copy it. But same with my reply to Nilo, at least may extra effort hindi lang basta copy and paste diba.

    Reply

  3. Camper on December 4, 2008 at 1:25 pm

    Let me give an example… Flood na ba to comments ko? hahaha

    This is a simple Post in a blog:
    http://homewithtrujoy.blogspot.com/2008/11/its-almost-that-time.html

    And that post is protected and empowered by this:
    http://myfreecopyright.com/registered_mcn/B1EFA_42DDF_B3A08/November_2008/CF056_C2A12_EB449

    And if you are trying to locate reuse or plagiarized posts, visit this: http://copyrightspot.com/

    Camper´s last blog post..PHP Tutorial – If-Else Statement

    Reply

    Amor   replied on December 4th, 2008 at 5:19 pm

    Okay lang, thanks for the info Camper. San mo nakita mga yan, hehe. Dati I used copyscape, pero may limit ang search, kailangan mag premium member. I am using Google lang talaga.

    I just tried copyrightspot pero mas maraming nakikita sa google. Sa copyrightspot kasi isa lang yung search result para sa Saying Goodbye copies, sa Google 9 different websites ang result.

    Reply

  4. fatherlyours on December 4, 2008 at 9:24 pm

    Hay buhay, wish ko lang naiitindihan ko mga code na yan. Kaninang umaga ginalaw ko yung isang post ng guest blogger ko, na diskaril na site ko. huhuhu!

    fatherlyours´s last blog post..The Philosophy of Charles Schultz

    Reply

    Amor   replied on December 5th, 2008 at 1:53 am

    May guest blogger po pala kayo, kaya pala ibang name nakita ko, Tina. I just checked it, napunta nga po sa baba yung sidebar nyo sa homepage, pero okay naman sa single page.

    Reply

    fatherlyours   replied on December 5th, 2008 at 6:51 am

    Yes, tina is my school mate sa Manila High School. Researcher siya kaya magagaganda mga info niya.

    fatherlyours´s last blog post..The Philosophy of Charles Schultz

    Reply

  5. Roy on December 4, 2008 at 10:05 pm

    hahaha… ayos yang no right click na yan… at least magta-type pa siya kung gusto na talagang kumopya

    Roy´s last blog post..Hail! The demi-gods of blogging!

    Reply

    Amor   replied on December 5th, 2008 at 1:59 am

    Exactly my point, at least mag eeffort pa talaga sya. Kung sya naman yung tipong nagre-rely lang sa copy-paste, baka tamarin na yan kung magta-type o magsi-save pa at hindi ka na kopyahin… much better, hehe.

    Amor´s last blog post..No Right Click

    Reply

  6. jessie on December 4, 2008 at 10:33 pm

    Amor,

    gamit ko rin yang scripts from dynamic drive. kahit papano nabawasan ang mga kopyador sa site ko. yung disable Ctrl+C function ang gusto kong ilagay sa site ko para di talaga makopya.

    jessie´s last blog post..Barclay’s Visa Black Card is Black

    Reply

    Amor   replied on December 5th, 2008 at 2:03 am

    Nakita ko nga rin sa site mo friend. Maganda rin or mas maganda na may kasamang disable select para di pwedeng mag highlight ng text, at mag Ctrl+c.

    Amor´s last blog post..No Right Click

    Reply

  7. 4ever7 on December 5, 2008 at 12:30 am

    Please update your url. I have deleted my Avatar Temple blog. I have a new blog, http://exdeoscientia.blogsot.com and I have added you to my blogroll already.

    Reply

  8. YoungCan on December 5, 2008 at 1:55 am

    HOY hindi pa din disabled! Hmmm may isa pang paraan ng pag copy lol yong find source bweheheheh…

    Reply

    Amor   replied on December 5th, 2008 at 2:07 am

    hindi ba? hahaha! bakit sa akin, naka disabled na, hindi makapag highlight ng text. Sa poems mo ba tiningnan?

    Oo nga binanggit ko yung pag view ng source code para maka kopya, pero mag i-edit pa rin sya kasi may mga kasamang html tags na buburahin nya pa.

    Amor´s last blog post..No Right Click

    Reply

  9. YoungCan on December 5, 2008 at 1:58 am

    Wheeeeeeeeeeee malaya pa din ang pagkoya ko sa mga poems mo lols

    YoungCan´s last blog post..Get together dinner

    Reply

    Amor   replied on December 5th, 2008 at 2:08 am

    Kung ikaw naman eh, okay lang sa akin, basta pakopya din ako ng recipes mo ha. :)

    Amor´s last blog post..No Right Click

    Reply

    YoungCan   replied on December 9th, 2008 at 6:49 am

    Hi Amor hindi pwedeng kopyahin ang mga recipes ko lol… May sekret ingredients yon bweheheh kaya masarap! Nga pala taga makati ka lang ba? O may access ka sa makati? Let me know ASAP! Dahil ikaw ang bagong kampeon!

    YoungCan´s last blog post..I eat with my emotions?

    Reply

  10. Abhishek on December 5, 2008 at 6:17 pm

    Try out WP-NoCopy plugin in Wordpress

    Abhishek´s last blog post..letter from Editor Mumbai (Times of India)

    Reply

    Amor   replied on December 7th, 2008 at 11:39 am

    Is there such a WP plugin? I better google it now. :)

    Amor´s last blog post..No Right Click

    Reply

    Pandacan1011   replied on December 9th, 2008 at 9:41 pm

    Musta ang pag-google mo? May nakita ka ba? So far sa 1011di pa naman kailangan ng ganito, pero just in case na rin hehehe. Puro short paragraphs and pics kasi kami e :P

    Pandacan1011´s last blog post..MICS Commodities, Inc: Store Location

    Reply

    Amor   replied on December 10th, 2008 at 2:35 pm

    Hindi pa ulit ako nag gu-google haha… busy sa contest. lol!

    Marami ring nangongopya ng pictures, ako nga nangongopya eh, haha, pero di ko naman kini-claim na sa akin :)

  11. don_Ser on December 5, 2008 at 11:38 pm

    thanks for sharing the code!

    don_Ser´s last blog post..Mamimigay ng P500 si don_ser sa Top Commentator!

    Reply

    Amor   replied on December 7th, 2008 at 11:40 am

    You’re welcome Don_Ser!

    Amor´s last blog post..No Right Click

    Reply

  12. Marlene on December 6, 2008 at 7:35 am

    This is good idea, Amor. Para di na manakaw ang mga poems mo. That script on no-right click (image) is a bluff talaga. I did steal a photo from a site where my friend published her photos, then the site prohibits right-clicking. Hindi niya kasi ako binigyan ng pic kaya ninakaw ko na lang, hahaa!

    Marlene´s last blog post..Silly Really Per Gessle

    Reply

    Amor   replied on December 7th, 2008 at 11:46 am

    Mahirap ngang magcopy ng picture sa no-right click, either hanapin mo sa temporary Internet files folder, or save mo buong page or PrintScreen. Makokopya pa rin diba, pero may extra effort. :)

    Reply

  13. melody on December 6, 2008 at 9:50 am

    this is a good idea…correct ka jan, at least if they really want to copy your poems eh mahirapan naman sila magre-type total gusto na rin naman nilang magkopya eh di carreer-rin na rin nila ang pagtytype hehehee…

    melody´s last blog post..I am Grateful

    Reply

    Amor   replied on December 7th, 2008 at 11:47 am

    Korek! at kung tamad naman sila mag retype or ang alam lang nila eh copy-paste, hindi na lang nila kokopyahin yun. Maghahanap na lang sila ng ibang madaling makopya, diba?

    Amor´s last blog post..No Right Click

    Reply

  14. Ambo on December 7, 2008 at 11:12 pm

    Dati ginamit ko ito pero me nagreklamo dahil distorbo daw. E mukhang ibabalik ko ulit dahil nakita ko ulit ito. Bakit ako nakaka right click ang copy naman dito ngayon?

    Ambo´s last blog post..Pacquiao Vs. Dela Hoya Video Round 1 to Round 8

    Reply

    Amor   replied on December 8th, 2008 at 12:32 am

    Not here, Ambo. No right click and no text select is activated only in poems.

    Okay, nakita mo na pala haha… You may want to try it again, kaya siguro sila nagsasabing istorbo kasi they want to copy somethng from your site, at kapag no right click nga talagang istorbo, hehe.

    Amor´s last blog post..No Right Click

    Reply

  15. bluepanjeet on December 8, 2008 at 7:00 am

    hinahanap ko ang comments ko dito sa post na ito kasi galing na ako dito nung minsan, sabi ko bakit nawala. yun pala di pa ako nakakapag comment haha. Toink!

    dati my anti right click ako pero nahihirapan ako kasi usually when I post an entry with so many links I tend to right click my own blog and copy link location especially when Im in a hurry to link up some of my old post.

    Tama si Diwa, sa firefox meron din yung feature na view page source na pwede mag copy.

    if only there is a plugin that will disable even those things and allow only the user to right click in his own blog.

    bluepanjeet´s last blog post..Waiting in vain

    Reply

    Amor   replied on December 9th, 2008 at 12:27 am

    Ako rin naman Bluep, mahilig mag right click especially if I want to open the link in a new tab.

    Reply

  16. norton on April 8, 2009 at 7:13 am

    ang ganda pala nyan. ma’am amor pwede
    ko bang ilagay ang poem mo sa fs ko?

    Reply

    Amor   replied on April 14th, 2009 at 11:08 pm

    okay lang, nagpa-alam ka naman eh. :) Salamat dahil nagustuhan mo.

    Reply

  17. Philnorgil on September 8, 2009 at 5:56 pm

    Hello po sa friendster site po ba pwede ilagay yung no right click code?madami po kasi nnagnanakaw ng picture ko na walang paalam kahit pa naka not allowed photo grabbing:(Saan po dapat i paste yung code?

    Reply

    Amor   replied on September 8th, 2009 at 9:03 pm

    Sorry, I don’t think it’s possible. If ever, sa profile lang mismo yung no right click at hindi sa photos.

    Saw your FS profile, pretty ka kasi kaya boys can’t help but copy your pics. Restricted naman profile mo so most probably mga friends mo din nagcopy. Kahit hindi allowed ang photo grabbing they can still download JPEG images directly to their PC. You can apply watermarks and copyright stamps on your pics before you upload it in FS pero hindi pa rin mapipigilan yung iba na i-copy yun, pero at least mababawasan.

    Reply

Leave a Comment

NOTE: For non-post related comments, you may visit my Guestbook. Thank you for cooperating! :-)

CommentLuv Enabled