Giveaway: Adsense AD code converter Plugin for Blogger

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 :)

Copyright

This Blogger Plugin is fully yours! I did not reserved any copyrights of this script. If you like this don't forget to thanks us, it really Helps. Smile :)

This Tool is for only converting AD codes. For Bigger Scripts use Online Code Encoder. To view this script or any other scripts DEMO or real time work use Online Code Editor.

14 comments :

  1. An useful tool. But many blogs had already revealed this tool.

    ReplyDelete
  2. This is my first time visit here. From the tons of comments on your articles,I guess I am not only one having all the enjoyment right here! I will create 200 dofollow blog comments SEO service backlinks

    ReplyDelete
  3. A promo code is an attractive tactic for e-commerce, with many customers lured into buying by the temptation of a big discount. As the world's leading paid advertising platform, it's no wonder that there is talk of a Google Ads promo code.
    https://ppcexpo.com/blog/google-ads-promo-code

    ReplyDelete
  4. Looking for a powerful cleaning solution? Check out this product: Learn more.

    ReplyDelete