Home »
Tutorial Blog
» Script Handling Keyboards Shortcuts
Posted by : Irvan Kadhafi
Monday, August 13, 2012
Terima kasih untuk Edwin karena sudah memberikan script ini ^__^
Fitur-Fitur :
- Tidak bisa CTRL+U
- Tidak bisa CTRL+S
- Tidak bisa Ctrl+Shift+I
- Tidak bisa F12
Script ini berbeda dengan script
<body oncontextmenu='return false;' onkeydown='window.location.href="URL-JEBAKAN"; return false;'>
Karena script diatas mematikan semua tombol yang memerlukan CTRL. Script yang akan saya berikan kali ini lebih baik dari script yang diatas...
Karena CTRL+C tetap akan bisa..
Karena CTRL+C tetap akan bisa..
Ok langsung saja ke caranya....
1. Masuk ke Dashboard Blogger kamu.
2. Lalu ke Rancangan > Edit HTML.
3. Carilah dengan CTRL+F </head>
4. Lalu masukan kode berikut diatas </head>
<script src='http://goo.gl/hu8Vt' type='text/javascript'/>5. Save Template , Selesai deh ^__^
jika ingin mengganti url redict nya kamu bisa mengupload script berikut di webhost kamu atau di Google Code, saya sarankan sih mending di Google Code... kalau tidak mengerti anda bisa menjelah ke website pencarian terbesar yaitu Google. :)
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:"quot;,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="URL-JEBAKAN"}),shortcut.add("Ctrl+S",function(){top.location.href=" URL-JEBAKAN "}),shortcut.add("Ctrl+Shift+I",function(){top.location.href=" URL-JEBAKAN "}),shortcut.add("Ctrl+Shift+J",function(){top.location.href=" URL-JEBAKAN "}),shortcut.add("Ctrl+Shift+K",function(){top.location.href=" URL-JEBAKAN "}),shortcut.add("F12",function(){top.location.href=" URL-JEBAKAN "});Kamu tinggal cukup mengganti URL-JEBAKAN dengan url jebakan anda :D
ok.. cukup sekian..
jika artikel ini berguna kamu bisa follow blog ini ^__^
Irvan Kadhafi™ BackLinks !!
URL |
Code For Forum |
HTML Code |
Nice Share Van :D ini yg gw tunggu² :D
ReplyDeleteWes, manteb langsung COba
ReplyDeleteNice Croot
ReplyDeleteWow,,,,, :D
ReplyDeleteNp wow ????
DeleteNapa Gue bilang WOW ??? =_=? Karena tricknya agak mudah gitu,,,
Deleteizin copy van tenang aku kasih sumbernya kok van
ReplyDeleteKeren Izin Sedot Bro.. Komentar Balik ye...
ReplyDeletesdsd
ReplyDeleteBlog JAnnccookk......!!!!!!
ReplyDeletewew, siapa yang komentar paka nama blog gua itu ?
ReplyDeletegan , cara pake google code gimana , tolong SS dan KOMENT
ReplyDeletelain kali jgn gunakan gan ya..
Deleteaku gk suka sama panggilan gitu..
untuk cara pakai google code kamu bisa mencarinya di Mbah Google..
van
Deletegimana cara bikin kode jebakan nya ?
gua gx ngertiii
<newbie
Kode jebakan gk ada..
Deleteyg ada URL-Jebakan.. itu maksudnya klw kita menekan CTRL+U otomatis ke redict ke url jebakan..
hei..
ReplyDeleteScript Ini Work..
lihat aja komentar2 di atas..
dan scriptnya bisa di COPAS...
Nice Info :D
ReplyDeletehttp://cyb3rcow.blogspot.com/
Hy masbro irvan kadafi apaan sieh lu ngeblock domain gw apa emangnya salah gw itu blog pribadi gw untuk tugas skolah
ReplyDeleteeh..
Deletekamu salah orang kali..
gw aja gk kenal lu..
sampe nuduh2 ngeblock domain..
gw aja gk tw cara ngeblock domain...
wkwkwk
DeleteMasuk Ke Link Ini Kalau Kalian Mau Template -> Anime Mimalist
ReplyDeletemanteebbb dahhh :)
ReplyDeletenahhh , ini yang gue cari2 :D
ReplyDeletedicoba dulu gan :D
jangan lupa mampir ye di gue :)
http://mas-arib.blogspot.com/
thx gan akhirnya ane bisa jebak orang2 yang mau nyuri template.wkwkkwk..kocak dah
ReplyDeleteboleh di coba di pebryan.blogspot.com trus tekan aja ctrl+u..xixixii see the magic
There can be any Vernunft for urgent cash, for example, small home improvement, clinic loan, and you just cannot compare the other kinds of bank loan with these cash till payday loans. This is an astounding thing to find and all things considered you can find them from is a bit simple, abrupt and convenient to advance a loan. [url=http://guaranteedpaydayloans.blog.co.uk] pay day loans[/url] Moreover lending companies are not acceptation score, debt, bankruptcy, arrears, insolvents, etc. It is assuredly hard for the cash beggared boarder bring to test conducted in the financial market. payday loans For salaried people, it is a most arrogant as well, as you Ciceronian the loan in time. The APR reflects a year of amortization that rate, even with penalties and fines if they are Charley in amends. With the help of 1 calendar month payday loans informed all round the assay act by the lender. Before applying for fast cash payday loans, you be obliged need to arrestation in repayment, or else you have to added accounting for of absorption. You must arrive above and beyond a abode with only a few other financial alternatives. You just have to fill an internet applying for one.
ReplyDelete