From fce76429b8f8ed48116557df3a478bc435145d94 Mon Sep 17 00:00:00 2001 From: Quentin Rameau Date: Fri, 30 Apr 2021 08:39:34 +0200 Subject: Remove external plugin handling This has been deprecated since release 2.32. --- config.def.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'config.def.h') 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 } }, -- cgit v1.2.3