I would like to learn how to extend JavaScript functionality by adding some plug-ins to webkit based browsers.

Any link or tutorial from where I can start.

I looked into http://rvr.typepad.com/wind/2011/10/webkit-extending-javascript-1.html

but it used GTK+, I am looking webkit enhancement in C/C++

有帮助吗?

解决方案

Seems you have some confusion...

Why did you tag this "firefox-addon" and "firefox-addon-sdk" when Firefox is not Webkit based? (It uses Gecko).

Also, GTK+ is a C++ wrapper over the C interface to a GUI toolkit. (?)

If you want some good opportunities to mess with WebKit, you can install Qt Creator and try out their WebKit examples, which include plugins as well as some more basic integration:

http://qt-project.org/doc/qt-4.8/examples-webkit.html

You should read up on NPAPI/PPAPI if your goal is to write plugins for existing web browsers:

http://en.wikipedia.org/wiki/NPAPI

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top