Saw 3D

As a deadly battle rages over Jigsaw's brutal legacy, a group of Jigs... Read more

The Girl Who Kicked the Hornet's Nest

Lisbeth Salander is fighting for her life in more ways than one. In i... Read more

Inspector Belami

Lisa, the first wife of an author who died suddenly and brutally, en... Read more

The Company Men

Bobby Walker is living the American dream: great job, beautiful famil... Read more

Tutorials

More latest news

Fun

Hot babes

...Read more

Hot Models Demonstrate the hammerlock position

Hot Models Demonstrate the hammerlock position ...Read more

Tight jeans workout

Tight jeans workout ...Read more

Real Hot Girl Workout

Real Hot Girl Workout ...Read more

Movies

  • Rising Stars

    In Movie Theaters: October 22, 2010 Directed by: Daniel Millican Sta...Read more

  • Inhale
  • Marwencol
  • Inside Job

Music

Sports

Soft and Tech

Stuff

Cars

Dezactivati right click (click dreapta) in Blogger

Clicul pe butonul drept al mouse-ului este foarte important in orice browser. La click dreapta se deschide un meniu care ne permite sa copiem textul dintr-o pagina, sa copiem poze, sa facem bookmark la o pagina, sa vedem sursa paginii si multe altele. Acest lucru ne ajuta foarte mult atunci cand navigam pe internet. Dar ce facem daca suntem un webmaster sau blogger? Ce facem daca avem un blog foto unde postam pozele facute de noi si pe care dorim sa nu le poata copia nimeni? Sau daca avem un blog cu tutoriale si dorim ca articolele noastre sa nu poata fi copiate?
Daca aveti blog pe Blogger acum exista o solutie. Cu ajutorul limbajului Java Script putem devactiva Right Click pe blogurile Blogger.

Pentru a face acest lucru, mergeti la Blogger si in tabul "Aspect --> Elemente de pagină" dati clic pe "Adaugati un obiect gadget" si apoi pe "HTML/JavaScript Adăugare ".

In fereastra deschisa copiati urmatorul cod:

<script language="JavaScript">
<!--
 
//Disable right mouse click Script
//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com
 
var message="Function Disabled!";
 
///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}
 
function clickNS4(e){
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=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
 
document.oncontextmenu=new Function("alert(message);return false")
 
// -->
</script>

si apoi salvati.
De acum inainte, cand vizitatorii vor da clic pe paginile blogului vostru Blogger, va aparea o fereasta in care va scrie 'Function Disabled!' de genul celei din imagine.

Continuarea o gasiti aici

Sursa bloggerajutor.blogspot.com
Tags: , , ,

0 comentarii

Leave a Reply