GithubHelp home page GithubHelp logo

Comments (8)

numirias avatar numirias commented on June 16, 2024

Thanks for reporting!

I think I can reproduce the issue in FF61+. I'll let you know when I got it fixed.

from paxmod.

 avatar commented on June 16, 2024

That is very strange @hashburger420 because I'm on Windows 10 (1803) too... have you set extensions.legacy.enabled to true?

from paxmod.

numirias avatar numirias commented on June 16, 2024

@Icejr That option shouldn't be required anymore if you're using paxmod 1.4. However, I think there is another issue with more recent FF versions which I'm currently investigating. It also seems to affect other extensions.

from paxmod.

numirias avatar numirias commented on June 16, 2024

@nt1m Sorry to bother you here. Are you familiar with any recent API changes for inlined webextension experiments?

With FF61, paxmod stopped working, and I can reproduce the same problem with an unrelated extension which leads me to believe this might be due to a change on Mozilla's end.

If you install paxmod in most recent FF61 you get:

TypeError: browser.stylesheet is undefined

(Curiously, this error does not occur when testing the extension via web-ext, only when installing the .xpi manually.)

The error indicates that browser.stylesheet isn't available (that's the inlined experiment API) but I can't figure out why it stopped loading the API.

Also I get an equivalent error when trying this extension. The extension ships an experiment API called tps and after installing it raises:

TypeError: browser.tps is undefined

Do you have a tip what might cause this or how to investigate?

from paxmod.

numirias avatar numirias commented on June 16, 2024

Okay I investigated this and @Icejr was right.

For some reason you initially need to set extensions.legacy.enabled to true. Then re-install paxmod. Otherwise, Firefox doesn't detect the bundled API experiment. I still believe this might be due to a change on Mozilla's side.

from paxmod.

numirias avatar numirias commented on June 16, 2024

Sorry for the noise everyone, it seems extensions.legacy.enabled was always a requirement. I added it back to the readme.

@hashburger420 Do you mind checking if the installation works for you now?

from paxmod.

hashburger420 avatar hashburger420 commented on June 16, 2024

I got it working after doing some non-poweruser fiddling now, had to re-open the dev browser about 3 times over. After removal of paxmod and readdition, restore defaults appeared to do nothing until re-initiating the browser a 3rd time, probably due to not having a fresh install. But it works now.

from paxmod.

nt1m avatar nt1m commented on June 16, 2024

@numirias Yes, the legacy add-on pref needs to be enabled. See: https://searchfox.org/mozilla-central/rev/f30847c12e5fb13791401ed4330ced3e1b9c8d81/toolkit/components/extensions/Extension.jsm#1417-1420

from paxmod.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.