-
Notifications
You must be signed in to change notification settings - Fork 191
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
Add option to disable "open this link in browser" popup. #2662
Comments
Yeah i think this is a good idea, would support putting an option in the modal, something like "Don't show me this again" |
I think it would be better to add "Trust this domain" button which adds this exact hostname to list of trusted and put "Disable link warnings" in settings instead. Users presented with "don't show me this again" will usually click it, because it removes extra time-wasting step for them (risking security), and by adding option to disable these popups to settings we add extra customization for users who took their time to search for settings for this exact option and who take responsibility of clicking on unknown links. |
I noticed that in current implementation pressing "esc" while in this modal copies link to clipboard. Is this intentional? Looks like bug because SessionConfirm modal is used. I created separate component Here is reference from Discord: Here is patch for this: And for trusted websites feature: I added TrustWebsitesController which is a simplier copy of BlockedNumberController that stores trusted hostnames in db by By the way, I fixed this issue when options were shrinking because of too small resolution. This is fixed by applying However, I noticed that Here is final patch with 0001-feat-trusted-websites-list-and-trust-hostname-btn.patch And I'll create a pull request when GitHub support detach my bot framework repo and I'll be able to fork session desktop client repo again. |
Thanks for taking a stab at this @VityaSchel , after looking at this further, i think we want to take this in house as we want to support this feature cross platform and potentially sync the URL list cross platform, which extends this from being a simple PR into something more complex. Tracking this via Jira internally as https://optf.atlassian.net/browse/SES-1808 |
This commit adds the trusted websites list via TrustedWebsitesController and "Trust [hostname]" button to OpenExternalLinkDialog. Need help with resolving issue with persisting it to db. See oxen-io#2662.
I was finally able to create PR with my code #3088 so feel free to take anything from it, if it helps :) |
Describe the bug
The session client on android/mac/windows is asking if I want to open a link in the browser.
There should be an option to disable that popup and open it directly in the browser.
To Reproduce
Screenshots or Logs
Other information (please complete the following information):
The text was updated successfully, but these errors were encountered: