src attribute of script tag

John Rickman Iyonix rickman at argonet.co.uk
Fri Feb 15 14:56:10 GMT 2013


Chris Gransden  wrote

> In article <fee3641e53.iyojohn at rickman.argonet.co.uk>,
>    John Rickman Iyonix <rickman at argonet.co.uk> wrote:
>> I have developed some web pages using javascript. NetSurf successfully
>> handles the code and does what is required.

>> However, the same javascript statements put into an external file do
>> not work. It seems this is an html problem rather than JS as the
>> <script src="mycode.js> </script> statement appears to be ignored and
>> the code is not loaded.

>> Is this a bug or a case of function yet to be implemented?

>> At the moment lack of ablility to load external source means that
>> JavaScript libraries, eg jQuery cannot be accessed by NetSurf

> I had the same problem until I added an entry for 'applicaton/javascript'
> to the MimeMap file.

Thanks Chris,

That is brilliant!

John

-- 
John Rickman -  http://rickman.orpheusweb.co.uk/lynx



More information about the netsurf-dev mailing list