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

How to use extension from folder on development #6

Closed
onemen opened this issue Jan 15, 2021 · 4 comments
Closed

How to use extension from folder on development #6

onemen opened this issue Jan 15, 2021 · 4 comments

Comments

@onemen
Copy link
Owner

onemen commented Jan 15, 2021

In the good old days before Webextensions I could place a file in profile/extensions folder with a link to my working directory.
that configuration eliminate the need to create XPI file and install it after each change

for extension with id EXT_NAME@AAA.com the file name was the same as the id (EXT_NAME@AAA.com)
and its content was

path\to\working\direcory

Is it possible to do the same with Firefox nightly when using helper loader ?

@117649
Copy link
Contributor

117649 commented Jan 15, 2021

@xiaoxiaoflood
May require a modified loader.

I've misunderstand this I was thought you are talking about bootstrap loader.

@onemen
Copy link
Owner Author

onemen commented Jan 15, 2021

look like it and install the extension, however it always use the cached data even after restart.
I will try look how Firefox remove the cached extension data after updated

@117649
Copy link
Contributor

117649 commented Jan 15, 2021

look like it and install the extension, however it always use the cached data even after restart.
I will try look how Firefox remove the cached extension data after updated

So you talking about this? Sorry I never used this.

For clearing cache these instructions for custom script may be useful.

@onemen
Copy link
Owner Author

onemen commented Jan 16, 2021

Look like there is Firefox preference for this
extensions.%ID%.getAddons.cache.enabled

just replace %ID% with addon Id, and set it to false in about:config
Tab Mix ID is: {dc572301-7619-498c-a57d-39143191b318}
extensions.{dc572301-7619-498c-a57d-39143191b318}.getAddons.cache.enabled ---> false

@onemen onemen closed this as completed Jan 24, 2021
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