Comments (4)
There appear to be further issues with lacking a Clear Downloads button, so I'll keep investigating. The font has gone wonky too. It looks like window.ucjs_downloadManagerMain() is failing with an error, which causes the init not to complete successfully. The download box does open however.
from firefox-scripts.
Where did you download ucjsDownloadsManager.uc.js?4 months ago The XPCOMUtils.defineLazyModuleGetter line was changed to ChromeUtils.defineESModuleGetters。https://github.com/alice0775/userChrome.js/blob/824ae9ae02a91a21ad6e8703f9f8cdf8941bd0a8/117/ucjsDownloadsManager.uc.js#L105C7-L107
from firefox-scripts.
Ah, my script might be out of date then. I'll take a look and compare to see what else I need to change.
from firefox-scripts.
So I updated to Alice's newest version for 117 and it didn't fix the issue, as of its current build. Looks like I'll need to report a bug there at some point. The remaining error I had was in ucjs_downloadManagerMain.init()
:
// xxx remove in-content css
- var elements = document.childNodes;
- for (var i = 0; i <= elements.length; i++) {
- var element = elements[i];
- if (element.nodeValue && element.nodeValue.indexOf("chrome://browser/skin/downloads/contentAreaDownloadsView.css") > -1) {
- document.removeChild(element);
- break;
- }
- }
+ let element = document.querySelector('link[href$="skin/downloads/contentAreaDownloadsView.css"]');
+ if(element) element.parentNode.removeChild(element);
There are two problems with the old code. The first is that the <=
in that loop was wrong all along, but it never triggered because of the fact that the loop was finding the right element before and breaking out before it got beyond the length of the array. The second problem is because this search for the CSS link was brittle, when the structure of the download manager changed in Firefox 120 it no longer found the old CSS link to remove.
from firefox-scripts.
Related Issues (20)
- SyloaiX icon missing in Firefox 119 HOT 4
- Icons ("US"/"AG") without color in StyloaiX popup - Firefox 120
- Private tab script not working since Firefox 119 HOT 8
- Tab Groups no longer working after update (working as of version 120 with workaround) HOT 2
- StyloaiX editor does not work correctly in Firefox 122 HOT 3
- Authentican issue in DownThemAll!
- The (old) about:config folder broken in Firefox v120+ HOT 1
- StyloaiX bug with multiple open window HOT 1
- Custom buttons disappear HOT 2
- Again, the private tabs script stopped working (from Firefox 123 onwards). HOT 9
- StyloaiX editor has small bug
- minmaxclose script not working on new 126.0 FF HOT 2
- Long context menu caused by Utils HOT 2
- What Does This Extension Do?
- Extensions Update Checker stopped working recently HOT 6
- A small bug in private tab script. Private tabs button disappears inside the tab bar when the tab bar is full instead of staying in place. HOT 2
- Now addons from Firefox Add-ons can't be installed with extension signature check disabled under mozilla's new practice! HOT 3
- DownThemAll "Set file time to last modified time (server)" is broken HOT 7
- DownThemAll "Copy Links" function is broken 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 firefox-scripts.