-
Notifications
You must be signed in to change notification settings - Fork 96
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
"Error: Opening a new window is forbidden" when clicking links #285
Comments
The error message you see is a result of additional security check took place (preventing opening new app windows). Normally it should not happen but some links are tricky to intercept the clicking of. So the reason for the issue is that the link clicking interception logic implemented in the app has room for improvement. |
I thing the simple to implement solution for this issue would be in opening an the link as external / in-browser instead of raising the error. |
I just figured out an easy way to cause it on every click. If you middle-click (to open in a new tab) it will cause this. I have a habit of doing this when on the web, so this may have just been user error sometimes with muscle memory doing middle-click on the links instead of left-click. |
This is a good finding. I can easily reproduce the error doing middle button click. So adding a middle click handler plus the change from my previous message should resolve the issue. |
* so middle click on https/http links will lead to opening the url in a default browser (same behavior as primary button clicking)
The fix has been implemented and will be included in the next release. |
Amazing, thank you! |
Sometimes when clicking links in emails I get the following error:
![image](https://user-images.githubusercontent.com/5573038/80316763-41c5a380-87c5-11ea-9e14-3c212b1be3c6.png)
Clicking it again it usually goes away and works fine, but I'm not sure what the cause is.
The text was updated successfully, but these errors were encountered: