Bookmarklet Code
USD.to.INRjavascript:
getText = document.getSelection();
if ( getText == '' ) {
getText = prompt('enter.usd.amount', '$100');
}
getText = getText.toString();
getText = getText.trim();
getText = getText.match(/\d+/);
if ( getText ) {
getText = getText.toString();
makeURL = 'http://google.com/search?q=' + getText + ' usd in inr';
window.open( makeURL );
} else {
alert('That is not a number!');
}
/* By blog.ajDeskta.com */
void(0);