Skip to content

Instantly share code, notes, and snippets.

@bsalim
Created July 11, 2013 02:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bsalim/5972148 to your computer and use it in GitHub Desktop.
Save bsalim/5972148 to your computer and use it in GitHub Desktop.
<script type="text/javascript" charset="utf-8">
(function(){
var _w = 72 , _h = 16;
var param = {
url:location.href,
type:'3',
count:'1',
appkey:'',
title:'',
pic:'',
ralateUid:'',
language:'en_us',
rnd:new Date().valueOf()
}
var temp = [];
for( var p in param ){
temp.push(p + '=' + encodeURIComponent( param[p] || '' ) )
}
document.write('<iframe allowTransparency="true" frameborder="0" scrolling="no" src="http://hits.sinajs.cn/A1/weiboshare.html?' + temp.join('&') + '" width="'+ _w+'" height="'+_h+'"></iframe>')
})()
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment