سؤال

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