Site-specific browsers with WebKit

 

GreaseKit

Page history last edited by Chris Messina 3 yrs ago

Overview

 

Creammonkey is an InputManager for Safari that allows you to install Greasemonkey scripts that modify a website's appearance, behavior or functionality through the addition of simple Javascript files called userscripts.

 

A GreaseKit is set of userscripts that are applied through WebKitApp-specific InputManagers that modify the web application so that it behaves more like a desktop application or enable bindings with local languages like Cocoa or Applescript.

 

Implementation design

 

The implementation technique is not entirely clear, but the goal is to allow unique sets of scripts to be applied per-app as opposed to globally, as in the case of OmniWeb userscripts that apply per domain.

 

In this way, a specific userscript for WebMail, for example, will apply to Gmail when loaded in the WebMail application; the same script, however, will not load if Gmail is loaded in a separate WebKitApp. This affords a great deal of variety in custom interaction models -- so that, based on the original WebKitApp context, the appropriate userscripts are applied to extend and improve your experience on that particular web application.

 

Adding input managers to a WebKitApp

 

  • You can attach Creammonkey to a different Cocoa application. Please delete/modify CMController.m line 291-295 and test it. (from KATO)

Comments (0)

You don't have permission to comment on this page.