DotNetBrowser 1.9: CSS Injection & HTML5 AppCache

Great news for Visual Studio users! DotNetBrowser 1.9 can be used as a web browser component for .NET apps, developed in Visual Studio 2017 RC.


Apart from Visual Studio 2017 RC support, in this version, we concentrated on extending DOM API with new features, ability to specify custom CSS rules which will be then applied to every loaded web page, enhancements in heavyweight rendering mode, and several other important updates, aimed at improving security and performance of the library. 


Custom CSS rules


We have added CSS injection functionality that you can use to specify custom CSS rules, which will be then applied to every loaded web page. It can be useful when you need to apply the same CSS rules to every web page. For example, to disable scroll bars on the loaded web page. To get more details on how to use this functionality check the example.


Extended DOM API


DOM API is extended with functionality, which allows you to request focus on particular HTML DOM element. See the new DOMElement.focus() and DOMElement.blur() methods.


Improved heavyweight rendering mode

  • Functionality, which allows listening to drag & drop events on the loaded web page when heavyweight rendering mode is enabled. See example.
  • Now you can listen to touch & gesture events on the loaded web page as well. See example.
  • We also fixed several reported issues related to keyboard focus in heavyweight rendering mode.


HTML5 AppCache


In this version we introduced API that allows working with HTML5 application cache storage. It allows you to get all app cache entries for a particular web page and clear them if it’s necessary. See example.


Server & delegate whitelist


Starting from this version, DotNetBrowser supports server and delegate whitelist. This feature allows you to use Kerberos authentication for the listed domains. See example.


Other improvements

  • Ability to obtain Chromium render process ID. See the  Browser.RenderProcessInfo property.
  • Ability to determine the Browser instance that has caused authorization request. Check out the AuthRequiredParams.Browser property.
  • Ability to capture an image of a very long page . See example.


Request evaluation licence

Download DotNetBrowser 1.9


Release date: February 3, 2017

Login to post a comment