GitHub - sharpbrowser/SharpBrowser: A full featured web-browser built using C# and CefSharp (original) (raw)
SharpBrowser is the fastest and most full-featured open source C# web browser there is! Slightly faster than Google Chrome when rendering web pages due to lightweight CEF renderer. We compared every available .NET browsing engine and finally settled on the high-performance CefSharp. Released under the permissive MIT license.
- To customize the browser branding, name, URL, default search engine, default proxy, modify the
BrowserConfig
class. - To customize the application icon, change
sharpbrowser.ico
inside theResources
folder. - To customize the tab size and tab colors, modify the
BrowserTabStyle
class. - To enable or disable Web Camera, Microphone, Javascript, WebGL, WebRTC, WebMIDI, LocalStorage, modify the
BrowserConfig
class. - To register hotkeys for your own commands, modify the
HotkeyManager
class. - To register your own commands into the main menu, open the form designed for
MainForm
and click theMainMenu
object. AddIconMenuItem
objects into that menu. - To register your own commands into the page context-menu, modify
ContextMenuHandler.OnBeforeContextMenu
function, and then implement the command insideContextMenuHandler.OnContextMenuCommand
. - To setup how web app permissions are handled, modify
PermissionHandler.OnShowPermissionPrompt
(some flags are already insideBrowserConfig
and can easily be changed). - To add new settings saved in the JSON file, simply call
ConfigManager.Get*
andConfigManager.Set
anywhere in your code. It will save into the file automatically.