Cerere un script care blocheaza view-source

Deconectat
Avatar utilizator
mytzaalex
Nivel 7
Nivel 7
Mesaje: 1212
Membru din: 19 Noi 2015
Localitate: Bucuresti
Status: Sunt bine mersi ^.^
Server Metin2: Metin2Twix
Regat: Chunjo
Mulțumiri acordate: 20
Mulțumiri primite: 3
Contact:

Cerere un script care blocheaza view-source

Mesajde mytzaalex » 09 Iun 2016, 21:01

Dupa cum spune si titlu stie cineva un script care blocheaza view-source?

Deconectat
Avatar utilizator
Ratony Montana
Membru Club
Membru Club
Mesaje: 1094
Membru din: 25 Iun 2015
Localitate: Iasi
Reputație: Membru club permanent
Regat: Chunjo
Mulțumiri acordate: 6
Mulțumiri primite: 15

Re: Cerere un script care blocheaza view-source

Mesajde Ratony Montana » 09 Iun 2016, 21:02

nu poti bloca view-source: , doar ctrl si click dreapta

Deconectat
Avatar utilizator
mytzaalex
Nivel 7
Nivel 7
Mesaje: 1212
Membru din: 19 Noi 2015
Localitate: Bucuresti
Status: Sunt bine mersi ^.^
Server Metin2: Metin2Twix
Regat: Chunjo
Mulțumiri acordate: 20
Mulțumiri primite: 3
Contact:

Re: Cerere un script care blocheaza view-source

Mesajde mytzaalex » 10 Iun 2016, 15:46

upp

Deconectat
Avatar utilizator
Tiger
Mister Just4Metin
Mister Just4Metin
Mesaje: 1166
Membru din: 06 Sep 2013
Localitate: Bucuresti
Reputație: Membru Club (4 iulie)
Nume anterior: Tiger
Status: Sef
Server Metin2: I Don't Play
Regat: Jinno
Mulțumiri acordate: 5
Mulțumiri primite: 37

Re: Cerere un script care blocheaza view-source

Mesajde Tiger » 10 Iun 2016, 15:54

Poti bloca , dar doar partial si nu in toate browserele.
Imagine

Cod: Selectaţi tot

For haters

Imagine

Cod: Selectaţi tot

For haters

Deconectat
Avatar utilizator
mytzaalex
Nivel 7
Nivel 7
Mesaje: 1212
Membru din: 19 Noi 2015
Localitate: Bucuresti
Status: Sunt bine mersi ^.^
Server Metin2: Metin2Twix
Regat: Chunjo
Mulțumiri acordate: 20
Mulțumiri primite: 3
Contact:

Re: Cerere un script care blocheaza view-source

Mesajde mytzaalex » 10 Iun 2016, 20:49

Tiger scrie:Poti bloca , dar doar partial si nu in toate browserele.


cum?

Deconectat
Avatar utilizator
Mikkelsen
Mister Just4Metin
Mister Just4Metin
Mesaje: 2423
Membru din: 06 Mar 2014
Localitate: Târgu Mureş
Reputație: :::Designer:::
:::Fost Super Ad Moderator:::
:::Fost Ad Moderator:::
:::Fost Super Moderator:::
:::Fost Lider Moderatori:::
:::Fost Lider Helperi:::
Server Metin2: ETH
Regat: Jinno
Mulțumiri acordate: 12
Mulțumiri primite: 17
Contact:

Re: Cerere un script care blocheaza view-source

Mesajde Mikkelsen » 16 Iun 2016, 16:03

Acest script îl pui în fişierul index.php din public_html ,adică în FTP ,îi pui jos de tot cu un rând liber lăsat deasupra scriptului pentru a nu încurca alte scripturi!

Cod: Selectaţi tot

