Last active
March 28, 2017 18:14
-
-
Save sunmughan/3e728ffce0f24593b7df0352784bb009 to your computer and use it in GitHub Desktop.
Rating widget for Blogger
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript">(function(d, t, e, m){ | |
// Async Rating-Widget initialization. | |
window.RW_Async_Init = function(){ | |
RW.init({ | |
huid: "339581", | |
uid: "16317da7370057d86c57d8b1a3d8210e", | |
options: { "style": "oxygen" } | |
}); | |
RW.render(); | |
}; | |
// Append Rating-Widget JavaScript library. | |
var rw, s = d.getElementsByTagName(e)[0], id = "rw-js", | |
l = d.location, ck = "Y" + t.getFullYear() + | |
"M" + t.getMonth() + "D" + t.getDate(), p = l.protocol, | |
f = ((l.search.indexOf("DBG=") > -1) ? "" : ".min"), | |
a = ("https:" == p ? "secure." + m + "js/" : "js." + m); | |
if (d.getElementById(id)) return; | |
rw = d.createElement(e); | |
rw.id = id; rw.async = true; rw.type = "text/javascript"; | |
rw.src = p + "//" + a + "external" + f + ".js?ck=" + ck; | |
s.parentNode.insertBefore(rw, s); | |
}(document, new Date(), "script", "rating-widget.com/"));</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment