mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-09 21:24:55 +00:00
Disable all external links #716
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @serdar-sahin on GitHub (Oct 26, 2021).
Originally assigned to: @GregorBiswanger on GitHub.
Hi, firstly thank you for your great job.
How can i disable all external links in window?
For example, let's open a youtube video page, but clicking on other links on the page does not open a new window.
@danatcofo commented on GitHub (Dec 6, 2021):
I use this snippet inside my windows
@serdar-sahin commented on GitHub (Dec 8, 2021):
@danatcofo Thanks for your answer, but I need to change my question.
I open a new window with youtube embed url.
There are different links of youtube on the video screen that opens.
Clicking on these links opens other windows.
I want to block these windows.
@danatcofo commented on GitHub (Dec 8, 2021):
It's probably similar concept. Google it for a web page. It would be the same method in electron. Remember electron is just web pages with some raisins added.
@serdar-sahin commented on GitHub (Dec 10, 2021):
I guess an interception is not allowed inside the iframe.
@GregorBiswanger commented on GitHub (Mar 28, 2023):
🎉🚀 New Electron.NET version 23.6.1 released 🚀🎉
With native Electron 23 and .NET 6 support. Your problem should be fixed here. If you continue to have the problem, please let us know. Please note the correct updating of your API & CLI. Info in the README. Have fun!