about summary refs log tree commit diff
path: root/config.def.h
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@fifth.space>2021-04-30 08:39:34 +0200
committerQuentin Rameau <quinq@fifth.space>2021-04-30 08:47:20 +0200
commitfce76429b8f8ed48116557df3a478bc435145d94 (patch)
tree3bf0f1e3d98f113b5a856bf399bd6a95959a09c7 /config.def.h
parentMakefile: use explicit targets (diff)
downloadsurf-fce76429b8f8ed48116557df3a478bc435145d94.tar.gz
surf-fce76429b8f8ed48116557df3a478bc435145d94.tar.bz2
surf-fce76429b8f8ed48116557df3a478bc435145d94.zip
Remove external plugin handling
This has been deprecated since release 2.32.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/config.def.h b/config.def.h
index be168ab..96e1009 100644
--- a/config.def.h
+++ b/config.def.h
@@ -6,11 +6,6 @@ static char *styledir       = "~/.surf/styles/";
 static char *certdir        = "~/.surf/certificates/";
 static char *cachedir       = "~/.surf/cache/";
 static char *cookiefile     = "~/.surf/cookies.txt";
-static char **plugindirs    = (char*[]){
-	"~/.surf/plugins/",
-	LIBPREFIX "/mozilla/plugins/",
-	NULL
-};
 
 /* Webkit default features */
 /* Highest priority value will be used.
@@ -41,7 +36,6 @@ static Parameter defconfig[ParameterLast] = {
 	[KioskMode]           =       { { .i = 0 },     },
 	[LoadImages]          =       { { .i = 1 },     },
 	[MediaManualPlay]     =       { { .i = 1 },     },
-	[Plugins]             =       { { .i = 1 },     },
 	[PreferredLanguages]  =       { { .v = (char *[]){ NULL } }, },
 	[RunInFullscreen]     =       { { .i = 0 },     },
 	[ScrollBars]          =       { { .i = 1 },     },
@@ -59,7 +53,6 @@ static Parameter defconfig[ParameterLast] = {
 static UriParameters uriparams[] = {
 	{ "(://|\\.)suckless\\.org(/|$)", {
 	  [JavaScript] = { { .i = 0 }, 1 },
-	  [Plugins]    = { { .i = 0 }, 1 },
 	}, },
 };
 
@@ -182,7 +175,6 @@ static Key keys[] = {
 	{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_g,      toggle,     { .i = Geolocation } },
 	{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_s,      toggle,     { .i = JavaScript } },
 	{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_i,      toggle,     { .i = LoadImages } },
-	{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_v,      toggle,     { .i = Plugins } },
 	{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_b,      toggle,     { .i = ScrollBars } },
 	{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_t,      toggle,     { .i = StrictTLS } },
 	{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_m,      toggle,     { .i = Style } },