Major styles update.

In config.h there is now some styles array to apply site-specific styles.
This can be toggled using the -mM flags. If a stylefile is manually specified,
then this will overwrite everything.
This commit is contained in:
Christoph Lohmann
2015-01-17 07:19:48 +01:00
parent c467e5a3b3
commit c2da2bae5d
3 changed files with 84 additions and 11 deletions
+8 -1
View File
@@ -3,7 +3,7 @@
surf \- simple webkit-based browser
.SH SYNOPSIS
.B surf
.RB [-bBfFgGiIkKnNpPsSvx]
.RB [-bBfFgGiIkKmMnNpPsSvx]
.RB [-a\ cookiepolicies]
.RB [-c\ cookiefile]
.RB [-e\ xid]
@@ -68,6 +68,12 @@ Disable kiosk mode (disable key strokes and right click)
.B \-K
Enable kiosk mode (disable key strokes and right click)
.TP
.B \-m
Disable the site-specific styles.
.TP
.B \-M
Enable the site-specific styles.
.TP
.B \-n
Disable the Web Inspector (Developer Tools).
.TP
@@ -93,6 +99,7 @@ Enable Javascript
.B \-t stylefile
Specify the user
.I stylefile.
This does disable the site-specific styles.
.TP
.B \-u useragent
Specify the