-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firefox 115 cannot verify addon #233
Comments
|
Firefox scripts have not been updated for years, they are installed and working. I removed TabMix and now I can no longer install it due to the same error - unsigned add-on. |
After multiple tries, Firefox crashes and whatnot I managed to re-install it as a temporary add-on. Something got messed up in FF 115. |
Nope, sorry, this is ongoing. Same story after re-launching Firefox. Extension can now be loaded only as a temporary add-on. |
It was updated, this year. Just go to firefox-scripts and follow the instruction from start. you can try to clear your profile cache, to to about config, find your profile, and follow the link to 'Local Directory' where Firefox save your profile cache, and remove it other option is to create new profile, if you do, make sure to install read this for more tips #159 |
I installed it in Jan 2023. Checked all files MD5 sums, they are good. I'm on Ubuntu, I cleared the startup cache - made my laptop freeze a few times till I got it to run successfully. There are other issues with this version of FF too but downgrading doesn't let me in - asks me to create a new profile cause it MIGHT corrupt my bookmarks or whatever. I'll see if I can get around this bs somehow. |
Noticed the following error but not sure what's causing it: Missing chrome or resource URL: chrome://userchromejs/content/userChrome.jsm As mentioned firefox-scripts files are as they should be. Permissions are OK, files are OK...I'm running out of ideas. P.P. Got it, it's a cosmetic error. userChrome.jsm is included only in the package that is used for both scripts and extensions so it's non-presence shouldn't affect anything. extracted it to get rid of the error but I still cannot install the add-on except as a temporary one. |
I have tested Firefox beta and nightly on my ubuntu with It look like If you are using If you are using regular non-snap Firefox go to |
No snap, only official repos and .js files are latest versions, correct permissions and where they should be or...see official guide: xiaoxiaoflood/firefox-scripts#8 (comment) Path is given as: /usr/lib/firefox/browser/defaults/preferences/config-prefs.js Yours renders to: /usr/lib/firefox/defaults/pref/config-prefs.js Which is the correct one? I have it in both places now, still the same story. |
the correct path is
when you open Firefox, check before anything else if you see any messages in the |
Nope, no errors regarding the config files in either view: |
the file |
Follow this steps to identify any errors from config.js
// skip 1st line
lockPref('xpinstall.signatures.required', false)
lockPref('extensions.install_origins.enabled', false)
try {
dump('start config.js\n')
const cmanifest = Cc['@mozilla.org/file/directory_service;1'].getService(Ci.nsIProperties).get('UChrm', Ci.nsIFile);
cmanifest.append('utils');
cmanifest.append('chrome.manifest');
Components.manager.QueryInterface(Ci.nsIComponentRegistrar).autoRegister(cmanifest);
const objRef = ChromeUtils.import('resource://gre/modules/addons/AddonSettings.jsm');
const temp = Object.assign({}, Object.getOwnPropertyDescriptors(objRef.AddonSettings), {
REQUIRE_SIGNING: { value: false }
});
objRef.AddonSettings = Object.defineProperties({}, temp);
Cu.import('chrome://userchromejs/content/BootstrapLoader.jsm');
} catch (ex) {
dump(ex)
};
try {
Cu.import('chrome://userchromejs/content/userChrome.jsm');
} catch (ex) {
dump(ex)
}; |
I keep repeating that I'm on Ubuntu, there is no firefox.exe here :) Here are the log contents: `start config.js ATTENTION: default value of option mesa_glthread overridden by environment. console.warn: TopSitesFeed: Failed to fetch data from Contile server: cacheHeader is null` |
I have no idea why it doesn't work for you |
@TheGrave How about run this : |
I think something is missing in this command, I get "AddonManager is not defined". |
Doesn't work on latest version. |
Run that in this console https://imgbb.com/pPCYYDM |
There is only a filter field in this console. As ignorant as I am I think this is JS code that needs to be executed so definitely not the place. |
Not following. This looks like an old patch to me, are you experiencing the problem as well in Firefox 115? |
This will solve the problem of not being able to validate the certificate. |
run this is your browser console If the output is report back and we continue to search for solution... |
|
I revisited some of your previous tips and re-did the dumping in the log file. Now I got something interesting:
|
After reverting the files to this commit the only thing happend is my browser got screwed REAL BAD :) No tabs shown, no extensions loaded, drop-down menus can be pulled but no item can be entered. |
Its called browser toolbox. |
always use the browser console when debugging Firefox or extension. the console you open is the page console. try this command again from the browser console |
Nothing changed, still I attached all my config files in current state ( |
@gelirhil, |
TMP v1.0.0-pre.16 installed for me in 115.0 - 117.0. Try changing the config.js file to this, it's Dumby's code who manages the Custom Buttons addon |
Sorry for confusion. I believe now it was my mistake. I incorrectly placed firefox-scripts files into I'm attaching once again all my current config files. |
Thanks, #233 (comment) fixed it for me on OSX 13.4.1 and firefox 115.0.2 |
Thank you. I took files from your archive. All is working now for me too. Thank you! |
@onemen thank YOU for your work! |
Solved the issue for www-client/firefox-bin-115.0.2 on Gentoo with installation in /opt/firefox . |
Thanks for the I also took files from your archive and copy them to the right place... after reading carefully your explanations. I resume (if i don't make a mistake):
AND All is working now for me too for: 115.0.3 Firefox Release Thank you guys ! |
Uninstall Tab mix. |
Interesting, while I used the same XPI as before (it was the latest), it works properly now after I simply reinstalled TMP again. Could have figured myself, thanks! |
Hi @onemen . |
|
Not working here sadly |
try to create new profile |
Thank you so much @onemen |
Almost every Firefox update I need to fix something like removing TMP extension, reinstalling all the custom JS, it's getting a lot of work to keep that addon working just for getting multi-line tabs. This time, updated to Firefox 117.0, it is not sufficient to just uninstall TMP. Again I need to check if there is any change on those custom JS. Any idea? |
Script it. At least on Windows you have some workaround. Firefox Scripts hasn't been fixed for Linux for the 2+ months since I reported this bug. |
Have the fixes in place before you grant permission to the update. |
That means there is no patch of the scripts for Linux right now and I need to patch it manually? |
#237 (comment) |
It doesn't. You get an empty screen Firefox and the app is unusable, been reported multiple times. Test it in a VM. |
Patch it manually with what exactly? I haven't seen a working version of firefox-scripts for versions above 115 on Ubuntu and I tested all suggestions in the tickets related to this bug in both repos. |
I'm going to take a break with TMP on Linux now... |
I'm going to look for alternatives too. This has become too much of a burden to deal with and I'm tired of trashing a working browser on a regular basis with these scripts. |
I figured it. What is missing from this guide: is that you need a file called rebuild_userChrome.uc.js in the chrome folder with the following contents: // ==UserScript== // original: https://github.com/alice0775/userChrome.js/blob/master/rebuild_userChrome.uc.xul UC.rebuild = { menues: [], onpopup: function (event) {
}, onHamPopup: function (aEvent) {
clickScriptMenu: function (event) { shouldPreventHide: function (event) { launchEditor: function (script) { restart: function () {
}, toggleScript: function (script) {
}, toggleUI: function (byaboutconfig = false, startup = false) {
}, createMenuItem: function (doc, id, icon, label, command) { install: function (script) { uninstall: function(script) {
}, shutdown: function (script) { elBuilder: function (doc, tag, props) { init: function () {
}, createButton (aDocument) {
} UC.rebuild.init(); Bloody piece'o'crap is working again in Ubuntu now. |
Today I upgraded from 114 to 115 and ka-boom:
https://ibb.co/ykx7FFh
https://ibb.co/yhGqgr8
The text was updated successfully, but these errors were encountered: