Re: konq-e Digest, Vol 46, Issue 5

Luciano Montanaro <[email protected]>
Newsgroups gmane.comp.kde.devel.konq-e
Message-ID <[email protected]>
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.