Disable warn on unsecure submit
This commit is contained in:
parent
1ea0f49f52
commit
6ac9e4d666
@ -44,7 +44,11 @@ sugar_browser_startup(void)
|
||||
prefService->GetBranch("", getter_AddRefs(pref));
|
||||
NS_ENSURE_TRUE(pref, );
|
||||
|
||||
/* 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)
|
||||
|
Loading…
Reference in New Issue
Block a user