搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Disable Downloads

  • 6 回覆
  • 2 有這個問題
  • 2487 次檢視
  • 最近回覆由 cor-el

more options

We have deployed Firefox across multiple sites in our company. We are looking for a way to disable the "CTRL+J" shortcut that opens the download manager. In fact, for the purpose of the profile that we are using, we do not need the download manager at all.

So far I was able to find a plugin that will allow us to disable the keyboard shortcut (Customizable-Shortcuts by Tim Taubert) which would meet our needs, but it always our preference to use our lockPref profile.

The solution that I tried didn't seem to work (preventing panel shown and toolkit UI) [Preferences below are for purposes of illustration. I am aware that syntax is not correct.]

browser.download.panel.shown=false browser.download.useToolkitUI=false

I'm wondering if anyone else has come across this and if anyone has an idea.

Thanks.

被選擇的解決方法

If you want to change the shortcut keys;

Customizable Shortcuts {web link} Allows to customize Firefox shortcuts.

Go to the Mozilla Add-ons Web Page {web link} (There’s a lot of good stuff here)

從原來的回覆中察看解決方案 👍 1

所有回覆 (6)

more options

I don't know if this will help;

CCK2 Wizard {web link} Need to customize Firefox? With the CCK2 Wizard, you can create custom Firefox configurations that can be installed as extensions or deployed with AutoConfig.

more options

Note that this shortcut normally opens the Bookmarks/History Manager (Library) with the Downloads folder selected. The Library can be accessed in many ways and there is also the about:downloads page that can be opened via the location bar. So I'm not sure what the reason is for disabling this keyboard shortcut.

more options

Hi,

I've explored the CCK2 wizard extensionally. It doesn't suit our needs as it is a pretty bloated way of achieving the exact same thing we've done in our policies.

more options

You are correct that the shortcut opens the Library view instead of directly to a downloads view.

We did not provide a reason for this to be disabled only that it should be. We have an application that is being interfered with by this combination.

more options

選擇的解決方法

If you want to change the shortcut keys;

Customizable Shortcuts {web link} Allows to customize Firefox shortcuts.

Go to the Mozilla Add-ons Web Page {web link} (There’s a lot of good stuff here)

more options

You could opt for a simple extension that disables this shortcut key.

<?xml version="1.0"?>

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

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

</overlay>