PHP programing. Programming Language is used everywhere

in #language7 years ago

It is seen from our site that it has been lately
Many people copy posts. Those who copy, they actually copy and click the computer's right button (different thing about hackers). So do not worry, because I will show you today how to disconnect your site's right button. If you think the right button is disconnected, copy paste can be done in shortcut. Actually I'll give the code that will also remove the shortcut, so do not worry too much. It's very simple. Work done while working.
Job Sections:
First you log in to your WordPress site
Do it. Then go to the theme → Apearence → Editor. Then open your theme's header.php file. Now copy the code below and paste this tag before it. Then click on update file below. After successfull, let's see your site come to work.



/ * COPY PROTECTED * /


Function clickIE4 () {


If (event.button == 2) {


Return false;


}


}


Function clickNS4 (e) {


If (document.layers || document.getElementById & amp;! Document.all) {


If (e.which == 2 || e.which == 3) {


Return false;


}


}


}


If (document.layers) {


Document.captureEvents (Event.MOUSEDOWN);


Document.onmousedown = clickNS4;


}


Else if (document.all & amp;! Document.getElementById) {


Document.onmousedown = clickIE4;


}


Document.oncontextmenu = new Function ("return false") </ p>

function disableSelection (target) {

If (typeoftarget.onselectstart! "=" Undefined ")

// For IE

Target.onselectstart = function () {return

False}

Else if (typeof target.style.MozUserSelect! = "Undefined") // For Firefox

Target.style.MozUserSelect = "none"

Else // All other route (For Opera)

Target.onmousedown = function () {return

False}

Target.style.cursor = "default"

}

If there is any problem let me know in the comments. And if you feel slightly and do not forget to comment then![the-php-practitioner.jpg]()
Sort:  

Helpful this

PHP is not that easy what people thinking.

Coin Marketplace

STEEM 0.18
TRX 0.16
JST 0.030
BTC 68236.23
ETH 2643.41
USDT 1.00
SBD 2.70