lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev Wishlist: Javascript protocol and EXTERNAL


From: Thomas Dickey
Subject: Re: lynx-dev Wishlist: Javascript protocol and EXTERNAL
Date: Tue, 1 Jul 2003 14:12:08 -0400
User-agent: Mutt/1.3.28i

On Tue, Jul 01, 2003 at 06:14:26PM +0200, Morten Bo Johansen wrote:
> No, no, I am not requesting javascript in Lynx, get your blood
> pressure down, please ;-) but I would like to be able to call an
> external program on a javascript link. Consider the following
> link
> 
>  javascript: var PAWin=window.open('/TGD/tgdBreakingNewsDisplay/0,,4,00.html')
> 
> which is just a pop up window which in turn appends the contents
> of the paranthesises to the basic URL of the host, in this case
> http://www.timesonline.co.uk. So it would be easy to write a
> small wrapper script that did just that and passed the modified
> URL on to lynx via the EXTERAL feature -- but I can't do it now,
> because typing '.' on the link does as little as typing enter on
> it, i.e. nothing.
> 
> I suspect providing this opportunity wouldn't take a lot of
> time? (if it requires source code changes at all, that is)
> 
> I have just started using a wrapper script for getting "printer
> friendly" versions that I call via EXTERNAL. I would like to be
> able to use it for these types of pop up windows also. To give
> you an idea what I am talking about you can see it here,

It sounds like you want to run an external program with the contents of the
current page (rather than its URL).  That's doable (not something I'd plan
for 2.8.5, since I'd like to close out changes on it except for bug-fixes).

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]