Skip to content
Having fun with WebKit
Perl C JavaScript Other
Latest commit ea6c0a3 Nov 14, 2012 @potyl Use Gtk3's main loop
Failed to load latest commit information.
css Add fake rules to see if the files are loaded Sep 28, 2011
.gitignore Ignore captures and queue.db Sep 14, 2012
Makefile Detec the proxy based on http_proxy or HTTP_PROXY Sep 13, 2012
README Add Dec 10, 2011
WebKit-en.odp Update the XPath slide Nov 10, 2011
WebKit-fr.odp remove extra "my " from slide #20 Sep 15, 2011 Custom dancer website and cron to grap screenshots Sep 14, 2012 Fix the program name in SYNOPSIS Apr 7, 2012
deck2pdf Add deck2pdf Dec 6, 2011
dom-walker.c Use G_GINT64_FORMAT instead og %lld Apr 18, 2012
download-cb.c Using SoupSession for intercepting working SoupMessages May 16, 2011 Use Gtk3's main loop Nov 15, 2012 Don't load Cairo Nov 16, 2011 No need to pass int, array to init Sep 15, 2011 Add: TODO implement postData Dec 17, 2011
js.c Fix compilation errors regarding the cal to JSEvaluateScript() Apr 18, 2012 Typo fix on pod2usage Nov 3, 2011 Wrapper for running the applications in an offscreen X server Aug 28, 2011
s5.js JavaScript test file Jun 27, 2011
s5pdf Fix a typo in the POD Nov 5, 2011
sample.html CSS example Sep 27, 2011 Use Gtk3::WebKit instead of WWW::WebKit Sep 19, 2011
screenshot.c Bug fix: assign the proxy when reading then environment variable HTTP… Nov 14, 2012 Fix a typo in the regexp to format the proxy Sep 13, 2012 Fix the invocation of the script May 11, 2011
transparent.c Port to GTK 3 Apr 18, 2012 No need to load Gdk Nov 17, 2011 Load Getopt::Long & Pod::Usage Nov 16, 2011 Formatting Sep 22, 2012



This package contains a list of random WebKit hacks. The hacks are mainly
written in Perl using the introspection framework.

They rely on these two other githup projects:

--------           - display a web page      - load a page in a transparent window   - take a screenshot as PNG       - take a screenshot as various formats        - track the downloads for one page       - execute javascript on a page            - very simple parental control              - display a web page using GIR
screenshot          - save a screenshot as a PDF, PNG, SVG or PS
s5pdf               - save a S5 presentation in PDF
deck2pdf            - save a Deck JS presentation in PDF
css-rules-usage.p l - list css rules and their usage
dom-walker          - walk the DOM tree
js                  - get the page's title through JavaScript              - generate an HTTP Archive (HAR) file from a web page

How to Build

This was tested on a brand new VM running Ubuntu 11.04. These intructions are
not very clean. They serve more as a reminder.

sudo apt-get install libextutils-depends-perl libextutils-pkgconfig-perl gobject-introspection libgirepository1.0-dev
sudo apt-get install libwebkitgtk-3.0-dev libwebkitgtk-3.0-0-dbg
sudo apt-get install gir1.2-gtk-3.0 gir1.2-webkit-3.0 gir1.2-soup-2.4

Install from CPAN:


For better success use a recent version of WebKitGTK.
Something went wrong with that request. Please try again.