Skip to content

Instantly share code, notes, and snippets.

@MrPowerGamerBR
Last active August 29, 2015 14:26
Show Gist options
  • Save MrPowerGamerBR/dc3bf581e47267054d5f to your computer and use it in GitHub Desktop.
Save MrPowerGamerBR/dc3bf581e47267054d5f to your computer and use it in GitHub Desktop.
Emoticons para Blogs do Blogger.
<style>
img.emoticon {
position: relative;
top: 5px;
border: 0px solid rgb(238, 238, 238);
padding: 0px;
}
position: relative;
top: 5px;
</style>
<script>
// Emoticons v1.0.0
// Criado por MrPowerGamerBR
document.body.innerHTML = document.body.innerHTML.replace(/\X:\((?=\s|[\!\.\,\?]|$)/g, "<img class='emoticon' src='http://i.imgur.com/QhIZmh4.png'/>");
document.body.innerHTML = document.body.innerHTML.replace(/:\)(?=\s|[\!\.\,\?]|$)/g, "<img class='emoticon' src='http://i.imgur.com/S6HFc6t.png'/>");
document.body.innerHTML = document.body.innerHTML.replace(/:D(?=\s|[\!\.\,\?]|$)/g, "<img class='emoticon' src='http://i.imgur.com/Xdjx2LG.png'/>");
document.body.innerHTML = document.body.innerHTML.replace(/8D(?=\s|[\!\.\,\?]|$)/g, "<img class='emoticon' src='http://i.imgur.com/xxGvUH7.png'/>");
document.body.innerHTML = document.body.innerHTML.replace(/8\)(?=\s|[\!\.\,\?]|$)/g, "<img class='emoticon' src='http://i.imgur.com/7SPF86I.png'/>");
document.body.innerHTML = document.body.innerHTML.replace(/:O(?=\s|[\!\.\,\?]|$)/g, "<img class='emoticon' src='http://i.imgur.com/yDkvStZ.png'/>");
document.body.innerHTML = document.body.innerHTML.replace(/:P(?=\s|[\!\.\,\?]|$)/g, "<img class='emoticon' src='http://i.imgur.com/LotUumA.png'/>");
document.body.innerHTML = document.body.innerHTML.replace(/:\^\)(?=\s|[\!\.\,\?]|$)/g, "<img class='emoticon' src='http://i.imgur.com/T1n77rp.png'/>");
document.body.innerHTML = document.body.innerHTML.replace(/:\((?=\s|[\!\.\,\?]|$)/g, "<img class='emoticon' src='http://i.imgur.com/6r2QhuL.png'/>");
document.body.innerHTML = document.body.innerHTML.replace(/:\((?=\s|[\!\.\,\?]|$)/g, "<img class='emoticon' src='http://i.imgur.com/6r2QhuL.png'/>");
document.body.innerHTML = document.body.innerHTML.replace(/:\S(?=\s|[\!\.\,\?]|$)/g, "<img class='emoticon' src='http://i.imgur.com/RcIR9lm.png'/>");
document.body.innerHTML = document.body.innerHTML.replace(/:\/(?=\s|[\!\.\,\?]|$)/g, "<img class='emoticon' src='http://i.imgur.com/uuqZrhk.png'/>");
document.body.innerHTML = document.body.innerHTML.replace(/:\|(?=\s|[\!\.\,\?]|$)/g, "<img class='emoticon' src='http://i.imgur.com/0LbVhmt.png'/>");
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment