function HTMLEncodeSpecialChars(strText)
{
var sb = [];
for(var i = 0; i < strText.length; i++){
var c = strText.substring(i,i+1);
if(c.charCodeAt()>127) // special chars
sb.push('' + c.charCodeAt() + ';');
else
sb.push(c);
}
return sb.join('');
}
Twitter Bookmarklet and Tweet This Page Link - Moopz Here's the code javascript:void((function(){var%20e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('src','http://moopz.com/tweetbm.js');document.body.appendChild(e)})())
Comments
Post a Comment