[Linux-disciples] Nonstandards links

Ken Shan ken at digitas.harvard.edu
Mon Feb 9 16:54:29 EST 2004


On 2004-02-09T14:42:41-0500, Stephen R Laniel wrote:
> Here's another wget question: what if the site does something
> perverse, nonstandard and dumb like using
> 
> onClick="window.location='URL'"
> 
> instead of a simple <a href="URL">? Is there any way to give
> hints to wget that window.location is often (always?) the same as
> an href? A quick scan through the wget man page shows no mention
> of the word 'java' or 'javascript'.

I would set up privoxy to perform the necessary substitutions and tell
wget to use privoxy as its proxy server.

-- 
Edit this signature at http://www.digitas.harvard.edu/cgi-bin/ken/sig
'Everyone charged with a penal offence has the right to be presumed
 innocent until proved guilty according to law in a public trial at
 which he has had all the guarantees necessary for his defence.'
             -- Universal Declaration of Human Rights, Article 11.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://bostoncoop.net/pipermail/linux-disciples/attachments/20040209/af3d311c/attachment.pgp


More information about the Linux-disciples mailing list