odrling
158a23f569
increase default zoom level
2 years ago
odrling
17212a64c1
queue videos in mpv
2 years ago
odrling
81c157f7c8
use clipboard instead of primary selection
2 years ago
odrling
ca0453dd0a
apply playexternal
2 years ago
efe
d068a3878b
Fix vertical scroll directions in the config file
4 years ago
Leonardo Taccari
bf46e40f3a
Makefile: fix a typo in clean: target
4 years ago
Quentin Rameau
890b2fc396
Makefile: include common to webext
4 years ago
Quentin Rameau
b9cd3bb0bc
Makefile: fix a typo for the webext CFLAGS
...
Thanks to Justin Keogh <suckless@v6y.net> for spotting this
4 years ago
Quentin Rameau
02541c3146
Send message size inside messages through pipes
4 years ago
Leonardo Taccari
2b71a22755
Use pkg-config for X11{INC,LIB}
4 years ago
Quentin Rameau
16beb6f8ac
Makefile: fix dependencies
4 years ago
Quentin Rameau
4e7371317c
Fix, again, webext directory in Makefile
4 years ago
Quentin Rameau
47e39851ca
Fix webext directory in Makefile
4 years ago
Quentin Rameau
3321c42d36
Remove libtool depencency, reorganise Makefile
...
We don't need libtool anymore, just build the library directly.
This lets us simplify the Makefile too.
4 years ago
Quentin Rameau
e7c629b258
Unobfuscate Makefile
4 years ago
Quentin Rameau
660413256f
ext: get the right DOM on msg
...
When navigating history, the document-loaded signal isn't triggered and
we can't directly get back the previous webview, so we have no other
choice than to look it up everytime a new message is received.
4 years ago
Quentin Rameau
1901359efa
Add a file for shared functions
...
New common.[hc] files where shared functions between surf and
webkitextension will be put. First addition is die().
4 years ago
Quentin Rameau
7ea0c2f7f8
Communicate with webextension via a pipe
4 years ago
Quentin Rameau
1bd6d20102
ext: first commit for surf lib
4 years ago
Quentin Rameau
0bd553a078
Request cookiemanager only once at creation
4 years ago
Quentin Rameau
c60523a702
Exit more gracefully on web process crash.
4 years ago
nzl
befe481a9b
Allow tilde expansion in loaduri
...
also fixed a bug that ~foo/ was expanded to /home/fo/o/
4 years ago
Eddie Thieda
d6954e1541
Fixed wording in FAQ.md
4 years ago
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.
4 years ago
Jochen Sprickerhof
81f0452bc6
Document SIGHUP in manpage
5 years ago
nzl
d2e4989c3c
Script text shouldn't go through formatted conversion
5 years ago
Eon S. Jeon
7817d0ec83
Add support for WebGL
...
Allows enabling and disabling WebGL support built into WebKit.
The feature is turned off by default.
5 years ago
Quentin Rameau
723ff26c36
Disable media autoplay by default
5 years ago
Quentin Rameau
a0c3c80ee6
Store modified parameters list
5 years ago
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.
5 years ago
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.
5 years ago
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.
5 years ago
Quentin Rameau
70c1b548ab
Only apply parameters when needed
...
Specify which parameter should be applied on which load state.
5 years ago
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!
5 years ago
Quentin Rameau
a1328457cf
Unset previous user styles before applying another one
5 years ago
Constantine Bytensky
25652669ef
Add config option for cross requests from file URLs
...
I use it to open local .xml files with .xsl style-sheets.
5 years ago
Quentin Rameau
bcd05ae321
Add config option for microphone and webcam access
5 years ago
Quentin Rameau
f5be376ccc
Fix synchronization issue with atoms
...
Be sure to sync after setting an atom.
Sync too before reading one.
5 years ago
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.
5 years ago
Quentin Rameau
4a1876eb80
Add config option for smooth scrolling activation
5 years ago
Quentin Rameau
93a3e4cda0
Add config option for Java activation
5 years ago
Quentin Rameau
298e688933
Add config option for setting default charset.
...
This will be used for pages with no specified charset.
5 years ago
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.
5 years ago
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.
5 years ago
Quentin Rameau
47b145f2ec
Add prompts for SETPROP
...
Imported from __20h__ repo, thanks to him and Ben Woolley.
5 years ago
Quentin Rameau
b8b0c05035
Embed dmenu into the surf window by default
5 years ago
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.
5 years ago
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.
5 years ago
Quentin Rameau
d984d12de7
Simplify usage()
...
There's no real need for using the real executable call name, especially
with basename requiring special care.
5 years ago
Quentin Rameau
2901145301
Simplify version message
5 years ago