Comments (3)
Oh, too many things for options page...
Downloads menu item [Open old downloads window v]
Downloads menu item in private window [Default (don't override) v]
“Show All Downloads” item [Default (don't override) v]
“Show All Downloads” item in private window [Default (don't override) v]
Hotkey for downloads (Ctrl+J) [Toggle download panel v]
Hotkey for downloads (Ctrl+J) in private window [Toggle download panel v]
from download_panel_tweaker.
Oh, too many things for options page...
A but tricky (for margins) and Firefox itself is buggy width menulists:
from download_panel_tweaker.
Also we have "Downloads" button on about:home page...
chrome://browser/content/browser.js
messageManager.loadFrameScript("chrome://browser/content/content.js", true);
chrome://browser/content/content.js
onClick: function(aEvent) {
...
case "downloads":
sendAsyncMessage("AboutHome:Downloads");
resource:///components/nsBrowserGlue.js => resource:///modules/AboutHome.jsm
MESSAGES: [
...
"AboutHome:Downloads",
...
],
init: function() {
let mm = Cc["@mozilla.org/globalmessagemanager;1"].getService(Ci.nsIMessageListenerManager);
for (let msg of this.MESSAGES) {
mm.addMessageListener(msg, this);
}
Anyway, seems that we can't use this way to handle "AboutHome:Downloads" message (missing things like event.preventDefault()/stopPropagation()):
https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsIFrameMessageManager
https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsIFrameMessageListener
But we still can handle "click" event before content script...
from download_panel_tweaker.
Related Issues (20)
- Fix import of DownloadsCommon.jsm: resource://app/ doesn't refer to resource:/// since Firefox 38.0a1
- Issues with "Don't remove finished downloads" in Firefox 38.0a1+
- Can't update panel on the fly in Firefox 38.0a1+ HOT 1
- Can't get data from downloads in Firefox 38.0a2+
- middle click also removes download from history HOT 3
- Tooltip for path not working in latest Nightly HOT 3
- Middle-click to remove downloads broken on firefox 47 HOT 2
- "Remove From History" gets confused with duplicate entries HOT 3
- [Request] Always show the full destination path for downloads, without requiring hovering over
- Seems to be broken on firefox 51 HOT 1
- Limit the panel height to screen area.
- The downloads are not remembered between sessions anymore on Firefox 49+ HOT 3
- New style changes in FF 52 HOT 7
- Menu bar shown when accessing options HOT 2
- Add "Clear Downloads" command to footer dropmarker HOT 5
- Toggling panel (while in menu) opens it below window HOT 2
- widget-overflow panel is not closed correctly
- Visual glitches for text inside download panel (appears with delay or not appears at all) HOT 3
- [Request] Reintroduce remaining time on the downloads button
- WebExtension compatibility HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from download_panel_tweaker.