mirror of
git://git.suckless.org/surf
synced 2024-12-11 17:29:38 +00:00
Remove Java support toggle
This has been deprecated since 2.38.
This commit is contained in:
parent
175710126c
commit
3f4292b7cc
@ -30,7 +30,6 @@ static Parameter defconfig[ParameterLast] = {
|
|||||||
[Geolocation] = { { .i = 0 }, },
|
[Geolocation] = { { .i = 0 }, },
|
||||||
[HideBackground] = { { .i = 0 }, },
|
[HideBackground] = { { .i = 0 }, },
|
||||||
[Inspector] = { { .i = 0 }, },
|
[Inspector] = { { .i = 0 }, },
|
||||||
[Java] = { { .i = 1 }, },
|
|
||||||
[JavaScript] = { { .i = 1 }, },
|
[JavaScript] = { { .i = 1 }, },
|
||||||
[KioskMode] = { { .i = 0 }, },
|
[KioskMode] = { { .i = 0 }, },
|
||||||
[LoadImages] = { { .i = 1 }, },
|
[LoadImages] = { { .i = 1 }, },
|
||||||
|
6
surf.c
6
surf.c
@ -67,7 +67,6 @@ typedef enum {
|
|||||||
Geolocation,
|
Geolocation,
|
||||||
HideBackground,
|
HideBackground,
|
||||||
Inspector,
|
Inspector,
|
||||||
Java,
|
|
||||||
JavaScript,
|
JavaScript,
|
||||||
KioskMode,
|
KioskMode,
|
||||||
LoadImages,
|
LoadImages,
|
||||||
@ -285,7 +284,6 @@ static ParamName loadcommitted[] = {
|
|||||||
Geolocation,
|
Geolocation,
|
||||||
HideBackground,
|
HideBackground,
|
||||||
Inspector,
|
Inspector,
|
||||||
Java,
|
|
||||||
// KioskMode,
|
// KioskMode,
|
||||||
MediaManualPlay,
|
MediaManualPlay,
|
||||||
RunInFullscreen,
|
RunInFullscreen,
|
||||||
@ -809,9 +807,6 @@ setparameter(Client *c, int refresh, ParamName p, const Arg *a)
|
|||||||
case Inspector:
|
case Inspector:
|
||||||
webkit_settings_set_enable_developer_extras(c->settings, a->i);
|
webkit_settings_set_enable_developer_extras(c->settings, a->i);
|
||||||
return; /* do not update */
|
return; /* do not update */
|
||||||
case Java:
|
|
||||||
webkit_settings_set_enable_java(c->settings, a->i);
|
|
||||||
return; /* do not update */
|
|
||||||
case JavaScript:
|
case JavaScript:
|
||||||
webkit_settings_set_enable_javascript(c->settings, a->i);
|
webkit_settings_set_enable_javascript(c->settings, a->i);
|
||||||
break;
|
break;
|
||||||
@ -1124,7 +1119,6 @@ newview(Client *c, WebKitWebView *rv)
|
|||||||
"enable-dns-prefetching", curconfig[DNSPrefetch].val.i,
|
"enable-dns-prefetching", curconfig[DNSPrefetch].val.i,
|
||||||
"enable-html5-database", curconfig[DiskCache].val.i,
|
"enable-html5-database", curconfig[DiskCache].val.i,
|
||||||
"enable-html5-local-storage", curconfig[DiskCache].val.i,
|
"enable-html5-local-storage", curconfig[DiskCache].val.i,
|
||||||
"enable-java", curconfig[Java].val.i,
|
|
||||||
"enable-javascript", curconfig[JavaScript].val.i,
|
"enable-javascript", curconfig[JavaScript].val.i,
|
||||||
"enable-site-specific-quirks", curconfig[SiteQuirks].val.i,
|
"enable-site-specific-quirks", curconfig[SiteQuirks].val.i,
|
||||||
"enable-smooth-scrolling", curconfig[SmoothScrolling].val.i,
|
"enable-smooth-scrolling", curconfig[SmoothScrolling].val.i,
|
||||||
|
Loading…
Reference in New Issue
Block a user