sabotag3x
Legendary
Offline
Activity: 2604
Merit: 2232
Crypto Swap Exchange
|
|
August 04, 2016, 02:42:26 AM Last edit: August 04, 2016, 02:53:25 AM by sabotag3x |
|
Now I can't right click.. however F12 and others keys still working.. what about make a full javascript or flash faucet? I really don't know what more we can do against bots.. edit: I'm using Maxthon browser
|
|
|
|
Gifted
|
|
August 04, 2016, 02:46:24 AM |
|
to many browsers use diffrent code so this will take a little while
|
|
|
|
Gifted
|
|
August 04, 2016, 03:15:04 AM Last edit: August 04, 2016, 06:02:42 AM by Gifted |
|
ok, i think i got it now but not sure if its for all browsers Code to stop timer exploit or source goes in <head><script language="JavaScript">
//////////F12 disable code//////////////////////// document.onkeypress = function (event) { event = (event || window.event); if (event.keyCode == 123) { //alert('No F-12'); return false; } } document.onmousedown = function (event) { event = (event || window.event); if (event.keyCode == 123) { //alert('No F-keys'); return false; } } document.onkeydown = function (event) { event = (event || window.event); if (event.keyCode == 123) { //alert('No F-keys'); return false; } } /////////////////////end///////////////////////
//Disable right click script
var message="Sorry, right-click has been disabled"; /////////////////////////////////// function clickIE() {if (document.all) {(message);return false;}} function clickNS(e) {if (document.layers||(document.getElementById&&!document.all)) { if (e.which==2||e.which==3) {(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 disableCtrlKeyCombination(e) { //list all CTRL + key combinations you want to disable var forbiddenKeys = new Array('u', 'i', 'c', 'x', 'v', 'j' , 'w'); var key; var isCtrl; if(window.event) { key = window.event.keyCode; //IE if(window.event.ctrlKey) isCtrl = true; else isCtrl = false; } else { key = e.which; //firefox if(e.ctrlKey) isCtrl = true; else isCtrl = false; } //if ctrl is pressed check if other key is in forbidenKeys array if(isCtrl) { for(i=0; i<forbiddenKeys.length; i++) { //case-insensitive comparation if(forbiddenKeys[i].toLowerCase() == String.fromCharCode(key).toLowerCase()) { alert('Key combination CTRL + '+String.fromCharCode(key) +' has been disabled.'); return false; } } } return true; }
</script> <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) && isCtrl == true) { // alert(&#38;#8216;Keyboard shortcuts are cool!&#38;#8217;); 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> <script language="JavaScript"> function disableCtrlKeyCombination(e) { //list all CTRL + key combinations you want to disable var forbiddenKeys = new Array("i", "u", "c"); var key; var isCtrl;
if(window.event) { key = window.event.keyCode; //IE if(window.event.ctrlKey) isCtrl = true; else isCtrl = false; } else { key = e.which; //firefox if(e.ctrlKey) isCtrl = true; else isCtrl = false; }
//if ctrl is pressed check if other key is in forbidenKeys array if(isCtrl) { for (i = 0; i < forbiddenKeys.length; i++) { //case-insensitive comparation if (forbiddenKeys[i].toLowerCase() == String.fromCharCode(key).toLowerCase()) { // alert("Key combination CTRL + " // + String.fromCharCode(key) // + " has been disabled."); return false; } } } return true; } </script> Put this in the body: <body onkeypress="return disableCtrlKeyCombination(event);" onkeydown="return disableCtrlKeyCombination(event);" > You can test here http://www.bitcoinfaucetexchange.com and let me know if it works with what browsers
|
|
|
|
viralalert
|
|
August 04, 2016, 04:05:34 AM |
|
ok, i think i got it now but not sure if its for all browsers Code to stop timer exploit or source<script language="JavaScript">
//////////F12 disable code//////////////////////// document.onkeypress = function (event) { event = (event || window.event); if (event.keyCode == 123) { //alert('No F-12'); return false; } } document.onmousedown = function (event) { event = (event || window.event); if (event.keyCode == 123) { //alert('No F-keys'); return false; } } document.onkeydown = function (event) { event = (event || window.event); if (event.keyCode == 123) { //alert('No F-keys'); return false; } } /////////////////////end///////////////////////
//Disable right click script
var message="Sorry, right-click has been disabled"; /////////////////////////////////// function clickIE() {if (document.all) {(message);return false;}} function clickNS(e) {if (document.layers||(document.getElementById&&!document.all)) { if (e.which==2||e.which==3) {(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 disableCtrlKeyCombination(e) { //list all CTRL + key combinations you want to disable var forbiddenKeys = new Array('u', 'i', 'c', 'x', 'v', 'j' , 'w'); var key; var isCtrl; if(window.event) { key = window.event.keyCode; //IE if(window.event.ctrlKey) isCtrl = true; else isCtrl = false; } else { key = e.which; //firefox if(e.ctrlKey) isCtrl = true; else isCtrl = false; } //if ctrl is pressed check if other key is in forbidenKeys array if(isCtrl) { for(i=0; i<forbiddenKeys.length; i++) { //case-insensitive comparation if(forbiddenKeys[i].toLowerCase() == String.fromCharCode(key).toLowerCase()) { alert('Key combination CTRL + '+String.fromCharCode(key) +' has been disabled.'); return false; } } } return true; }
</script> <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) && isCtrl == true) { // alert(&#38;#8216;Keyboard shortcuts are cool!&#38;#8217;); 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> <script language="JavaScript"> function disableCtrlKeyCombination(e) { //list all CTRL + key combinations you want to disable var forbiddenKeys = new Array("i", "u", "c"); var key; var isCtrl;
if(window.event) { key = window.event.keyCode; //IE if(window.event.ctrlKey) isCtrl = true; else isCtrl = false; } else { key = e.which; //firefox if(e.ctrlKey) isCtrl = true; else isCtrl = false; }
//if ctrl is pressed check if other key is in forbidenKeys array if(isCtrl) { for (i = 0; i < forbiddenKeys.length; i++) { //case-insensitive comparation if (forbiddenKeys[i].toLowerCase() == String.fromCharCode(key).toLowerCase()) { // alert("Key combination CTRL + " // + String.fromCharCode(key) // + " has been disabled."); return false; } } } return true; } </script> You can test here http://www.bitcoinfaucetexchange.com and let me know if it works with what browsers Great! It's working. Good job!
|
|
|
|
5ub_zer0 (OP)
|
|
August 04, 2016, 04:05:51 AM |
|
Tested with Chrome - F12 - Strg+U - Strg+Shift+I doesnt work anymore
|
|
|
|
5ub_zer0 (OP)
|
|
August 04, 2016, 04:26:25 AM |
|
ok, i think i got it now but not sure if its for all browsers Code to stop timer exploit or source<script language="JavaScript">
//////////F12 disable code//////////////////////// document.onkeypress = function (event) { event = (event || window.event); if (event.keyCode == 123) { //alert('No F-12'); return false; } } document.onmousedown = function (event) { event = (event || window.event); if (event.keyCode == 123) { //alert('No F-keys'); return false; } } document.onkeydown = function (event) { event = (event || window.event); if (event.keyCode == 123) { //alert('No F-keys'); return false; } } /////////////////////end///////////////////////
//Disable right click script
var message="Sorry, right-click has been disabled"; /////////////////////////////////// function clickIE() {if (document.all) {(message);return false;}} function clickNS(e) {if (document.layers||(document.getElementById&&!document.all)) { if (e.which==2||e.which==3) {(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 disableCtrlKeyCombination(e) { //list all CTRL + key combinations you want to disable var forbiddenKeys = new Array('u', 'i', 'c', 'x', 'v', 'j' , 'w'); var key; var isCtrl; if(window.event) { key = window.event.keyCode; //IE if(window.event.ctrlKey) isCtrl = true; else isCtrl = false; } else { key = e.which; //firefox if(e.ctrlKey) isCtrl = true; else isCtrl = false; } //if ctrl is pressed check if other key is in forbidenKeys array if(isCtrl) { for(i=0; i<forbiddenKeys.length; i++) { //case-insensitive comparation if(forbiddenKeys[i].toLowerCase() == String.fromCharCode(key).toLowerCase()) { alert('Key combination CTRL + '+String.fromCharCode(key) +' has been disabled.'); return false; } } } return true; }
</script> <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) && isCtrl == true) { // alert(&#38;#8216;Keyboard shortcuts are cool!&#38;#8217;); 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> <script language="JavaScript"> function disableCtrlKeyCombination(e) { //list all CTRL + key combinations you want to disable var forbiddenKeys = new Array("i", "u", "c"); var key; var isCtrl;
if(window.event) { key = window.event.keyCode; //IE if(window.event.ctrlKey) isCtrl = true; else isCtrl = false; } else { key = e.which; //firefox if(e.ctrlKey) isCtrl = true; else isCtrl = false; }
//if ctrl is pressed check if other key is in forbidenKeys array if(isCtrl) { for (i = 0; i < forbiddenKeys.length; i++) { //case-insensitive comparation if (forbiddenKeys[i].toLowerCase() == String.fromCharCode(key).toLowerCase()) { // alert("Key combination CTRL + " // + String.fromCharCode(key) // + " has been disabled."); return false; } } } return true; } </script> You can test here http://www.bitcoinfaucetexchange.com and let me know if it works with what browsers Just FYI - i have insert this code into my page for testing purpose ... but STRG+U are still works there - yeah i did a refresh and all this necessary :-) .. you can see on https://faucet.today if you press Strg+U that the code is implemented
|
|
|
|
sabotag3x
Legendary
Offline
Activity: 2604
Merit: 2232
Crypto Swap Exchange
|
|
August 04, 2016, 05:05:29 AM Last edit: July 24, 2023, 07:01:25 AM by sabotag3x |
|
Good job Gifted, right click and CTRL commands don't work! good job! I was thinking about CTRL+V on address but this function works fine.. now try to deal with it.. Always will have a way.. maybe you wanna try php obfuscator like this http://phpobfuscator.net/examples.html
|
|
|
|
Gifted
|
|
August 04, 2016, 05:45:32 AM |
|
ok, i think i got it now but not sure if its for all browsers Code to stop timer exploit or source<script language="JavaScript">
//////////F12 disable code//////////////////////// document.onkeypress = function (event) { event = (event || window.event); if (event.keyCode == 123) { //alert('No F-12'); return false; } } document.onmousedown = function (event) { event = (event || window.event); if (event.keyCode == 123) { //alert('No F-keys'); return false; } } document.onkeydown = function (event) { event = (event || window.event); if (event.keyCode == 123) { //alert('No F-keys'); return false; } } /////////////////////end///////////////////////
//Disable right click script
var message="Sorry, right-click has been disabled"; /////////////////////////////////// function clickIE() {if (document.all) {(message);return false;}} function clickNS(e) {if (document.layers||(document.getElementById&&!document.all)) { if (e.which==2||e.which==3) {(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 disableCtrlKeyCombination(e) { //list all CTRL + key combinations you want to disable var forbiddenKeys = new Array('u', 'i', 'c', 'x', 'v', 'j' , 'w'); var key; var isCtrl; if(window.event) { key = window.event.keyCode; //IE if(window.event.ctrlKey) isCtrl = true; else isCtrl = false; } else { key = e.which; //firefox if(e.ctrlKey) isCtrl = true; else isCtrl = false; } //if ctrl is pressed check if other key is in forbidenKeys array if(isCtrl) { for(i=0; i<forbiddenKeys.length; i++) { //case-insensitive comparation if(forbiddenKeys[i].toLowerCase() == String.fromCharCode(key).toLowerCase()) { alert('Key combination CTRL + '+String.fromCharCode(key) +' has been disabled.'); return false; } } } return true; }
</script> <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) && isCtrl == true) { // alert(&#38;#8216;Keyboard shortcuts are cool!&#38;#8217;); 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> <script language="JavaScript"> function disableCtrlKeyCombination(e) { //list all CTRL + key combinations you want to disable var forbiddenKeys = new Array("i", "u", "c"); var key; var isCtrl;
if(window.event) { key = window.event.keyCode; //IE if(window.event.ctrlKey) isCtrl = true; else isCtrl = false; } else { key = e.which; //firefox if(e.ctrlKey) isCtrl = true; else isCtrl = false; }
//if ctrl is pressed check if other key is in forbidenKeys array if(isCtrl) { for (i = 0; i < forbiddenKeys.length; i++) { //case-insensitive comparation if (forbiddenKeys[i].toLowerCase() == String.fromCharCode(key).toLowerCase()) { // alert("Key combination CTRL + " // + String.fromCharCode(key) // + " has been disabled."); return false; } } } return true; } </script> You can test here http://www.bitcoinfaucetexchange.com and let me know if it works with what browsers Just FYI - i have insert this code into my page for testing purpose ... but STRG+U are still works there - yeah i did a refresh and all this necessary :-) .. you can see on https://faucet.today if you press Strg+U that the code is implemented What browser are you using in Germany?
|
|
|
|
Gifted
|
|
August 04, 2016, 05:47:14 AM |
|
Good job Gifted, right click and CTRL commands don't work! good job! I was thinking about CTRL+V on address but this function works fine.. now try to deal with it.. Always will have a way.. maybe you wanna try php obfuscator like this http://phpobfuscator.net/examples.html lol, i didnt even know that was there ill get back to you on that. Thanks for showing me this
|
|
|
|
Gifted
|
|
August 04, 2016, 06:01:17 AM |
|
ok, i think i got it now but not sure if its for all browsers Code to stop timer exploit or source<script language="JavaScript">
//////////F12 disable code//////////////////////// document.onkeypress = function (event) { event = (event || window.event); if (event.keyCode == 123) { //alert('No F-12'); return false; } } document.onmousedown = function (event) { event = (event || window.event); if (event.keyCode == 123) { //alert('No F-keys'); return false; } } document.onkeydown = function (event) { event = (event || window.event); if (event.keyCode == 123) { //alert('No F-keys'); return false; } } /////////////////////end///////////////////////
//Disable right click script
var message="Sorry, right-click has been disabled"; /////////////////////////////////// function clickIE() {if (document.all) {(message);return false;}} function clickNS(e) {if (document.layers||(document.getElementById&&!document.all)) { if (e.which==2||e.which==3) {(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 disableCtrlKeyCombination(e) { //list all CTRL + key combinations you want to disable var forbiddenKeys = new Array('u', 'i', 'c', 'x', 'v', 'j' , 'w'); var key; var isCtrl; if(window.event) { key = window.event.keyCode; //IE if(window.event.ctrlKey) isCtrl = true; else isCtrl = false; } else { key = e.which; //firefox if(e.ctrlKey) isCtrl = true; else isCtrl = false; } //if ctrl is pressed check if other key is in forbidenKeys array if(isCtrl) { for(i=0; i<forbiddenKeys.length; i++) { //case-insensitive comparation if(forbiddenKeys[i].toLowerCase() == String.fromCharCode(key).toLowerCase()) { alert('Key combination CTRL + '+String.fromCharCode(key) +' has been disabled.'); return false; } } } return true; }
</script> <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) && isCtrl == true) { // alert(&#38;#8216;Keyboard shortcuts are cool!&#38;#8217;); 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> <script language="JavaScript"> function disableCtrlKeyCombination(e) { //list all CTRL + key combinations you want to disable var forbiddenKeys = new Array("i", "u", "c"); var key; var isCtrl;
if(window.event) { key = window.event.keyCode; //IE if(window.event.ctrlKey) isCtrl = true; else isCtrl = false; } else { key = e.which; //firefox if(e.ctrlKey) isCtrl = true; else isCtrl = false; }
//if ctrl is pressed check if other key is in forbidenKeys array if(isCtrl) { for (i = 0; i < forbiddenKeys.length; i++) { //case-insensitive comparation if (forbiddenKeys[i].toLowerCase() == String.fromCharCode(key).toLowerCase()) { // alert("Key combination CTRL + " // + String.fromCharCode(key) // + " has been disabled."); return false; } } } return true; } </script> You can test here http://www.bitcoinfaucetexchange.com and let me know if it works with what browsers Just FYI - i have insert this code into my page for testing purpose ... but STRG+U are still works there - yeah i did a refresh and all this necessary :-) .. you can see on https://faucet.today if you press Strg+U that the code is implemented sorry put this in the body! <body onkeypress="return disableCtrlKeyCombination(event);" onkeydown="return disableCtrlKeyCombination(event);" >
|
|
|
|
5ub_zer0 (OP)
|
|
August 04, 2016, 06:13:48 AM |
|
ok, i think i got it now but not sure if its for all browsers Code to stop timer exploit or source<script language="JavaScript">
//////////F12 disable code//////////////////////// document.onkeypress = function (event) { event = (event || window.event); if (event.keyCode == 123) { //alert('No F-12'); return false; } } document.onmousedown = function (event) { event = (event || window.event); if (event.keyCode == 123) { //alert('No F-keys'); return false; } } document.onkeydown = function (event) { event = (event || window.event); if (event.keyCode == 123) { //alert('No F-keys'); return false; } } /////////////////////end///////////////////////
//Disable right click script
var message="Sorry, right-click has been disabled"; /////////////////////////////////// function clickIE() {if (document.all) {(message);return false;}} function clickNS(e) {if (document.layers||(document.getElementById&&!document.all)) { if (e.which==2||e.which==3) {(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 disableCtrlKeyCombination(e) { //list all CTRL + key combinations you want to disable var forbiddenKeys = new Array('u', 'i', 'c', 'x', 'v', 'j' , 'w'); var key; var isCtrl; if(window.event) { key = window.event.keyCode; //IE if(window.event.ctrlKey) isCtrl = true; else isCtrl = false; } else { key = e.which; //firefox if(e.ctrlKey) isCtrl = true; else isCtrl = false; } //if ctrl is pressed check if other key is in forbidenKeys array if(isCtrl) { for(i=0; i<forbiddenKeys.length; i++) { //case-insensitive comparation if(forbiddenKeys[i].toLowerCase() == String.fromCharCode(key).toLowerCase()) { alert('Key combination CTRL + '+String.fromCharCode(key) +' has been disabled.'); return false; } } } return true; }
</script> <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) && isCtrl == true) { // alert(&#38;#8216;Keyboard shortcuts are cool!&#38;#8217;); 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> <script language="JavaScript"> function disableCtrlKeyCombination(e) { //list all CTRL + key combinations you want to disable var forbiddenKeys = new Array("i", "u", "c"); var key; var isCtrl;
if(window.event) { key = window.event.keyCode; //IE if(window.event.ctrlKey) isCtrl = true; else isCtrl = false; } else { key = e.which; //firefox if(e.ctrlKey) isCtrl = true; else isCtrl = false; }
//if ctrl is pressed check if other key is in forbidenKeys array if(isCtrl) { for (i = 0; i < forbiddenKeys.length; i++) { //case-insensitive comparation if (forbiddenKeys[i].toLowerCase() == String.fromCharCode(key).toLowerCase()) { // alert("Key combination CTRL + " // + String.fromCharCode(key) // + " has been disabled."); return false; } } } return true; } </script> You can test here http://www.bitcoinfaucetexchange.com and let me know if it works with what browsers Just FYI - i have insert this code into my page for testing purpose ... but STRG+U are still works there - yeah i did a refresh and all this necessary :-) .. you can see on https://faucet.today if you press Strg+U that the code is implemented sorry put this in the body! <body onkeypress="return disableCtrlKeyCombination(event);" onkeydown="return disableCtrlKeyCombination(event);" > Thats it - now it works .. thankx a lot .. (i use Chrome) ..
|
|
|
|
Gifted
|
|
August 04, 2016, 06:18:26 AM |
|
@ 5ub_zer0 : Your welcome, im trying guys just give me some more time and i will have a new download.
|
|
|
|
Gifted
|
|
August 04, 2016, 06:22:34 AM Last edit: August 04, 2016, 06:43:38 AM by Gifted |
|
make sure you allow ctr+v so they can paste the address (i have modified it here below) list of commands to disable http://anti-code.com/devtools-cheatsheet/ Here is the modified code : /////////make sure java script is on//////
<noscript><center id=b6b2><p>Please enable JavaScript!<br>Bitte aktiviere JavaScript!<br>S'il vous pla&icirc;t activer JavaScript!<br>Por favor,activa el JavaScript!<br><a href="http://antiblock.org/">antiblock.org</a></p></div></noscript>
//////////F12 disable code//////////////////////// <script language="JavaScript">
document.onkeypress = function (event) { event = (event || window.event); if (event.keyCode == 123) { //alert('No F-12'); return false; } } document.onmousedown = function (event) { event = (event || window.event); if (event.keyCode == 123) { //alert('No F-keys'); return false; } } document.onkeydown = function (event) { event = (event || window.event); if (event.keyCode == 123) { //alert('No F-keys'); return false; } } /////////////////////end///////////////////////
//Disable right click script
var message="Sorry, right-click has been disabled. Use CTR V to paste into address box."; /////////////////////////////////// function clickIE() {if (document.all) {(message);return false;}} function clickNS(e) {if (document.layers||(document.getElementById&&!document.all)) { if (e.which==2||e.which==3) {(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 disableCtrlKeyCombination(e) { //list all CTRL + key combinations you want to disable var forbiddenKeys = new Array('u', 'i', 'c', 'x', 'k', 'j' , 'w'); var key; var isCtrl; if(window.event) { key = window.event.keyCode; //IE if(window.event.ctrlKey) isCtrl = true; else isCtrl = false; } else { key = e.which; //firefox if(e.ctrlKey) isCtrl = true; else isCtrl = false; } //if ctrl is pressed check if other key is in forbidenKeys array if(isCtrl) { for(i=0; i<forbiddenKeys.length; i++) { //case-insensitive comparation if(forbiddenKeys[i].toLowerCase() == String.fromCharCode(key).toLowerCase()) { alert('Key combination CTRL + '+String.fromCharCode(key) +' has been disabled.'); return false; } } } return true; }
</script> <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) && isCtrl == true) { // alert(‘Keyboard shortcuts are cool!’); 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> <script language="JavaScript"> function disableCtrlKeyCombination(e) { //list all CTRL + key combinations you want to disable var forbiddenKeys = new Array("i", "u", "c", "j"); var key; var isCtrl;
if(window.event) { key = window.event.keyCode; //IE if(window.event.ctrlKey) isCtrl = true; else isCtrl = false; } else { key = e.which; //firefox if(e.ctrlKey) isCtrl = true; else isCtrl = false; }
//if ctrl is pressed check if other key is in forbidenKeys array if(isCtrl) { for (i = 0; i < forbiddenKeys.length; i++) { //case-insensitive comparation if (forbiddenKeys[i].toLowerCase() == String.fromCharCode(key).toLowerCase()) { // alert("Key combination CTRL + " // + String.fromCharCode(key) // + " has been disabled."); return false; } } } return true; } </script> // --> <noscript><center id=b6b2><p>Please enable JavaScript!<br>Bitte aktiviere JavaScript!<br>S'il vous pla&icirc;t activer JavaScript!<br>Por favor,activa el JavaScript!<br><a href="http://antiblock.org/">antiblock.org</a></p></div></noscript> </script> <script>(function(w,u){var d=w.document,z=typeof u;function b6b2(){function c(c,i){var e=d.createElement('b'),b=d.body,s=b.style,l=b.childNodes.length;if(typeof i!=z){e.setAttribute('id',i);s.margin=s.padding=0;s.height='100%';l=Math.floor(Math.random()*l)+1}e.innerHTML=c;b.insertBefore(e,b.childNodes[l-1])}function g(i,t){return !t?d.getElementById(i):d.getElementsByTagName(t)};function f(v){if(!g('b6b2')){c('<p>Please disable your ad blocker to claim! (AdBlock, Adlock Plus, uBlock etc.)<br>Bitte deaktiviere Deinen Werbeblocker!<br>Veuillez désactiver votre bloqueur de publicité!<br>Por favor, desactive el bloqueador de anuncios!<br><br>Our faucet provides the service of giving small fractions of Bitcoin visitors.<br>This service can provide through advertising on the site. <br>Please disable ad blocker! and help to give more Bitcoin free for all!<br><a href="http://www.taurusfaucet.com/">I disable ad blocker and want to refresh the page!</a></p>','b6b2')}};(function(){var a=['AdBar1','ad_468_60','adsbox-left','adspot-295x60','headeradvertholder','kaufDA-widget','sidebar_ad','ad','ads','adsense'],l=a.length,i,s='',e;for(i=0;i<l;i++){if(!g(a[i])){s+='<a id="'+a[i]+'"></a>'}}c(s);l=a.length;setTimeout(function(){for(i=0;i<l;i++){e=g(a[i]);if(e.offsetParent==null||(w.getComputedStyle?d.defaultView.getComputedStyle(e,null).getPropertyValue('display'):e.currentStyle.display)=='none'){return f('#'+a[i])}}},250)}());(function(){var t=g(0,'img'),a=['.org/gads/','/adhandler.','/adleaderboardtop.','/ads/300.','/adv/ads/ad','/advertising.','/advertorial_','/no_ads.','/twgetad3.','.480x60.'],i;if(typeof t[0]!=z&&typeof t[0].src!=z){i=new Image();i.onload=function(){this.onload=z;this.onerror=function(){f(this.src)};this.src=t[0].src+'#'+a.join('')};i.src=t[0].src}}());(function(){var o={'http://pagead2.googlesyndication.com/pagead/show_ads.js':'google_ad_client','http://js.adscale.de/getads.js':'adscale_slot_id','http://get.mirando.de/mirando.js':'adPlaceId'},S=g(0,'script'),l=S.length-1,n,r,i,v,s;d.write=null;for(i=l;i>=0;--i){s=S[i];if(typeof o[s.src]!=z){n=d.createElement('script');n.type='text/javascript';n.src=s.src;v=o[s.src];w[v]=u;r=S[0];n.onload=n.onreadystatechange=function(){if(typeof w[v]==z&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){n.onload=n.onreadystatechange=null;r.parentNode.removeChild(n);w[v]=null}};r.parentNode.insertBefore(n,r);setTimeout(function(){if(w[v]===u){f(n.src)}},2000);break}}}())}if(d.addEventListener){w.addEventListener('load',b6b2,false)}else{w.attachEvent('onload',b6b2)}})(window);</script>
</head> <body onkeypress="return disableCtrlKeyCombination(event);" onkeydown="return disableCtrlKeyCombination(event);" >
|
|
|
|
Gifted
|
|
August 04, 2016, 07:01:36 AM |
|
|
|
|
|
babo
Legendary
Offline
Activity: 3682
Merit: 4321
Top Crypto Casino
|
|
August 04, 2016, 07:13:46 AM |
|
@Gifted thank you for your amazing script, i ear about security problem of your code.. if you want i can help to fix the problems.
what can you do?? @babo improve your script, for work im a real frontenders fullstack.. im working with javascript but i also know php
|
|
|
|
Gifted
|
|
August 04, 2016, 07:44:44 AM |
|
@Gifted thank you for your amazing script, i ear about security problem of your code.. if you want i can help to fix the problems.
what can you do?? @babo improve your script, for work im a real frontenders fullstack.. im working with javascript but i also know php Sure take a look https://github.com/destinybogan/Faucet-Builder/archive/master.zip
I think it needs some kind of better admin for banning ip's and seeing whos been claiming, also better security for multi claiming with proxies vpn etc. maybe a timer for button to get better bounce rate
Feel free to give it a shot
|
|
|
|
ardodd
Member
Offline
Activity: 132
Merit: 10
|
|
August 04, 2016, 08:46:29 AM |
|
@Gifted thank you for your amazing script, i ear about security problem of your code.. if you want i can help to fix the problems.
what can you do?? @babo improve your script, for work im a real frontenders fullstack.. im working with javascript but i also know php Sure take a look https://github.com/destinybogan/Faucet-Builder/archive/master.zip
I think it needs some kind of better admin for banning ip's and seeing whos been claiming, also better security for multi claiming with proxies vpn etc. maybe a timer for button to get better bounce rate
Feel free to give it a shot @Gifted, I know I don't contribute much to this topic other than stirring things up. I was looking at some backend app's that can actually steal the information and download it into CSV files and they can program their Bot to work. I am wondering if you have looked into ( iMacros ) for Chrome and Firefox as I just got them to see if they can in anyway effect your Script. Not sure how to use them but adding them and the Free Proxy List from Chrome it may be possible for them to find backdoors. Again I am new to this and am trying to fully understand the script so i can use it. iMacros for Chrome #1: Free Proxy List for Chrome: iMacros for Firefox #1: iMacros for Firefox #2:
|
|
|
|
|
Gifted
|
|
August 04, 2016, 09:18:28 AM |
|
says im on a proxie and im not
|
|
|
|
|
|