Steve Parkinson wrote:
>...
> I want to be able to select some text in a web page, right click it,
> and be able to do a search on that selection.
Here, have some bookmarklets for your Personal Toolbar.
------
javascript:id=document.getSelection();if(!id){void(id=prompt('Enter
Mozilla bug number or summary term, or * to go straight to
Bugzilla:','*'))}if(id){if(id=='*'){document.location='http://bugzilla.mozilla.org/'
}else
if(isNaN(id)){document.location='http://bugzilla.mozilla.org/buglist.cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&short_desc_type=substring&short_desc='+escape(id)}else{document.location='http://bugzilla.mozilla.org/show_bug.cgi?id='+escape(id)}}
------
------
javascript:Qr=document.getSelection();if(!Qr){void(Qr=prompt('Do a
Google search
for:',''))}if(Qr)location.href='http://www.google.com/search?q='+escape(Qr)+' '
------
------
javascript:id=document.getSelection();if(!id){void(id=prompt('Enter
word, or * to go to
Wordsmyth:','*'))}if(id){if(id=='*'){document.location='http://www.wordsmyth.net/'}else
document.location='http://www.wordsmyth.net/cgi-bin/simplesearch.cgi?submit=Define+it%21&matchent='+escape(id)+'&matchtype=exact&matchid=-1&retall=1'}
------
> I would want the right-click menu to be able to have different types
> of searches - for example, 'dictionary', 'thesaurus', 'google'.
>...
See `[FEATURE] Enhanced context menu for selected text'
<http://bugzilla.mozilla.org/show_bug.cgi?id=15176>.
--
Matthew `mpt' Thomas, Mozilla user interface QA
Mozilla UI decisions made within 48 hours, or the next one is free