人人转发浏览器插件

javascript:(function() { var scripts = document.getElementsByTagName(‘script’); var i = 0; for (i; i < scripts.length; i++) { if ('http://widget.renren.com/js/forward.js' == scripts[i].src) { return false; } } var head = document.getElementsByTagName('head')[0]; var config = document.createElement('script'); config.type = 'text/javascript'; config.textContent = 'window.__fwdCfg = {"api_key" : "1822613f8b894453b268eaf733315da0","img_minWidth": 260,"img_minHeight": 260,"text_minCount":15};'; var renren = document.createElement('script'); renren.type = 'text/javascript'; renren.src = "http://widget.renren.com/js/forward.js"; renren.async = "true"; head.appendChild(config); head.appendChild(renren); })()

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>