tazweb view README @ rev 44
Handle download-requested and finally use xterm/wget for now
|author||Christophe Lincoln <firstname.lastname@example.org>|
|date||Tue Apr 19 00:42:04 2011 +0200 (2011-04-19)|
1 TazWeb - SliTaz Web Browser
5 TazWeb is a radically simple and very light web browser providing a single
6 window with one small bottom toolbar using buttons and an URL entry, but no
7 menubar or tabs. Please keep the code simple and clean, if you are
8 motivated and want to add some entries to the context menu, please talk
9 to the AUTHOR before commiting anything in the repos.
11 TazWeb uses a custom page in the user Freedesktop directory to let users add
12 any content to it and get with one click from the toolbar. We may have
13 an external apps/script to handle that file for users who can't manage to
14 edit pure xHTML.
16 This application have been created for Tazpanel and future SliTaz integrated
17 Web applications. The goal is by far to have a fully-featured web browser. But
18 if you find a way to provide a simple plugins mechanism, that would be great.
20 The idea with TazWeb is to have a minimal interface, the approach is to
21 build all the GUI with xHTML and CSS like in TazPanel.
23 For general and end-user documentation have a look at doc/tazweb.html.
24 TazWeb is published, like webkit source under a free BSD license.
26 BUG: Right clicking on "Open Link in New Window" doesn't work.
29 Build and install
31 TazWeb depends on GTK and libwebkit. To build and test, simply:
33 $ make
34 $ ./tazweb
36 Install with 'make install' (PREFIX and DESTDIR are supported for packaging)
39 Coding notes
42 * To get the filename of a WebKitDownload
43 const gchar* file = webkit_download_get_suggested_filename (download);
45 * Check mime-type before download (needs a callback function)
46 g_signal_connect (web_view, "mime-type-policy-decision-requested",
47 G_CALLBACK (mime_type_decision_cb), web_view);