onemen

Results 214 comments of onemen

> TMP has been updated.. but it seems .css changes I made in UserStyles folder no longer work.. pretty sure that stuff worked with styloaix ...no longer the case? check...

@fxzzi > setting a new tab page also seems to be broken. I used to do it minimally like so: Use this instead: ```js let { AboutNewTab } = ChromeUtils.importESModule("resource:///modules/AboutNewTab.sys.mjs");...

![sort](https://github.com/user-attachments/assets/f0a31742-36f4-423a-9c9e-517087caecd7) This is what we have. It sort the tabs in the list

If a script (*.uc.js file) stop working check if updating the script header help ```diff // @include main + // @include about:* + // @include chrome://devtools/content/.* ```

I have similar issue when importing userEvent on ESM project ("type": "module") `import userEvent from '@testing-library/user-event'` userEvent have no types ![missing_types](https://user-images.githubusercontent.com/3650909/236637925-fcacc215-fb55-4a4a-928a-cf34513fb2f8.png)

@117649, look at `Extension.sys.mjs` I think we can use `aomStartup.registerChrome` but we will need to convert `addon/chrome.manifest` to `chromeEntries` array ```js const chromeEntries = [ ['content', 'tabmixplus', 'chrome/content/'], ['content', 'tabmix-prefs',...

@evilpie, any advice? without `nsIComponentManager.addBootstrappedManifestLocation` all legacy extension will stop working on Firefox 142

@117649 test this [utils.zip](https://github.com/user-attachments/files/20967207/utils.zip) I replaced `Components.manager.addBootstrappedManifestLocation(file)` with: ```js const addonManagerStartup = Cc["@mozilla.org/addons/addon-manager-startup;1"] .getService(Ci.amIAddonManagerStartup); const manifestURI = getURIForResourceInFile(file, 'chrome.manifest'); const chromeEntries = await parseManifestEntries(manifestURI) this.chromeRegistryHandle = addonManagerStartup.registerChrome(manifestURI, chromeEntries); ``` `parseManifestEntries`...

@117649 On My Windows 11 pc, when Firefox start cold, and {dc572301-7619-498c-a57d-39143191b318}.manifest does not exist i get this error: `Could not read chrome manifest 'file:///C:/Users/_______/AppData/Roaming/Mozilla/Firefox/Profiles/40xnlurj.Default%20Nightly%202025/chrome/utils/addonManifest/%7Bdc572301-7619-498c-a57d-39143191b318%7D.manifest'.` the file is created. Edit:...

@117649 when i use ```js function createManifestTemporarily(manifestText) { let tempDir = Services.dirsvc.get("ProfD", Ci.nsIFile) tempDir.append("browser-extension-data"); tempDir.append(addon.id); tempDir.append("temp.manifest"); let foStream = Cc[ "@mozilla.org/network/file-output-stream;1" ].createInstance(Ci.nsIFileOutputStream); foStream.init(tempDir, 0x02 | 0x08 | 0x20, 0o664, 0);...