Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Mear ynfo

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

Disable CTRL+S shortcut to "Save As" on Mozilla Firefox

  • 5 antwurd
  • 1 hat dit probleem
  • 7 werjeftes
  • Lêste antwurd fan cor-el

more options

On Mozilla firefox browser, whenever we hit CTRL+S , there is "Save As" dialog box popup. We need to disable this.

I went through the keyboard accelerators but could not find the right one.

Please advise.

On Mozilla firefox browser, whenever we hit CTRL+S , there is "Save As" dialog box popup. We need to disable this. I went through the keyboard accelerators but could not find the right one. Please advise.

Alle antwurden (5)

more options

If we cannot answer it here, you might have better luck opening a question in stackoverflow.com: ex:

more options

What do you want to happen when you press Ctrl+s, a different function or nothing at all?

One tool for changing keyboard shortcuts is keyconfig, which I haven't used for a while, but probably is still supported: http://forums.mozillazine.org/viewtopic.php?f=48&t=72994

more options

guigs said

If we cannot answer it here, you might have better luck opening a question in stackoverflow.com: ex:

jscher2000 said

What do you want to happen when you press Ctrl+s, a different function or nothing at all? One tool for changing keyboard shortcuts is keyconfig, which I haven't used for a while, but probably is still supported: http://forums.mozillazine.org/viewtopic.php?f=48&t=72994

> Response

CTRL+S saves a record on the application. So basically I want Mozilla to not open up the save dialog box(suppress the mozilla accelerator). I went through the about:config however I could not find the correct entry hence I posted this question.

Regards Nitesh

more options

So do those events occur in sequence: first your application saves the record and then Firefox opens the Save As dialog?

If this is your application, try canceling the propagation of the keyboard event in your keydown/keyup/keypress handler before returning:

event.stopPropagation();
event.preventDefault();.

If this is a third party application, hmm, take a look at keyconfig.

more options

You could create your own extension and remove the attributes of that command.

savepagedisable.xul:

<?xml version="1.0"?>

<overlay id="savepage-disable-overlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

<script type="text/javascript">
<![CDATA[
var E=window.document.getElementById("key_savePage");
if(E){
E.removeAttribute("command");
E.removeAttribute("key");
E.removeAttribute("modifiers");
}
]]></script>

</overlay>