Sitene HTML Kod Şifreleyici Ekle - Kod çalınmasına karşın kullanılan tekniklerden biriside kod şifreleme yöntemidir. Bu yöntem için şifreleme araçları var ve bu aracı sitesine eklemek isteyenler eminim ki araştırma yapıp bir sonuç alamamışlardır. Bu aracı sadece 1 adımda sitenize ekleyebileceksiniz.
Kodlar:
Aşağıdaki kodları kullanmak istediğiniz sayfanın html bölümüne yapıştırıp kaydedin.
Kodlar:
Aşağıdaki kodları kullanmak istediğiniz sayfanın html bölümüne yapıştırıp kaydedin.
Kod:
*********
textarea {
width: 99%;
padding: 7px 5px;
margin: 5px 0;
border: 1px solid #A6A6A6;
color: #555;
background:#FFF;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
textarea:hover {
background:#FAFAFA;
color: #555;
}
textarea:focus {
border: 1px solid #264A97;
color: #555;
}
#submit{
padding: 0;
margin: 0;
width: 148px;
height: 36px;
border: 1px solid #A6A6A6;
background-position: 0 0;
cursor: pointer;
color: #555;
text-shadow: #FFF 1px 1px 0;
font-size: 18px;
font-family: MS Shell Dlg, Arial;
text-decoration: none;
outline-style: none;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
#submit:hover {
background-position: 0 -38px;
}
#submit:active {
background-position: 0 -38px;
-moz-box-shadow:0 1px 0 rgba(255,255,255,0.3),0 1px 3px rgba(0,0,0,0.2) inset;
-webkit-box-shadow:0 1px 0 rgba(255,255,255,0.3),0 1px 3px rgba(0,0,0,0.2) inset;
box-shadow:0 1px 0 rgba(255,255,255,0.3),0 1px 3px rgba(0,0,0,0.2) inset;
opacity:1;
}
</style>
<p>
<label>Şifrelenecek HTML Kod:</label><br />
<textarea id="html" name="html" rows="20"></textarea><br />
<center><input id="submit" type="button" value="Şifrele" onclick="encrypt_it()"/></center>
</p>
<script type="text/javascript">
function doencrypt(code) {
enctext=encrypt(code);
codetocopy="<script type=\"text/javascript\">\n";
codetocopy+="<!-- Codex html şifreleyici http://codex.cyberadam.net -->\n";
codetocopy+="********.write(unescape('"+enctext+"'));\n";
codetocopy+="</script\>";
return codetocopy;
}
function encrypt(tx) {
var hex='';
var i;
for (i=0; i<tx.length; i++) {
hex += '%'+hexfromdec(tx.charCodeAt(i))
}
return hex;
}
function hexfromdec(num) {
if (num > 65535) { return ("hata") }
first = Math.round(num/4096 - .5);
temp1 = num - first * 4096;
second = Math.round(temp1/256 -.5);
temp2 = temp1 - second * 256;
third = Math.round(temp2/16 - .5);
fourth = temp2 - third * 16;
return (""+getletter(third)+getletter(fourth));
}
function getletter(num) {
if (num < 10) { return num; }
else
{
if (num == 10) { return "A" }
if (num == 11) { return "B" }
if (num == 12) { return "C" } if (num == 13) { return "D" } if (num == 14) { return "E" } if (num == 15) { return "F" } }
}
function encrypt_it(){
if ( !jQuery('#html').val() ) {alert('Lütfen html kodunu giriniz'); return false;}
jQuery('#html').val(doencrypt(jQuery('#html').val()));
}
</script>
