Comments (7)
Look like there is a simple fix to this issue
Add the line delete Constants.AppConstants;
firefox-scripts/chrome/utils/BootstrapLoader.jsm
Lines 18 to 22 in c9ad505
// signing bypass by onemen
const Constants = ChromeUtils.import('resource://gre/modules/AppConstants.jsm');
const temp = Object.assign({}, Constants.AppConstants);
temp.MOZ_REQUIRE_SIGNING = false
+ delete Constants.AppConstants;
Constants.AppConstants = Object.freeze(temp);
from firefox-scripts.
but now i get BootstrapLoader: TypeError: property "AppConstants" is non-configurable and can't be deleted
need to investigate more !!!
from firefox-scripts.
This may prevent release channel to use legacy add-ons ever again ?!!
If the AppConstants
is unchangeable in the future, Is it possible we redirect whole file to an edited one? Like what Mozilla are doing now with from .jsm
to .sys.mjs
?
from firefox-scripts.
Fixed, right?
from firefox-scripts.
@xiaoxiaoflood, it is working,
however it may trigger an issue for Waterfox users, same as #149, maybe you can move all the bootstrap loading code into a new file in chrome/utils
from firefox-scripts.
xiaoxiaoflood,
This is puzzling trying to figure out where the problem is coming from but since updating BootstrapLoader.jsm the custom and script buttons are larger now than the addon icons on the toolbars. Aris cannot reproduce it so it does not appear to be a firefox issue.
Can you reproduce it? I have downloaded and installed some of your script buttons and those icons are larger too.
from firefox-scripts.
The change shouldn't disturb ESR v102. As you can see in the code, it works with both v108+ (AppConstants.sys.mjs
) and v107- (AppConstants.jsm
). Even because I use DevEd, I'd never push an update that doesn't work on DevEd (currently in v107, actually I'm still using v106).
And I can't move signing bypass code away from config.js
because this new version would cause recursion.
No, everything is fine for me and I see no relation between latest change and the size of anything.
from firefox-scripts.
Related Issues (20)
- Norwell History Tools Visual Bugs in Firefox 115.0.3 HOT 17
- multifoxContainer: Not working
- Last update broke firefox-scripts HOT 1
- DownThemAll not working since Nightly 118.0a1 Builddate 20230811095324 HOT 37
- Status Bar broken in 117 HOT 6
- StatusBar doesn't styled properly in Firefox 115.2.0 ESR under Windows 7 HOT 1
- Fast Tab Switcher not Working on 117 HOT 2
- History and bookmarks are not available with Enter Selects HOT 1
- Status bar background color changed in Firefox 119 HOT 5
- SyloaiX icon missing in Firefox 119 HOT 4
- Icons ("US"/"AG") without color in StyloaiX popup - Firefox 120
- ucjsDownloadsManager.uc.js won't open window in Firefox 120 HOT 4
- 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
- Custom buttons disappear HOT 2
- Again, the private tabs script stopped working (from Firefox 123 onwards). HOT 8
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.