jun7 / wyebadblock

An adblock extension for wyeb, also webkit2gtk browsers.
GNU General Public License v3.0
74 stars 6 forks source link

To get started with developing extensions? #9

Open Kazhuu opened 3 years ago

Kazhuu commented 3 years ago

Hello! This is not right place to ask for this but I'm coming from vimb and found this add block support for it. I was wondering how does this extension talk to vimb and does it use standardised webextensions API? I was looking around and reading Mozilla documenation but all examples use JS to write extensions and not C/C++.

The point is, is there some documentation to get started with? I want to try to develop and contribute but I find a bit hard to get started how everything works. Some overall picture would be fine and I can read/figure out the rest. Thanks!

jun7 commented 3 years ago

how does this extension talk to vimb?

wyebadblock dosen't talk to vimb. It just connects send-request signal of WebkitWebPage object shared by extensions.

is there some documentation to get started with?

There is no tutorial but only API reference I think. See the Web Extensions section of https://webkitgtk.org/reference/webkit2gtk/stable/index.html and https://webkitgtk.org/reference/jsc-glib/stable/index.html

I don't think above documents are usefull to get started though.

Kazhuu commented 3 years ago

Okay thanks for the links. I'll take a look.