It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

Need bookmarklet changing to open search in new tab.

Need bookmarklet changing to open search in new tab.

Postby mickscript on Fri Mar 27, 2009 9:15 am

Hi, Can someone change this bookmarklett, so that when text is selected the webpage opens in a new tab and not the current tab that it does so at the moment. Thank you. PS I'm using Firefox.

javascript:Qr=document.getSelection();if(!Qr){void(Qr=prompt('Keywords...',''))};if(Qr)location.href='http://www.google.com/search?q='+escape(Qr)+'+basketball'
mickscript
 
Posts: 1
Joined: Fri Mar 27, 2009 9:09 am

Who is online

Users browsing this forum: No registered users and 4 guests