I would appreciate receiving some help:
I have a bookmarklet which copies a marked set of characters into a
searchpage in our dictionary. If nothing is copied, a window opens
where you can type a word.
BTW, it is for firefox 2.0.
javascript:s=window.getSelection();if(s=='')for(i= 0;i<frames.length;i++){s=frames[i].document.getSelection();if(s)break;}if(!s)void(s= prompt('some
text.',''));if(s){test=open('URL/search.pl?searchphrase='+escape(s));test.focus();}
This works well.
We have another search /command which needs to be finished with
&search= after the searchphrase
searchphrase="here comes the markedtyped set of characters"&search=
Can anyone of you help me changing the bookmarklet or point me to a
site where I can read more about this ?
If you have an idea how to make the script shown above better, I also
would appreciate very much.
Thank you
Michael