-
Notifications
You must be signed in to change notification settings - Fork 163
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
Option to always allow external images #873
Conversation
79e4e00
to
a6d2ff1
Compare
Why do we want to keep the exceptions in a set of cookies? Might be too much information for the cookie storage - imagine people allowing all external resources in many emails one after the other. Instead, can't we do it all in JS on client-side? E.g. server-side continues to replace src attributes but also adds data-source, so JS code can access the original sources. It can also add the proper allow/allow all links but then JS handlers will actually execute, replace img tags with actual sources and allow the display if user clicks the action buttons/links. |
What you're suggesting is valid, but then, it would require the user to always perform that action of allowing external images whenever they open the same email and want to visualize images because we are not storing the state anywhere. I think the purpose is to make it easy for the user so they don't repeat the same action always, we are even planning to add another option that will allow the user to always display images from a certain sender. |
Can we use local storage or session storage much like other cypht code use it in that case? |
Ok, let's explore that way. |
5ecf87b
to
83f2203
Compare
b13c228
to
463f468
Compare
463f468
to
635a984
Compare
635a984
to
3412565
Compare
…he user to approve each one individually or all at once or approve all resources from the sender
3412565
to
2e9519a
Compare
Description
show the list of all external resources in an email and allow the user to approve each one individually or all at once or approve all resources from the sender.
Issues