X
點擊此處開啟此網站的行動版。

技術支援討論區

Disable Downloads

已張貼

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.

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

額外的系統細節

已安裝的外掛程式

  • Shockwave Flash 14.0 r0
  • Next Generation Java Plug-in 10.55.2 for Mozilla browsers
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • VMware Remote Console Plug-in

應用程式

  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0

更多資訊

FredMcD
  • Top 10 Contributor
4398 個解決方法 61707 個答案

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.

I don't know if this will help; '''[https://addons.mozilla.org/en-US/firefox/addon/cck2wizard/?src=collection&collection_id=33bf10fa-666d-45a2-9bc9-491ce21671c6 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.
cor-el
  • Top 10 Contributor
  • Moderator
17876 個解決方法 161745 個答案

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.

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.

提出問題者

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.

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.

提出問題者

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.

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.
FredMcD
  • Top 10 Contributor
4398 個解決方法 61707 個答案

選擇的解決方法

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)

If you want to change the shortcut keys; '''[https://addons.mozilla.org/en-US/firefox/addon/customizable-shortcuts/?src=collection&collection_id=33bf10fa-666d-45a2-9bc9-491ce21671c6 Customizable Shortcuts]''' {web link} Allows to customize Firefox shortcuts. Go to the '''''[https://addons.mozilla.org/en-US/firefox/ Mozilla Add-ons Web Page]''''' {web link} (There’s a lot of good stuff here)
cor-el
  • Top 10 Contributor
  • Moderator
17876 個解決方法 161745 個答案

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>

You could opt for a simple extension that disables this shortcut key. <pre><nowiki> <?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></nowiki></pre> ---- *http://mike.kaply.com/2012/02/09/integrating-add-ons-into-firefox/ *http://mike.kaply.com/2013/02/11/add-ons-in-the-distribution-directory/ *http://mike.kaply.com/2013/04/24/major-changes-coming-in-firefox-21/