On Sun, 27 Sep 2015 17:10:14 +0100, Dave Higton wrote:
There were two lines with links calling Javascript functions that
had been defined:
<a href="javascript:confirmLeave('jsindex.htm')">Link
text</a>
<a href="javascript:calcVAT()">Link text</a>
[...]
So can anyone give me any quick start on this:
1) Am I trying to jump to functionality that is much to far away
to be implemented now?
I think you're trying to do something which isn't implemented yet,
although I doubt it is so far away that it couldn't be implemented
(I'm really not the best person to advise on this though).
Similar code snippets in onClick, onChange etc aren't implemented yet
either AFAIK.
2) If it is within reach, where should I be looking for code that
should be parsing for link targets that begin with "javascript:"?
I believe the relevant code is javascript/fetcher.c. This is what
controls the "fetching" of "javascript:" URIs. What it is supposed
to
do is run the code pointed at, however it looks unimplemented. I'm
surprised you're getting anything out of it, although IIRC there is a
Javascript URL hack somewhere else which might still be active.
Chris