surf \- simple webkit-based browser
.SH SYNOPSIS
.B surf
-.RB [-bgiknpsvx]
+.RB [-bBgGiIkKnNpPsSvx]
.RB [-c\ cookiefile]
.RB [-e\ xid]
.RB [-r\ scriptfile]
.B \-b
Disable Scrollbars
.TP
+.B \-B
+Enable Scrollbars
+.TP
.B \-c cookiefile
Specify the
.I cookiefile
.B \-g
Disable giving the geolocation to websites.
.TP
+.B \-G
+Enable giving the geolocation to websites.
+.TP
.B \-i
Disable Images
.TP
+.B \-I
+Enable Images
+.TP
.B \-k
+Disable kiosk mode (disable key strokes and right click)
+.TP
+.B \-K
Enable kiosk mode (disable key strokes and right click)
.TP
.B \-n
Disable the Web Inspector (Developer Tools).
.TP
+.B \-N
+Enable the Web Inspector (Developer Tools).
+.TP
.B \-p
Disable Plugins
.TP
+.B \-P
+Enable Plugins
+.TP
.B \-r scriptfile
Specify the user
.I scriptfile.
.B \-s
Disable Javascript
.TP
+.B \-S
+Enable Javascript
+.TP
.B \-t stylefile
Specify the user
.I stylefile.
*
* To understand surf, start reading main().
*/
+
#include <signal.h>
#include <X11/X.h>
#include <X11/Xatom.h>
case 'b':
enablescrollbars = 0;
break;
+ case 'B':
+ enablescrollbars = 1;
+ break;
case 'c':
cookiefile = EARGF(usage());
break;
case 'g':
allowgeolocation = 0;
break;
+ case 'G':
+ allowgeolocation = 1;
+ break;
case 'i':
loadimages = 0;
break;
+ case 'I':
+ loadimages = 1;
+ break;
case 'k':
+ kioskmode = 0;
+ break;
+ case 'K':
kioskmode = 1;
break;
case 'n':
enableinspector = 0;
break;
+ case 'N':
+ enableinspector = 1;
+ break;
case 'p':
enableplugins = 0;
break;
+ case 'P':
+ enableplugins = 1;
+ break;
case 'r':
scriptfile = EARGF(usage());
break;
case 's':
enablescripts = 0;
break;
+ case 'S':
+ enablescripts = 1;
+ break;
case 't':
stylefile = EARGF(usage());
break;