Created
December 31, 2019 15:51
-
-
Save gabrielfern/bf21df5b56d574eebe7d53e6291e49f6 to your computer and use it in GitHub Desktop.
Google Chrome extension to disable download bar that automatically appears when download is started
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chrome.runtime.onInstalled.addListener(() => { | |
chrome.downloads.setShelfEnabled(false) | |
}) | |
chrome.runtime.onStartup.addListener(() => { | |
chrome.downloads.setShelfEnabled(false) | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Disable Shelf", | |
"version": "1.0", | |
"manifest_version": 2, | |
"permissions": ["downloads", "downloads.shelf"], | |
"background": { | |
"scripts": ["background.js"], | |
"persistent": false | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment