Για να δοκιμάσετε τα χιλιάδες διαθέσιμα πρόσθετα που είναι διαθέσιμα εδώ, κάντε λήψη του Mozilla Firefox, ενός γρήγορου, ελεύθερου τρόπου για πλοήγηση στο διαδίκτυο!
ΚλείσιμοΚαλώς ορίσατε στα πρόσθετα Firefox.
Διαλέξτε μεταξύ χιλιάδων επιπλέον χαρακτηριστικών και στυλ για να κάνετε τον Firefox δικό σας.
ΚλείσιμοΑξιολόγηση για το userChromeJS από τον/την Dan
Rated 5 out of 5 stars
Lost all my buttons with 102.0. Will an update for the new version be possible?
Edit: thanks for the reply.
Ok found the problem. Your addon is indeed still working however the code for creating separate buttons with .uc extension no longer does. You posted it previously:
let protocolHandler = Services.io.getProtocolHandler("file").
QueryInterface(Components.interfaces.nsIFileProtocolHandler);
let userChromeDirectory = Services.dirsvc.get("UChrm", Ci.nsIFile);
for (let file of userChromeDirectory.directoryEntries) {
if (! file.leafName.endsWith(".uc.js"))
continue;
let url = protocolHandler.getURLSpecFromFile(file);
Services.scriptloader.loadSubScriptWithOptions(url, {
target: document.defaultView,
charset: "UTF-8",
ignoreCache: true
});
}
If the code is placed in userchrome then it's good.
I'm not sure what you mean by "buttons" or what "buttons" have to do with userChromeJS. I just tested userChromeJS with TB102 today and it seems to work just fine. If there is code in your userChrome.js file that's creating buttons of some sort, and that code is no longer working in TB102, then I don't think that's because userChromeJS isn't working, I think it's because the code isn't working, and that's not anything userChromeJS can fix.
In any case this isn't the right place to seek support for the add-on. Please see the support email address on the add-on home page for further assistance.
Για να δημιουργήσετε τις δικές σας συλλογές, θα πρέπει να έχετε λογαριασμό στα Πρόσθετα Mozilla.