Sudev Barar proclaimed:
> > javascript:q=document.getSelection();if(!q){void(q=prompt('Enter word to
> search.',''))};if(q)location.href='http://www.dict.org/bin/Dict?Form=Dict1&S
> trategy=*&Database=*&Query='+escape(q)
> >
> > javascript:q=document.getSelection();if(!q){void(q=prompt('Enter word to
> search.',''))};if(q)location.href='http://www.m-w.org/cgi-bin/dictionary?boo
> k=Dictionary&va='+escape(q)
> Thats can a similar hack be made for dictionary residing on local path?


The browser cannot execute a binary on your machine.  At least not without
some heavy hackage.  Security reasons.  Would you want some h4x0r website
to have JavaScript that would start running files under /usr/sbin or
/usr/bin?

The above scheme will only work for CGI scripts.  If you can build a CGI
wrapper around yor local dictionary and have it hosted on a web server on
your local machine, then you can do what Suresh suggested.

Thaths
-- 
Lisa:  It's full, Dad, that means you have to take out the trash.
Bart:  Yup, that's the rule.  "He who tops it off, drops it off."
Homer: Nuh-uh.  "It isn't filled until it's spilled."
Sudhakar C13n    http://www.aunet.org/thaths/    Lead Indentured Slave

----------------------------------------------
LIH is all for free speech.  But it was created
for a purpose.  Violations of the rules of
this list will result in stern action.

Reply via email to