diff options
author | Daniel Carl <danielcarl@gmx.de> | 2019-03-24 00:53:47 +0100 |
---|---|---|
committer | Daniel Carl <danielcarl@gmx.de> | 2019-03-24 00:57:34 +0100 |
commit | 6ef95d13cf1f6313b67cf63acdb7fc07ac02cb2b (patch) | |
tree | 7dbfb6c23797497e645b11c82ed20215af930338 /src/main.h | |
parent | bae3e38219d4ee82dc1b6209645cbc14256a9f32 (diff) |
Prevent opening links into new window #544.
Added setting 'prevent-newwindow' to enforce opening links into same
window even if they are crafted by `target="_blank"` or using
`window.open()`.
This option does not change the behaviour for links fired by hinting.
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -235,6 +235,7 @@ struct Client { guint scrollstep; gboolean input_autohide; gboolean incsearch; + gboolean prevent_newwindow; guint default_zoom; /* default zoom level in percent */ Shortcut *shortcuts; } config; |