Skip to content

A full featured web-browser built using C# and CefSharp

License

Notifications You must be signed in to change notification settings

CreateBrowser/SharpBrowser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build OpenSource

Windows OS Desktop PC Build Status


The Prerequisites are Required: Loading Preview

Microsoft .NET Framework 4.7

Build Downloader


NOT Microsoft .NET Framework 4.5.2


SharpBrowser

SharpBrowser is the fastest 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 browsing engine and finally settled on the high-performance CefSharp. Released under the permissive MIT license.

Features

  • HTML5, CSS3, JS, HTML5 Video, WebGL 3D, etc
  • Tabbed browsing
  • Address bar (also opens Google)
  • Back, Forward, Stop, Refresh
  • Developer tools
  • Search bar (also highlights all instances)
  • Download manager
  • Custom error pages
  • Custom context menu
  • Easily add vendor-specific branding, buttons or hotkeys
  • View online & offline webpages

Hotkeys

Hotkeys Function
Ctrl+T Add a new tab
Ctrl+N Add a new window
Ctrl+W Close active tab
F5 Refresh active tab
F12 Open developer tools
Ctrl+Tab Switch to the next tab
Ctrl+Shift+Tab Switch to the previous tab
Ctrl+F Open search bar (Enter to find next, Esc to close)

Code

  • SharpBrowser uses CefSharp 51, NET Framework 4.5.2
  • MainForm.cs - main web browser UI and related functionality
  • Handlers - various handlers that we have registered with CefSharp that enable deeper integration between us and CefSharp
  • Data/JSON.cs - fast JSON serializer/deserializer
  • bin - Binaries are included in the bin folder due to the complex CefSharp setup required. Don't empty this folder.
  • bin/storage - HTML and JS required for downloads manager and custom error pages

Credits

Screenshots

Apple Homepage

Google Maps

Search Bar

Downloads Tab

Developer Tools

Custom Error Pages