[links] Links and javascript

Yan Seiner yan at seiner.com
Thu Apr 12 11:38:26 MDT 2007


Edward Rosten wrote:
>   
>> k at libsee.  The problem is that links would have to generate a DOM
>> for javascript to work.
>>     
>
> That's for javascript to work fully. However even without a DOM, links 
> still has some ability to work on those really stupid websites which 
> replace all normak links with dodgy javascript code.
>
> I really don't want to loose the ability to do that.
>
>   
I see.  I have a different need; I am working on an embedded controller 
that needs a browser that can respond to user input.

>> You may be able to look at hv3 to get an idea of how that's done.  It's
>> written in Tk/Tcl and C. http://tkhtml.tcl.tk/hv3.html
>>     
>
> There's also Dillo. It's got CSS support, so I think it must hace a DOM 
> for that to work. I tjink it's written in a mixture of C and C++.
>   

Dillo uses GTK+, which pretty much knocks it out of my league.... GTK+ 
is just too big for my little machine...  ISTR that dillo doesn't have 
DOM; it's on the todo list.

 :-(

Looking through links code, I may be able to hardcode my UI stuff....  I 
have to get a better understanding of the input routines.

--Yan


More information about the links-list mailing list