Ads Converter

Untuk Memasukkan kode iklan Adsense ke blog melalui Edit HTML, Anda tidak bisa langsung copy paste. Caranya salin Code iklan Adsense atau pun Kode Javascript yang lain, kemudian klik tombol KONVERSI. Setelah itu salin dan pastekan di blog Anda.

code{font-family:Consolas,Monaco,’Andale Mono’,’Courier New’,Courier,Monospace;color:#2a5ead;font-size:13px;padding:2px 4px;color:#d14;}
#codes{border:1px solid #ccc;width:68%;height:250px;margin:0 auto;display:block;background-color:#fafafa;color:#333;padding:15px;font:400 14px ‘Courier New’,Monospace;border-radius:4px}
.button-group{margin:0 auto 0;text-align:center}
input, select, textarea {
background-color: #fff;
border: 1px solid #f0f0f0;
color: #5a5a5a;
font-weight: 300;
padding: 10px 12px;
width: 5%;}
button,button[disabled]:active{border:none;padding:5px 12px;text-align:center;color:#fff;display:inline-block;white-space:nowrap;background-color:#0ea6d8;cursor:pointer;font-family:’Open Sans’,Arial,Sans-Serif; font-size:13px;position:relative;top:-1px;margin:0 10px;line-height:23px;border-radius:3px;transition:all 0.3s ease-in-out;}
button:active{background:#0095c6;}
button[disabled],button[disabled]:active{background:#0095c6;}
#opt1,#opt2,#opt3,#opt4,#opt5{display:inline-block;margin:0 10px 0 0;vertical-align:middle;border:none;outline:none}
#outer-wrapper {margin:0 auto;text-align:left;float:none;background-position:center!important;}
#post-wrapper {width:100%;max-width:100%;margin:0 auto;text-align:left;float:none;background-position:center!important;}
.post-body,.post{background-position:center!important;}
#blog1,#artikel,.blog-posts{background-position:center!important;}
#comments,#sidebar-wrapper,#menu-wrap {display:none;margin-top:0;margin:0;}
.post-inner {padding:0 0 0 0;margin:20px auto;}
.post-body ul#wrapin {display:block;position:relative;margin:30px auto 0 auto;}
.post-body ul#wrapin li {display:block;margin:0 auto;text-align:left;}
.post-body ul#wrapin br {display:none;}

KonversiBersihkan
  • Konversi & menjadi &
  • Konversi ‘ menjadi '
  • Konversi ” menjadi "
  • Konversi < menjadi &lt;
  • Konversi > menjadi &gt;

function cdClear() {
var wtarea = document.getElementById(‘codes’);
wtarea.value = ”;
wtarea.focus();
document.getElementById(‘cvrt’).disabled = false;
}
function cdConvert() {
var ctarea = document.getElementById(‘codes’),
cv = ctarea.value,
opt1 = document.getElementById(‘opt1’),
opt2 = document.getElementById(‘opt2’),
opt3 = document.getElementById(‘opt3’),
opt4 = document.getElementById(‘opt4’),
opt5 = document.getElementById(‘opt5’);
cv = cv.replace(/t/g, ” “);
if (opt1.checked) cv = cv.replace(/&/g, “&”);
if (opt2.checked) cv = cv.replace(/’/g, “'”);
if (opt3.checked) cv = cv.replace(/”/g, “"”);
if (opt4.checked) cv = cv.replace(//g, “>”);
ctarea.value = cv;
ctarea.focus();
ctarea.select();
};

Must read×

Top