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 fix/force Warnattachment settings? #17

Open
Saxomania opened this issue Mar 31, 2023 · 8 comments
Open

how to fix/force Warnattachment settings? #17

Saxomania opened this issue Mar 31, 2023 · 8 comments

Comments

@Saxomania
Copy link

we like the idea to use this extension (we mostly use Outlook but a lot of users use also Thunderbird.) In Outlook a lot of attachments are blocked and we want to have this same behaviour in Thunderbird. Natively there is no way and so we found WarnAttachment. But the question is how to avoid that users can self configure the settings in WarnAttachment?

Any idea?

@jdede
Copy link
Owner

jdede commented Mar 31, 2023

Hm, the settings are stored in a normal txt-file / the about:configwhich can bed edited by the user. So a bullet-proof solution is not possible, at least not straightforward.
An easy solution would be to allow disabling the settings dialogue by adding a boolean value in the about:config view. So the barrier is a little bit higher.

@Saxomania
Copy link
Author

Saxomania commented Mar 31, 2023

the settings are stored in a normal txt-file

can you guide me to the location please, i checked thunderbird user profile but did not find it

An easy solution would be to allow disabling the settings dialogue by adding a boolean value in the about:config view. So the >barrier is a little bit higher.

that would be a good solution so may i could force the value/setting and user is not able to change it

maybe but also just maybe :) would it be possible to store the settings for all 4 settings of WarnAttachement in about:config as well?

@jdede
Copy link
Owner

jdede commented Mar 31, 2023

Hm, the standard way of storing the settings is the app-specific local storage. This one offers a nice API and is also explained in the docs. I think it quite a lot of work to change it.

Also tried to find the settings and it seems not to be that easy.

Maybe blocking with a password would be the easier way. Will think about it.

@Saxomania
Copy link
Author

Thank you, dont put too much effort in it. i guess its not really needed for the default home user

@cm-schl
Copy link

cm-schl commented Apr 17, 2023

Hi,
I know that it could be complicated to change the way your plugin saves the settings, but I would like to add that a centralized configuration option would be great 🙂.
I your plugin could be configured by about:config it would be possible to deploy settings to all users. This would be interesting for companies.

@jdede
Copy link
Owner

jdede commented Apr 17, 2023

Hmm, should work as here: https://github.com/TB-throwback/LookOut-fix-version
Does anybody of you have time to implement?

@cm-schl
Copy link

cm-schl commented Apr 18, 2023

To be honest, I have no clue how this could be done with the new system of saving settings in the app-specific storage... 🤔

@jdede
Copy link
Owner

jdede commented Apr 19, 2023

Right now, the settings are implemented as described in the corresponding tutorials which is this app-specific storage. Using the one in the about:config seems to require additional code (and knowledge).

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

3 participants