Tag Archives: Java Script

disable back button functionality With JavaScript

                                                                       Disable Back Button Functionality <HTML> <HEAD> <TITLE>Disable Back Button in Browser</TITLE> <STYLE>body,input{font-family:Calibri,Arial}</STYLE> <script type=”text/javascript”>     function clickLink() {         document.getElementById(“link”).click();     } </script> <body onload=”clickLink()”> <a id=”link” href=”#” /> <H2>BackButtonRestrict</H2> </BODY> </HTML> With Regards RAJ9992 Advertisements

Posted in Uncategorized | Tagged | Leave a comment

Disable RightClick Mouse and Disable Print Screen Key…Using JavaScript

 How To Block Print Screen As well As Mouse functionalities With Java Script <html> <head>  <script language=”Javascript1.2″> am = “This function is disabled!”; bV  = parseInt(navigator.appVersion) bNS = navigator.appName==”Netscape” bIE = navigator.appName==”Microsoft Internet Explorer” function check(e) {    if (bNS … Continue reading

Posted in JavaScrpit | Tagged | 3 Comments

Restrict Copy Paste in Webpages with java Script

Easy To Implement Try  This <html> <head> <script type=”text/javascript”> function start(){ block = setInterval(“window.clipboardData.setData(‘text’,”)”,20); } function stop(){ clearInterval(block); } </script> </head> <body onload=”start();”> YOU TRY TO COPY AND PASTE THIS SCREEN, AND ALL THE ACTIVE SCREENS <input type=”button” onclick=”stop();” value=”stop … Continue reading

Posted in JavaScrpit | Tagged | Leave a comment