Add item to clear HTML5 databases
This commit is contained in:
parent
d73b471ec4
commit
6480329bbf
1 changed files with 12 additions and 0 deletions
|
@ -1554,6 +1554,14 @@ midori_clear_flash_cookies_cb (void)
|
|||
}
|
||||
#endif
|
||||
|
||||
#if WEBKIT_CHECK_VERSION (1, 1, 14)
|
||||
static void
|
||||
midori_clear_html5_databases_cb (void)
|
||||
{
|
||||
webkit_remove_all_web_databases ();
|
||||
}
|
||||
#endif
|
||||
|
||||
int
|
||||
main (int argc,
|
||||
char** argv)
|
||||
|
@ -1782,6 +1790,10 @@ main (int argc,
|
|||
sokoke_register_privacy_item ("flash-cookies", _("'Flash' Cookies"),
|
||||
G_CALLBACK (midori_clear_flash_cookies_cb));
|
||||
#endif
|
||||
#if WEBKIT_CHECK_VERSION (1, 1, 14)
|
||||
sokoke_register_privacy_item ("html5-databases", _("HTML5 _Databases"),
|
||||
G_CALLBACK (midori_clear_html5_databases_cb));
|
||||
#endif
|
||||
|
||||
/* Web Application support */
|
||||
if (webapp)
|
||||
|
|
Loading…
Reference in a new issue