ModsJava
Avoid getting your html code stolen.
Minecraft Java mod. Download on the author's site.
⬇ Download on Spigot
AVOID GETTING YOUR HTML CODE STOLEN:
I developed the code just for making harder to get my html code. You should know that all html codes are public and somebody will always find a way to look at it.
This code just avoids the use of F12, ctrl+C, ctrl+S, ctrl+U, right click... It is very simple but also effective in some situations.
My code only works on Google Chrome and Mozilla Firefox . I haven´t find the way to implement it to work on Internet Explorer. (This means that people with Internet Explorer can use F12, ctrl+C, ctrl+U, ctrl+S...).
If you know how to implement it in Internet Explorar, please contact me because I would be very interested on updating it.
Code here and in the download button:
HTML:
<!DOCTYPE html>
<!-- Avoid getting your code stolen
Developed by mark22padre
-->
< script type = 'text/javascript' >
var isCtrl = false;
document.onkeyup=function(e)
{
if(e.which == 17)
isCtrl=false;
}
document.onkeydown=function(e)
{
if(e.which == 17)
isCtrl=true;
if((e.which == 85) || (e.which == 67) || (e.which == 86) || (e.which == 117) || (e.which == 83) && (isCtrl == true))
{
return false;
}
if(e.which == 123)
return false;
}
var isNS = (navigator.appName == "Netscape") ? 1 : 0;
if(navigator.appName == "Netscape") document.captureEvents(Event.MOUSEDOWN||Event.MOUSEUP);
function mischandler(){
return false;
}
function mousehandler(e){
var myevent = (isNS) ? e : event;
var eventbutton = (isNS) ? myevent.which : myevent.button;
if((eventbutton==2)||(eventbutton==3)) return false;
}
document.oncontextmenu = mischandler;
document.onmousedown = mousehandler;
document.onmouseup = mousehandler;
< / script >
< html lang = "en" >
< head >
< meta charset = "utf-8" >
< meta name = "description" content = "Your description." >
< meta name = "keywords" content = "HTML5, CSS3, Javascript" >
< / head >
< body >
< / body >
< / html >
<!-- Avoid getting your code stolen
Developed by mark22padre
-->
< script type = 'text/javascript' >
var isCtrl = false;
document.onkeyup=function(e)
{
if(e.which == 17)
isCtrl=false;
}
document.onkeydown=function(e)
{
if(e.which == 17)
isCtrl=true;
if((e.which == 85) || (e.which == 67) || (e.which == 86) || (e.which == 117) || (e.which == 83) && (isCtrl == true))
{
return false;
}
if(e.which == 123)
return false;
}
var isNS = (navigator.appName == "Netscape") ? 1 : 0;
if(navigator.appName == "Netscape") document.captureEvents(Event.MOUSEDOWN||Event.MOUSEUP);
function mischandler(){
return false;
}
function mousehandler(e){
var myevent = (isNS) ? e : event;
var eventbutton = (isNS) ? myevent.which : myevent.button;
if((eventbutton==2)||(eventbutton==3)) return false;
}
document.oncontextmenu = mischandler;
document.onmousedown = mousehandler;
document.onmouseup = mousehandler;
< / script >
< html lang = "en" >
< head >
< meta charset = "utf-8" >
< meta name = "description" content = "Your description." >
< meta name = "keywords" content = "HTML5, CSS3, Javascript" >
< / head >
< body >
< / body >
< / html >
If you want to donate me: https://www.paypal.me/mark22padre
Thanks a lot, and feel free to contact me. By: mark22padre.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Avoid getting your html code stolen. is a free Minecraft Java mod. Downloaded 317 times (via Spigot). Download it and open it directly in the game.