Preferences/__init__.py

changeset 6090
5cdb7ea57551
parent 6089
ca484325f02a
child 6091
7b989321d74c
equal deleted inserted replaced
6089:ca484325f02a 6090:5cdb7ea57551
3004 "PrintElementBackgrounds", "AllowRunningInsecureContent", 3004 "PrintElementBackgrounds", "AllowRunningInsecureContent",
3005 "SpellCheckEnabled", "ShowToolbars", "MenuBarVisible", 3005 "SpellCheckEnabled", "ShowToolbars", "MenuBarVisible",
3006 "BookmarksToolBarVisible", "StatusBarVisible", 3006 "BookmarksToolBarVisible", "StatusBarVisible",
3007 "SessionAutoSave", "LoadTabOnActivation", 3007 "SessionAutoSave", "LoadTabOnActivation",
3008 "SafeBrowsingEnabled", "SafeBrowsingFilterPlatform", 3008 "SafeBrowsingEnabled", "SafeBrowsingFilterPlatform",
3009 "SafeBrowsingAutoUpdate", 3009 "SafeBrowsingAutoUpdate", "AllowGeolocationOnInsecureOrigins",
3010 "AllowWindowActivationFromJavaScript", "ShowScrollBars",
3010 ]: 3011 ]:
3011 return toBool(prefClass.settings.value( 3012 return toBool(prefClass.settings.value(
3012 "WebBrowser/" + key, prefClass.webBrowserDefaults[key])) 3013 "WebBrowser/" + key, prefClass.webBrowserDefaults[key]))
3013 elif key in ["GreaseMonkeyDisabledScripts", "SendRefererWhitelist", 3014 elif key in ["GreaseMonkeyDisabledScripts", "SendRefererWhitelist",
3014 "AdBlockSubscriptions", "AdBlockExceptions", 3015 "AdBlockSubscriptions", "AdBlockExceptions",

eric ide

mercurial