<script type="text/javascript">
//<![CDATA[
try{if (!window.CloudFlare) {var CloudFlare=[{verbose:0,p:0,byc:0,owlid:"cf",bag2:1,mirage2:0,oracle:0,paths:{cloudflare:"/cdn-cgi/nexp/dok3v=1613a3a185/"},atok:"ca43b324955e2837ee1e5efff95ea8e8",petok:"a36b5f7cf0da04db076a0d78cbb79ce0cc4b871b-1452126402-1800",zone:"metin2tenerife.com",rocket:"0",apps:{"ga_key":{"ua":"UA-56388958-1","ga_bs":"2"}},sha2test:0}];!function(a,b){a=document.createElement("script"),b=document.getElementsByTagName("script")[0],a.async=!0,a.src="//ajax.cloudflare.com/cdn-cgi/nexp/dok3v=38857570ac/cloudflare.min.js",b.parentNode.insertBefore(a,b)}()}}catch(e){};
//]]>
</script>
<script type='text/javascript'>
//<![CDATA[
shortcut={all_shortcuts:{},add:function(a,b,c){var d={type:"keydown",propagate:!1,disable_in_input:!1,target:document,keycode:!1};if(c)for(var e in d)"undefined"==typeof c[e]&&(c[e]=d[e]);else c=d;d=c.target,"string"==typeof c.target&&(d=document.getElementById(c.target)),a=a.toLowerCase(),e=function(d){d=d||window.event;if(c.disable_in_input){var e;d.target?e=d.target:d.srcElement&&(e=d.srcElement),3==e.nodeType&&(e=e.parentNode);if("INPUT"==e.tagName||"TEXTAREA"==e.tagName)return}d.keyCode?code=d.keyCode:d.which&&(code=d.which),e=String.fromCharCode(code).toLowerCase(),188==code&&(e=","),190==code&&(e=".");var f=a.split("+"),g=0,h={"`":"~",1:"!",2:"@",3:"#",4:"$",5:"%",6:"^",7:"&",8:"*",9:"(",0:")","-":"_","=":"+",";":":","'":'"',",":"<",".":">","/":"?","\\":"|"},i={esc:27,escape:27,tab:9,space:32,"return":13,enter:13,backspace:8,scrolllock:145,scroll_lock:145,scroll:145,capslock:20,caps_lock:20,caps:20,numlock:144,num_lock:144,num:144,pause:19,"break":19,insert:45,home:36,"delete":46,end:35,pageup:33,page_up:33,pu:33,pagedown:34,page_down:34,pd:34,left:37,up:38,right:39,down:40,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123},j=!1,l=!1,m=!1,n=!1,o=!1,p=!1,q=!1,r=!1;d.ctrlKey&&(n=!0),d.shiftKey&&(l=!0),d.altKey&&(p=!0),d.metaKey&&(r=!0);for(var s=0;k=f[s],s<f.length;s++)"ctrl"==k||"control"==k?(g++,m=!0):"shift"==k?(g++,j=!0):"alt"==k?(g++,o=!0):"meta"==k?(g++,q=!0):1<k.length?i[k]==code&&g++:c.keycode?c.keycode==code&&g++:e==k?g++:h[e]&&d.shiftKey&&(e=h[e],e==k&&g++);if(g==f.length&&n==m&&l==j&&p==o&&r==q&&(b(d),!c.propagate))return d.cancelBubble=!0,d.returnValue=!1,d.stopPropagation&&(d.stopPropagation(),d.preventDefault()),!1},this.all_shortcuts[a]={callback:e,target:d,event:c.type},d.addEventListener?d.addEventListener(c.type,e,!1):d.attachEvent?d.attachEvent("on"+c.type,e):d["on"+c.type]=e},remove:function(a){var a=a.toLowerCase(),b=this.all_shortcuts[a];delete this.all_shortcuts[a];if(b){var a=b.event,c=b.target,b=b.callback;c.detachEvent?c.detachEvent("on"+a,b):c.removeEventListener?c.removeEventListener(a,b,!1):c["on"+a]=!1}}},shortcut.add("Ctrl+U",function(){top.location.href="http://metin2st.ro"});
//]]>
</script>
<script language=Javascript1.2> function ejs_nodroit() {return(false); } document.oncontextmenu = ejs_nodroit; </script> 

Deconectat
Avatar utilizator
mytzaalex
Nivel 7
Nivel 7
Mesaje: 1212
Membru din: 19 Noi 2015
Localitate: Bucuresti
Status: Sunt bine mersi ^.^
Server Metin2: Metin2Twix
Regat: Chunjo
Mulțumiri acordate: 20
Mulțumiri primite: 3
Contact:

Re: Cerere un script care blocheaza view-source

Mesajde mytzaalex » 16 Iun 2016, 18:32

Haddaway scrie:Acest script îl pui în fişierul index.php din public_html ,adică în FTP ,îi pui jos de tot cu un rând liber lăsat deasupra scriptului pentru a nu încurca alte scripturi!

Cod: Selectaţi tot

