98

Having to hit the X to close out that bar over and over is such a pain. When a download completes, I want to have the bar clear itself and leave the bottom of the screen, similar to the way Download Statusbar for Firefox does. How do I do this?

BinaryMisfit
  • 20,879
finiteloop
  • 1,963

11 Answers11

60

Easier keyboard shortcuts (Windows): Ctrl+J, Ctrl+W (open "Downloads" tab and close it, which happens to also close the download bar in the original tab).

For Mac, use ⌘ (Cmd)+Shift+J.

xdavidliu
  • 1,471
  • 3
  • 17
  • 32
Diego
  • 2,513
32

2019 Edit: Since it seems the extension below is no longer available, someone has mentioned this extension could work: Always Clear Downloads 2


Original 2012 Information: Found this Chrome extension today. It's relatively new, available since May 22, 2012:

Always Clear Downloads

A Google Chrome Extension to always clear the downloads list of all completed downloads.

User Reviews:

  • First extension that clears the download bar and hides it afterwards.

  • I have been looking for an extension that does this! Thank you. Works very well hiding the download bar after the download has completed. Saves a click.

Pat
  • 817
16

Auto-closing the download shelf? Ha! Good luck with that; the devs are resolute to not implement that for some reason. However, they have made it so that opening a file (ie, by clicking on its download-bar entry) will remove it, and if the bar is empty, then it will hide.

They also refuse to make an option to not show the shelf at all.

Synetech
  • 69,547
13

For what it's worth, you can close it with the keyboard by doing:

  • Windows: CTRL-J, CTRL-W

  • Mac: CMD-SHIFT-J, CMD-W

The first command pops your downloads in a new tab, the second quickly closes the downloads, sending you back to your previous tab. Doing so closes the 'Downloads' bar.

dnnypck
  • 141
12

Keyboard shortcut solution for Mac users

The Download Bar has been my #1 complaint about Google Chrome ever since I started using it, and was often a reason to switch back to Safari as my main browser. Every now and then I go through all the Google Groups topics about this, but even though there've been bug reports and feature requests about this for years, nobody at Google can be bothered to add a simple "Close Download Bar" keyboard shortcut or a "Don't show the Download Bar" checkbox in the settings.

Furthermore, the Download Bar isn't added within the window, the window is resized and then the Download Bar gets added. Hello Google, this isn't 1995 where JavaScripts are constantly resizing your application windows. I am the user, and I decide how large my windows should be.

When you close the Downloar Bar right away, the window size is restored though. However, when you interact with other applications for a while and then return to Google Chrome to close the Download Bar, it forgot the original window size for some reason, and you're stuck with the resized window. This probably isn't a problem on a screen with a high resolution, but on laptops where you have less screen real estate, it can be really annoying.

Because of the resizing, I started looking into finding a solution using AppleScript. And while I was working on that, I found a way to automate the closing of the Download Bar as well.

AppleScript that closes the Download Bar

Here's what it does:

  1. Opens the Downloads window (which automatically removes the Download Bar)
  2. Closes the Downloads window
  3. Returns to the previously active tab
  4. Optional: resizes the window to your preferred dimensions
on run
    tell application "Google Chrome"
        activate

        -- know which tab to return to
        set active_tab to active tab index of front window

        tell application "System Events"
            tell application process "Google Chrome"
                -- opens download window and removes the download bar
                keystroke "j" using {command down, shift down}
                -- make sure the keystroke works
                delay 0.2
                -- closes the download window
                keystroke "w" using command down
            end tell
        end tell

        -- return to the tab
        set active tab index of front window to active_tab

        -- optional: resize to your preferred dimensions
        set bounds of front window to {50, 40, 1400, 810}
    end tell
end run

Like I said, after a while Google Chrome forgets the original window size. The bounds in the script are how I prefer my browser window on my MacBook Air resolution. You can remove this, or set it to whatever you want. I guess it's also possible to determine what the bounds are after the window has been resized, and then calculate what they were if you subtract the height of the Download Bar.

Install AppleScript as Service with keyboard shortcut

The easiest way to run this script is to install it as a system wide Service that you can then activate using a keyboard shortcut. To do this, follow these steps:

  1. Start the Automator application
  2. Create a "Service"
  3. Set the "Service receives" to "no input" (drop down) at the top
  4. Search for "AppleScript" on the left
  5. Drag the "Run AppleScript" action to the Workflow pane on the right
  6. Paste in the above code (and test it if you like)
  7. Save the Service as something like "Google Chrome: Close Download Bar"

Next:

  1. Go to System Preferences > Keyboard
  2. Select "Services" on the left
  3. Find your newly created Service on the right under the heading "General"
  4. Double click on the right side of that line to activate the shortcut input box
  5. Press your preferred key combo (I used Control–Option–Command–J)

And that's it. Now, whenever you press your key combo, Google Chrome will be activated (if it wasn't already), and the AppleScript is loaded removing the Download Bar. So it's also an easy way to quickly return to Chrome, e.g. when you did something with the file you downloaded.


Note 1: This also works in Google Chrome Canary; simply refer to "Google Chrome Canary" in the AppleScript.
Note 2: A similar approach should work in Windows using AutoHotKey.

Alec
  • 221
5

How about using this extension
https://chrome.google.com/webstore/detail/downloadr-download-manage/gjihnjejboipjmadkpmknccijhibnpfe

enter image description here

No place hogging download bar will show up any more.

Meow
  • 297
3

I did something close to Alec here, but my code is a little more efficient and resilient - mostly because it doesn't rely on keyboard shortcuts (much) and dynamically checks whether the shortcuts has registered before it goes on. Enjoy!

tell application "Google Chrome" to set i to active tab index of first window
tell application "System Events" to keystroke "j" using {command down, shift down}
tell application "Google Chrome"
    repeat
        if URL of active tab of first window = "chrome://downloads/" then
            exit repeat
        else
            delay 0.1
        end if
    end repeat
    set j to active tab index of first window
    delete tab j of first window
    set active tab index of first window to i
end tell
1

You can get rid of the download bar in Chromium with a keyboard shortcut. An extension for this purpose can be downloaded here:

http://metalab.at/wiki/Benutzer:Tessellated/Chromium_Clicky

Note that this project has been abandoned.

Excellll
  • 12,847
0

There is chrome extension "Close download bar" for closing download bar with hotkey.

d9k
  • 436
0

With the risk of violating some kind of guideline by suggesting a different browser, you might consider switching to Brave. It's identical to Chrome in all the relevant ways (it's Chromium as well, so it looks and behaves identically), plus it has a lot of extra features (vertical tabs, for instance) and is very privacy-oriented.

And, it allows you to completely disable the download bar and switch it out for an icon in the toolbar such as in Firefox, Safari, and other browsers.

Just write brave://flags in the location bar and press enter.

Search for download. Currently (April 10th, 2024), you'll have two flags here - Enable download bubble and Enable download bubble V2. I enabled both.

In the future, this may be moved to the regular browser settings, but currently this is where you'll find it.

FlamingKitties
  • 775
  • 9
  • 18
0

Here’s a script I came up with to close the downloads bar. Instead of opening and closing the downloads window, it just clicks the button to close the downloads bar.

tell application "System Events"
    tell application process "Google Chrome"
        tell window 1
            click button "Close"
        end tell
    end tell
end tell

I invoke it via FastScripts, although the method that @Alec describes should also work.