Ad Code

Adsense AD code converter Plugin for Blogger 2020

Advertisements

 

If you want to add Adsense Ad units or any other ad scripts inside the Blogger Template or anywhere in the Blog, You can't directly Paste it in the template code. You need to first convert the code and make it Blogger Template friendly!

Adsense AD code converter script
This tool automatically converts AD codes into the correct format so you can embed it directly into your xml Blogger template. It is perfect for converting AdSense, Chitika or any other AD codes you may have.

In this post I have this tool free for you and your Blogger/blogspot Blog, to make your Blog self-sufficient. This Plugin is ~2kb created using Javascript, HTML and Embeded CSS.

Install this Plugin in your Blog

First Create a Blank Page in your Blogger Blog Than Go to HTML mood and just Paste the codes below-

 

<script type="text/javascript">
function convert(){var ele1=document.getElementById("somewhere");var replaced;replaced=ele1.value;replaced=replaced.replace(/</ig,"&lt;");replaced=replaced.replace(/>/ig,"&gt;");replaced=replaced.replace(/"/ig,"&quot;");replaced=replaced.replace(/&#177;/ig,"&plusmn;");replaced=replaced.replace(/&#169;/ig,"&copy;");replaced=replaced.replace(/&#174;/ig,"&reg;");replaced=replaced.replace(/howdy/ig,"ya'll");ele1.value=replaced}
</script>
<center><span style="font: Bold 25px Tahoma; margin: 0px; padding: 0px; text-shadow: 0.04em 0.04em #fff,  0.08em 0.08em #1ba29a;">ADSENSE CODE CONVERTER</span><br/>
<table border="0" cellpadding="0" cellspacing="1" style="width: 450px;"><tbody>
<tr><td><br />
<textarea id="somewhere" style="border: 2px solid #111; border-radius: 10px; height: 200px; width: 450px; outline:0; font: 12px Georgia"></textarea><br /></center><center>
<input onclick="convert();" type="button" value="CONVERT CODE" style="height: 30px; width: 150px; font: Bold 15px Tahoma; background-color: #1ba29a; border-radius: 5px;"/>
<br /></center></td></tr></tbody></table></form></center>

Save the Page and Done! Now you can convert your AD codes by going to the page easily when you want :)


Download Link
Advertisements

Post a Comment

0 Comments