konq-e Digest, Vol 46, Issue 5

Luciano Montanaro mikelima at cirulla.net
Fri Mar 2 10:57:06 CET 2007


On venerdì 02 marzo 2007, huzj wrote:
> hi yang,
>
> Call native c method from konq-e kjs can be done through java script host
> extension.
>
> In konq-e 2.x the extension code is added and a sample can be seen in
> add-ons/simplesound.
> The simple sound register a play() function to the embed sound object.
> When you write html code
>
> <embed name = "xxx" .....>
> </embed>
>
> In java script you can call "xxx.play()" to call the native c function.
>
> You can grep the ENABLE_JS_HOSTEXTEND macro in konq-e 2.x folder.
>
> But the js host extension may be lost in konq-e 3.x (the 2006 version).
>
> So I copy the code from konq-e 2.x and made some modification to make js
> host extension work.
> You can try it.

What is missing in recent konqueror embedded snapshots? Javascript 
extensions still work, as far as I know.

Luciano 



-- 
./.. ../ /./. .. ./ /. ///   // /// /. / ./ /. ./ ./. /// ././. //
                                                            \\ //
                                             www.cirulla.net \x/


More information about the konq-e mailing list