Quentin Rameau
0bd553a078
Request cookiemanager only once at creation
2018-10-08 11:38:03 +02:00
Quentin Rameau
c60523a702
Exit more gracefully on web process crash.
2018-10-08 11:38:03 +02:00
nzl
befe481a9b
Allow tilde expansion in loaduri
...
also fixed a bug that ~foo/ was expanded to /home/fo/o/
2018-10-08 11:38:03 +02:00
Eddie Thieda
d6954e1541
Fixed wording in FAQ.md
2018-06-18 12:34:52 +02:00
Quentin Rameau
6f6b343721
Force printing the winid when requested
...
Do not wait for the libc to decide flushing buffers, force it ourselves.
Thanks to koniu for reporting the issue.
2018-06-09 21:55:20 +02:00
Jochen Sprickerhof
81f0452bc6
Document SIGHUP in manpage
2018-02-23 13:39:35 +01:00
nzl
d2e4989c3c
Script text shouldn't go through formatted conversion
2018-02-23 13:39:35 +01:00
Eon S. Jeon
7817d0ec83
Add support for WebGL
...
Allows enabling and disabling WebGL support built into WebKit.
The feature is turned off by default.
2018-02-23 13:39:35 +01:00
Quentin Rameau
723ff26c36
Disable media autoplay by default
2017-06-03 10:23:40 +02:00
Quentin Rameau
a0c3c80ee6
Store modified parameters list
2017-05-30 10:33:36 +02:00
Quentin Rameau
a8bf206827
Use priority values instead of “forced” parameters
...
This makes parameter handling a bit easier and lets the user override
parameters as he sees fit.
2017-05-22 12:38:49 +02:00
Quentin Rameau
a0ef4ba41d
Get rid of config parameter MACROs
...
There's no need to obfuscate so much what is done, the user can deal
with a few extra knobs to set instead.
2017-05-22 12:38:49 +02:00
Quentin Rameau
d3e974f4ea
Get rid of integer member b in Arg
...
There's no need to keep another integer member there, use directly the i
integer one.
2017-05-22 12:38:49 +02:00
Quentin Rameau
70c1b548ab
Only apply parameters when needed
...
Specify which parameter should be applied on which load state.
2017-05-22 12:38:49 +02:00
Quentin Rameau
2223417c91
Fix handling of uri-specific parameters
...
We need to (re)apply uri-specific parameters for each new uri even if
the parameter has already been set to get the correct value.
Thanks to Julien STEINHAUSER <julien.steinhauser@orange.fr> for the
report!
2017-05-22 12:38:49 +02:00
Quentin Rameau
a1328457cf
Unset previous user styles before applying another one
2017-05-22 12:38:49 +02:00
Constantine Bytensky
25652669ef
Add config option for cross requests from file URLs
...
I use it to open local .xml files with .xsl style-sheets.
2017-05-22 12:38:49 +02:00
Quentin Rameau
bcd05ae321
Add config option for microphone and webcam access
2017-05-21 17:13:02 +02:00
Quentin Rameau
f5be376ccc
Fix synchronization issue with atoms
...
Be sure to sync after setting an atom.
Sync too before reading one.
2017-05-12 00:30:51 +02:00
Quentin Rameau
5e2216c414
There's no need to call geturi() again in loadchanged
...
Also call the variable “uri” instead of “title” which was ambiguous
regarding what it is.
2017-05-12 00:30:45 +02:00
Quentin Rameau
4a1876eb80
Add config option for smooth scrolling activation
2017-05-11 15:33:42 +02:00
Quentin Rameau
93a3e4cda0
Add config option for Java activation
2017-05-11 15:27:27 +02:00
Quentin Rameau
298e688933
Add config option for setting default charset.
...
This will be used for pages with no specified charset.
2017-05-11 15:23:22 +02:00
Quentin Rameau
745a319baf
Improve parameters handling
...
There's no need to reload all parameters each time a new url is loaded,
instead set only custom parameters and restore those to defaults when
needed.
2017-05-11 09:22:43 +02:00
ssd
b115434720
Change PROMPT_GO from "URL:" to "Go:"
...
This looks more apropriate because URL is too specific and _SURF_GO can
be set to other things.
2017-05-11 09:22:43 +02:00
Quentin Rameau
47b145f2ec
Add prompts for SETPROP
...
Imported from __20h__ repo, thanks to him and Ben Woolley.
2017-05-08 11:34:00 +02:00
Quentin Rameau
b8b0c05035
Embed dmenu into the surf window by default
2017-05-08 11:33:59 +02:00
Quentin Rameau
dca4264863
Simplify DOWNLOAD macro
...
No need to spawn an extra sh.
Use short flags for curl and quote operands.
Replace sleep with read, let the user close the download window instead
of waiting for an arbitrary time.
Rename d to reflect what it's used for.
Reorder sh positional arguments.
Set $0 to a command name and shift other positional parameters to
clarify the "sh -c" command.
2017-05-08 11:33:55 +02:00
Quentin Rameau
654d527f87
Simplify SETPROP macro
...
Get rid of xargs by using a subshell instead.
Use two replacement commands in sed because back-references in BRE are
too differently implemented in different libc.
Rename p, q, to reflect what they're used for.
Reorder sh positional arguments.
Set $0 to a command name and shift other positional parameters to
clarify the "sh -c" command.
2017-05-08 11:30:20 +02:00
Quentin Rameau
d984d12de7
Simplify usage()
...
There's no real need for using the real executable call name, especially
with basename requiring special care.
2017-05-04 10:29:02 +02:00
Quentin Rameau
2901145301
Simplify version message
2017-05-04 10:27:07 +02:00
Ivan Tham
e23d5c1c45
Use Ctrl-t for showcert instead of Ctrl-x
2017-05-02 17:20:11 +02:00
Quentin Rameau
5936806949
Cleanup and fix formatage issues in surf.1
2017-05-01 01:09:52 +02:00
Quentin Rameau
0df9f79d95
Fix forgotten options in surf.1
2017-05-01 01:08:27 +02:00
Hiltjo Posthuma
edddfbc14a
setcert: check uri before adding a certificate
...
Also directly check for https scheme, we won't need a certificate for
others.
2017-04-30 11:39:15 +02:00
Hiltjo Posthuma
21d81a71cc
fix mini typo
2017-04-30 00:10:11 +02:00
Hiltjo Posthuma
b466bb5bbd
surf.1: remove trailing spaces
2017-04-30 00:09:07 +02:00
Quentin Rameau
cc887cf2ab
Add forgotten tT indicator description in surf.1
2017-04-29 17:59:09 +02:00
Quentin Rameau
0326e42bb3
Add forgotten fF indicator description in surf.1
2017-04-29 17:59:08 +02:00
Quentin Rameau
d66904675d
Add a flag for custom certificates
...
I don't think a keybinding would be useful here because we can't
remove a custom certificate which is alread set anyway.
I'll add it if somebody convince me of it's usefulness.
2017-04-29 17:59:08 +02:00
Quentin Rameau
7823ab6fc0
Move xid printing option from -x to -w
2017-04-29 17:59:08 +02:00
Quentin Rameau
9eda6f5dd5
Add a keybinding to show current TLS certificate
2017-04-29 17:59:07 +02:00
Quentin Rameau
1dc3cd513a
Display an error message and certificate on tls error
2017-04-29 16:34:48 +02:00
Quentin Rameau
c870098b82
Arrange Makefile
...
Let the user specify his own C and LD FLAGS.
Remove unuseful and non portable CFLAGS like pendantic and Wall.
2017-04-29 16:34:47 +02:00
Quentin Rameau
db7922f173
Free temporary certificate in setcert
2017-04-29 14:34:02 +02:00
Quentin Rameau
0d1e670ac3
Do not build SiteSpecific file when regex is invalid
2017-04-28 13:09:39 +02:00
Quentin Rameau
3c2c0a6525
Add support for using custom certificates per url
2017-04-28 12:58:36 +02:00
Quentin Rameau
eb32dd6eca
Avoid using global name stylefile in setstyle()
2017-04-27 15:41:16 +02:00
Quentin Rameau
d0e3c69e59
Change site styles structure for a more generic one
2017-04-27 15:02:40 +02:00
Quentin Rameau
5c52733984
Fix 27cec48
Add a flag/keybinding for strict TLS
...
Forgot to add changes in main(), usage() and newwindow() too.
2017-04-23 18:31:32 +02:00