зеркало из https://github.com/mozilla/pjs.git
bug 117532 UI Pref to prevent sites from taking over context menu - patch by Robert J. Accettura (robert@accettura.com), r=jst sr=ben
This commit is contained in:
Родитель
2e6fe47845
Коммит
8e639b5bd9
|
@ -43,6 +43,7 @@ function changeDisabledState(state){
|
|||
document.getElementById("allowWindowStatusChange").disabled = state;
|
||||
document.getElementById("allowWindowFlip").disabled = state;
|
||||
document.getElementById("allowHideStatusBar").disabled = state;
|
||||
document.getElementById("allowContextmenuDisable").disabled = state;
|
||||
}
|
||||
|
||||
function javascriptEnabledChange(){
|
||||
|
|
|
@ -52,6 +52,7 @@
|
|||
"allowWindowFlip",
|
||||
"allowWindowStatusChange",
|
||||
"allowImageSrcChange",
|
||||
"allowContextmenuDisable",
|
||||
"allowHideStatusBar"];
|
||||
]]>
|
||||
</script>
|
||||
|
@ -78,6 +79,8 @@
|
|||
prefinverse="true" prefstring="dom.disable_window_status_change"/>
|
||||
<listitem type="checkbox" id="allowImageSrcChange" label="&allowWindowImageSrcChange.label;"
|
||||
prefinverse="true" prefstring="dom.disable_image_src_set"/>
|
||||
<listitem type="checkbox" id="allowContextmenuDisable" label="&allowContextmenuDisable.label;"
|
||||
prefinverse="true" prefstring="dom.event.contextmenu.enabled"/>
|
||||
</listbox>
|
||||
</groupbox>
|
||||
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
<!ENTITY allowWindowFlip.label "Raise or lower windows">
|
||||
<!ENTITY allowWindowStatusChange.label "Change status bar text">
|
||||
<!ENTITY allowWindowImageSrcChange.label "Change images">
|
||||
<!ENTITY allowContextmenuDisable.label "Disable a Page's Context Menu">
|
||||
<!ENTITY allowHideStatusBar.label "Hide the status bar">
|
||||
|
||||
<!ENTITY enablePlugin.label "Enable Plug-ins for">
|
||||
|
|
Загрузка…
Ссылка в новой задаче