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

Programmatically change settings #1247

Closed
szepeviktor opened this issue Jan 17, 2016 · 3 comments
Closed

Programmatically change settings #1247

szepeviktor opened this issue Jan 17, 2016 · 3 comments

Comments

@szepeviktor
Copy link
Contributor

How is it possible to check I am an advanced user from Firefox's user.js?
If it is impossible then do you plan to support this?

I use uBlock and Firefox without any installation, by just extracting the setup.exe, then deleting everything.

Thanks.

@gorhill
Copy link
Owner

gorhill commented Jan 17, 2016

In about:config, add extensions.ublock0.adminSettings as a string value, and set it to {"userSettings":{"advancedUserEnabled":true}}. The content of extensions.ublock0.adminSettings will always write over whatever user settings it declares.

See #531.

@gorhill gorhill closed this as completed Jan 17, 2016
@szepeviktor
Copy link
Contributor Author

You're very kind.

@szepeviktor
Copy link
Contributor Author

Meanwhile my hack proved to be working:

  • strip down ublock0.sqlite to just the needed rows
  • copy it to %PROFILEDIR%\extension-data\
  • start Firefox

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants