Disable warn on unsecure submit
This commit is contained in:
parent
1ea0f49f52
commit
6ac9e4d666
@ -44,8 +44,12 @@ sugar_browser_startup(void)
|
|||||||
prefService->GetBranch("", getter_AddRefs(pref));
|
prefService->GetBranch("", getter_AddRefs(pref));
|
||||||
NS_ENSURE_TRUE(pref, );
|
NS_ENSURE_TRUE(pref, );
|
||||||
|
|
||||||
pref->SetBoolPref ("dom.disable_open_during_load", TRUE);
|
/* Block onload popups */
|
||||||
}
|
pref->SetBoolPref("dom.disable_open_during_load", TRUE);
|
||||||
|
|
||||||
|
/* Disable useless security warning */
|
||||||
|
pref->SetBoolPref("security.warn_submit_insecure", FALSE);
|
||||||
|
}
|
||||||
|
|
||||||
G_DEFINE_TYPE(SugarBrowser, sugar_browser, GTK_TYPE_MOZ_EMBED)
|
G_DEFINE_TYPE(SugarBrowser, sugar_browser, GTK_TYPE_MOZ_EMBED)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user