Only disable prefetch in private with WebKitGTK+ 1.3.11
This commit is contained in:
parent
9bd775b2d3
commit
2219399440
1 changed files with 2 additions and 2 deletions
|
@ -2154,8 +2154,6 @@ main (int argc,
|
||||||
#if WEBKIT_CHECK_VERSION (1, 3, 11)
|
#if WEBKIT_CHECK_VERSION (1, 3, 11)
|
||||||
sokoke_register_privacy_item ("web-cache", _("Web Cache"),
|
sokoke_register_privacy_item ("web-cache", _("Web Cache"),
|
||||||
G_CALLBACK (midori_clear_web_cache_cb));
|
G_CALLBACK (midori_clear_web_cache_cb));
|
||||||
#endif
|
|
||||||
#if WEBKIT_CHECK_VERSION (1, 3, 13)
|
|
||||||
sokoke_register_privacy_item ("offline-appcache", _("Offline Application Cache"),
|
sokoke_register_privacy_item ("offline-appcache", _("Offline Application Cache"),
|
||||||
G_CALLBACK (midori_clear_offline_appcache_cb));
|
G_CALLBACK (midori_clear_offline_appcache_cb));
|
||||||
#endif
|
#endif
|
||||||
|
@ -2194,7 +2192,9 @@ main (int argc,
|
||||||
"enable-offline-web-application-cache", FALSE,
|
"enable-offline-web-application-cache", FALSE,
|
||||||
/* Arguably DNS prefetching is or isn't a privacy concern. For the
|
/* Arguably DNS prefetching is or isn't a privacy concern. For the
|
||||||
* lack of more fine-grained control we'll go the safe route. */
|
* lack of more fine-grained control we'll go the safe route. */
|
||||||
|
#if WEBKIT_CHECK_VERSION (1, 3, 11)
|
||||||
"enable-dns-prefetching", FALSE,
|
"enable-dns-prefetching", FALSE,
|
||||||
|
#endif
|
||||||
"strip-referer", TRUE, NULL);
|
"strip-referer", TRUE, NULL);
|
||||||
midori_browser_set_action_visible (browser, "Tools", FALSE);
|
midori_browser_set_action_visible (browser, "Tools", FALSE);
|
||||||
midori_browser_set_action_visible (browser, "ClearPrivateData", FALSE);
|
midori_browser_set_action_visible (browser, "ClearPrivateData", FALSE);
|
||||||
|
|
Loading…
Reference in a new issue