Remove external plugin handling
This has been deprecated since release 2.32.
This commit is contained in:
@@ -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 } },
|
||||
|
||||
Reference in New Issue
Block a user