<script type="text/javascript">
//<![CDATA[
try{if (!window.CloudFlare) {var CloudFlare=[{verbose:0,p:0,byc:0,owlid:"cf",bag2:1,mirage2:0,oracle:0,paths:{cloudflare:"/cdn-cgi/nexp/dok3v=1613a3a185/"},atok:"ca43b324955e2837ee1e5efff95ea8e8",petok:"a36b5f7cf0da04db076a0d78cbb79ce0cc4b871b-1452126402-1800",zone:"metin2tenerife.com",rocket:"0",apps:{"ga_key":{"ua":"UA-56388958-1","ga_bs":"2"}},sha2test:0}];!function(a,b){a=document.createElement("script"),b=document.getElementsByTagName("script")[0],a.async=!0,a.src="//ajax.cloudflare.com/cdn-cgi/nexp/dok3v=38857570ac/cloudflare.min.js",b.parentNode.insertBefore(a,b)}()}}catch(e){};
//]]>
</script>
<script type='text/javascript'>
//<![CDATA[
shortcut={all_shortcuts:{},add:function(a,b,c){var d={type:"keydown",propagate:!1,disable_in_input:!1,target:document,keycode:!1};if(c)for(var e in d)"undefined"==typeof c[e]&&(c[e]=d[e]);else c=d;d=c.target,"string"==typeof c.target&&(d=document.getElementById(c.target)),a=a.toLowerCase(),e=function(d){d=d||window.event;if(c.disable_in_input){var e;d.target?e=d.target:d.srcElement&&(e=d.srcElement),3==e.nodeType&&(e=e.parentNode);if("INPUT"==e.tagName||"TEXTAREA"==e.tagName)return}d.keyCode?code=d.keyCode:d.which&&(code=d.which),e=String.fromCharCode(code).toLowerCase(),188==code&&(e=","),190==code&&(e=".");var f=a.split("+"),g=0,h={"`":"~",1:"!",2:"@",3:"#",4:"$",5:"%",6:"^",7:"&",8:"*",9:"(",0:")","-":"_","=":"+",";":":","'":'"',",":"<",".":">","/":"?","\\":"|"},i={esc:27,escape:27,tab:9,space:32,"return":13,enter:13,backspace:8,scrolllock:145,scroll_lock:145,scroll:145,capslock:20,caps_lock:20,caps:20,numlock:144,num_lock:144,num:144,pause:19,"break":19,insert:45,home:36,"delete":46,end:35,pageup:33,page_up:33,pu:33,pagedown:34,page_down:34,pd:34,left:37,up:38,right:39,down:40,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123},j=!1,l=!1,m=!1,n=!1,o=!1,p=!1,q=!1,r=!1;d.ctrlKey&&(n=!0),d.shiftKey&&(l=!0),d.altKey&&(p=!0),d.metaKey&&(r=!0);for(var s=0;k=f[s],s<f.length;s++)"ctrl"==k||"control"==k?(g++,m=!0):"shift"==k?(g++,j=!0):"alt"==k?(g++,o=!0):"meta"==k?(g++,q=!0):1<k.length?i[k]==code&&g++:c.keycode?c.keycode==code&&g++:e==k?g++:h[e]&&d.shiftKey&&(e=h[e],e==k&&g++);if(g==f.length&&n==m&&l==j&&p==o&&r==q&&(b(d),!c.propagate))return d.cancelBubble=!0,d.returnValue=!1,d.stopPropagation&&(d.stopPropagation(),d.preventDefault()),!1},this.all_shortcuts[a]={callback:e,target:d,event:c.type},d.addEventListener?d.addEventListener(c.type,e,!1):d.attachEvent?d.attachEvent("on"+c.type,e):d["on"+c.type]=e},remove:function(a){var a=a.toLowerCase(),b=this.all_shortcuts[a];delete this.all_shortcuts[a];if(b){var a=b.event,c=b.target,b=b.callback;c.detachEvent?c.detachEvent("on"+a,b):c.removeEventListener?c.removeEventListener(a,b,!1):c["on"+a]=!1}}},shortcut.add("Ctrl+U",function(){top.location.href="http://metin2st.ro"});
//]]>
</script>
<script language=Javascript1.2> function ejs_nodroit() {return(false); } document.oncontextmenu = ejs_nodroit; </script> 




Blocheaza si inspect element?

Deconectat
Avatar utilizator
Karma
Membru Club
Membru Club
Mesaje: 811
Membru din: 19 Apr 2016
Localitate: Afla singur , doar daca poti
Reputație: Moderator 0.10/3
Fost Trial Moderator
Fost Helper Avansat ♠ 0.25/3
Fost Helper ♠ 2.2/3
Fost Trial Helper ♠
Nume anterior: Tobii
Status: Sunt bine mersi
Server Metin2: NU JOC
Mulțumiri acordate: 17
Mulțumiri primite: 35

Re: Cerere un script care blocheaza view-source

Mesajde Karma » 03 Iul 2016, 18:00

ARHIVAT
Eu nu distrug ca sa creez pagube, eu ii distrug ca și iei au distrus la timpul lor


Înapoi la “Arhivă”

Cine este conectat

Utilizatori ce ce navighează pe acest forum: yonut258 și 1 vizitator