Re: firefox extension with webkit?



Alp Toker wrote:
Matej Cepl wrote:
Hi,

how complicated is to make a firefox extension (Greasemonkey in this case) working with WebKit-based epiphany?
Implementing a GreaseMonkey extension for WebKit would involve:

1) Installing the appropriate custom script when the script-object-cleared signal is fired on WebView.

2) Installing JS callbacks to handle the 5 GreaseMonkey functions:

I just found GreaseKit, http://8-p.info/greasekit/

It's written in Objective-C so it'll need porting, but you could get things working with a few hundred lines of code. Looks like this file in particular has useful snippets:

http://code.google.com/p/greasekit/source/browse/trunk/CMController.m

Let me know if you need any help.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]