Build Cross Platform HTML Desktop Apps on .NET using native GUI, HTML5, JavaScript, CSS, Owin, AspNetCore (MVC, RazorPages, Blazor)
2.99k
stars
279
forks
source link
Howto: How to enable "View page source" menu item #351
Closed
mattkol closed 2 years ago
To enable "View page source", create a custom context menu using DefaultContextMenuHandler.
Make changes to the menu items - https://github.com/chromelyapps/Chromely/blob/1f95b7d1475cd56bd9a50b1d8df7140e42810e22/src/Chromely/Browser/Handlers/DefaultContextMenuHandler.cs#L38
CrossPlatDemo.zip
Register the custom context menu handler: