Skip to content
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

general.useragent.override and addons.mozilla.org #173

Open
z9385pdi opened this issue Sep 1, 2024 · 8 comments
Open

general.useragent.override and addons.mozilla.org #173

z9385pdi opened this issue Sep 1, 2024 · 8 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@z9385pdi
Copy link

z9385pdi commented Sep 1, 2024

If I set the browser to not Firefox, or even if keep the browser as Firefox but the version is set too low, addons.mozilla.org will not allow me to install addons. Is there a way to set user agent override for all sites except addons.mozilla.org so I can still install addons?

@z9385pdi
Copy link
Author

z9385pdi commented Sep 2, 2024

I'm asking the developer to add something like:

general.useragent.override.exclude addons.mozilla.org

Of course, I don't know much about the internals of Firefox, so I asked a generic question first. It's complicated to me. It seems even if I changed the user agent, I still can receive updates to the addons I have installed.

Btw, I don't want to use any of the Firefox customization scripts on Github. I prefer a built-in solution by the r3dfox developer.

@krystian3w
Copy link

krystian3w commented Sep 2, 2024

Could you test these preference:

general.useragent.override.addons.mozilla.org

with value:

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Firefox/129.0

It works with that fork at my side correctly.

It can be annoying that synchronize of 3 numbers almost on every 4 weeks or so if you are not using the ESR branch. It might be worth moving this to the user.js file then: https://kb.mozillazine.org/User.js_file to away edits in standard pref.js in Fox profile.

@jonm58
Copy link

jonm58 commented Sep 3, 2024

@K4sum1 Close this issues

@z9385pdi
Copy link
Author

z9385pdi commented Sep 4, 2024

@K4sum1 Close this issues

Why? Where are you come from? Thin air? Ridiculed my posts by a laugh icon and a thumb down. Then demand my thread to be closed?

@z9385pdi
Copy link
Author

z9385pdi commented Sep 4, 2024

@krystian3w I got your idea. Use per domain user agent overwrite for addons.mozilla.org. I don't know that it has higher priority than the general user agent overwrite for all domains. Thank you.

@K4sum1
Copy link
Member

K4sum1 commented Sep 16, 2024

Going to close this since I'm not sure what to do. If you want me to do something, I'll reopen.

@K4sum1 K4sum1 closed this as completed Sep 16, 2024
@krystian3w
Copy link

krystian3w commented Sep 16, 2024

The descriptions seems to be understandable and can be used instead of per-domain overrides when masquerading as another browser.

The submitter wanted a key that would deactivate global overwrite without regularly updating UA for add-ons domain:

general.useragent.override;foo
general.useragent.override.exclude;addons.mozilla.org,example.com

(Instead use:

general.useragent.override.addons.mozilla.org;Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0)


Since I have no idea how complicated it will be, I don't insist on implementing it as long as domain key superiority works and there are few UA add-ons that check if the browser will support it add-on (API News MV2/MV3 or ECMAScript syntax).

@K4sum1
Copy link
Member

K4sum1 commented Sep 18, 2024

Not sure if I will ever do it, but I'll keep it open.

@K4sum1 K4sum1 reopened this Sep 18, 2024
@K4sum1 K4sum1 added enhancement New feature or request help wanted Extra attention is needed labels Sep 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants