On Wed, 12 May 2010, Jeremy Sanders wrote:

> I've had some success writing a Firefox plugin to display PDFs using 
> Nokia's qtbrowserplugin and embedding Okular as a KPart. It appears to 
> mostly just work with little code.

I've overcome my problems I think by reading the docs. Please have a look 
at my code here for the firefox okular plugin:

http://github.com/jeremysanders/okularplugin

Comments are welcome!

There's one big hack in the code which is to set the active window on 
mouse enter events. This is required otherwise the plugin loses keyboard 
events if firefox opens new windows.

The plugin should also work with opera.

Thanks

Jeremy

-- 
Jeremy Sanders <jer...@jeremysanders.net>
http://www.jeremysanders.net/                Cambridge, UK
Public Key Server PGP Key ID: E1AAE053
_______________________________________________
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel

Reply via email to