зеркало из https://github.com/mozilla/gecko-dev.git
Bug 336273: add basic preferences panel for safe browsing, patch by Ryan Flint, r=gavin/mconnor/ben
This commit is contained in:
Родитель
670272b4c3
Коммит
d1eebcf98c
|
@ -95,6 +95,11 @@
|
|||
<preference id="security.disable_button.openDeviceManager"
|
||||
name="security.disable_button.openDeviceManager"
|
||||
type="bool"/>
|
||||
#ifdef MOZ_SAFE_BROWSING
|
||||
<preference id="browser.safebrowsing.enabled"
|
||||
name="browser.safebrowsing.enabled"
|
||||
type="bool"/>
|
||||
#endif
|
||||
</preferences>
|
||||
|
||||
<script type="application/x-javascript" src="chrome://browser/content/preferences/advanced.js"/>
|
||||
|
@ -105,6 +110,9 @@
|
|||
<tab label="&generalTab.label;" helpTopic="prefs-advanced-general"/>
|
||||
<tab label="&updateTab.label;" helpTopic="prefs-advanced-update"/>
|
||||
<tab label="&securityTab.label;" helpTopic="prefs-advanced-security"/>
|
||||
#ifdef MOZ_SAFE_BROWSING
|
||||
<tab label="&safeBrowsingTab.label;"/>
|
||||
#endif
|
||||
</tabs>
|
||||
<tabpanels flex="1">
|
||||
<tabpanel orient="vertical">
|
||||
|
@ -244,6 +252,16 @@
|
|||
#endif
|
||||
</groupbox>
|
||||
</tabpanel>
|
||||
#ifdef MOZ_SAFE_BROWSING
|
||||
<tabpanel orient="vertical">
|
||||
<label id="safe-pref">&safeBrowsing.label;</label>
|
||||
<checkbox id="safe-active"
|
||||
class="indent"
|
||||
label="&safeBrowsingEnable.label;"
|
||||
accesskey="&safeBrowsingEnable.accesskey;"
|
||||
preference="browser.safebrowsing.enabled"/>
|
||||
</tabpanel>
|
||||
#endif
|
||||
</tabpanels>
|
||||
</tabbox>
|
||||
</prefpane>
|
||||
|
|
|
@ -59,3 +59,7 @@
|
|||
<!ENTITY showLanguages.label "Edit Languages...">
|
||||
<!ENTITY showLanguages.accesskey "L">
|
||||
|
||||
<!ENTITY safeBrowsingTab.label "Safe Browsing">
|
||||
<!ENTITY safeBrowsing.label "While I'm browsing the internet:">
|
||||
<!ENTITY safeBrowsingEnable.label "Check to see if the site I'm visiting might be a scam">
|
||||
<!ENTITY safeBrowsingEnable.accesskey "o">
|
||||
|
|
Загрузка…
Ссылка в новой задаче