JavaScript—.NET Bridge

Accessing JavaScript Object
using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using DotNetBrows...
Tue, 31 Jan, 2017 at 1:15 PM
Modifying JavaScript Object Properties
using DotNetBrowser; using DotNetBrowser.Events; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Th...
Tue, 31 Jan, 2017 at 1:17 PM
Invoking JavaScript Object Methods
using DotNetBrowser; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace J...
Tue, 31 Jan, 2017 at 1:18 PM
Invoking JavaScript Function with Parameters
using System.Linq; using System.Text; using System.Threading.Tasks; using DotNetBrowser; using DotNetBrowser.Events; using System.Threading; namespa...
Tue, 31 Jan, 2017 at 1:19 PM
Passing .NET Object as a Parameter to JSFunction.Invoke()
JavaScript Side <script type="text/javascript">    // get .net object public field from js    var myFunction1 = function (a) {        ...
Thu, 2 Feb, 2017 at 6:28 PM
JS—.NET Bridge Sample — VB.NET+WinForms
Imports DotNetBrowser Imports DotNetBrowser.Events Imports DotNetBrowser.WinForms Public Class Form1 Private browserView As WinFormsBrowserView ...
Tue, 31 Jan, 2017 at 1:56 PM
Injecting .NET Object Before Page Loaded
This sample code demonstrates how to inject a .NET object before the page is loaded completely and before all JavaScript on that page is executed. As you ca...
Thu, 27 Jul, 2017 at 5:57 PM
Listening to the Сontent Сhanges
This example demonstrates how to use JavaScript MutationObserver in combination with JavaScript-.NET Bridge API. The goal of this example is to transmit eve...
Mon, 12 Jun, 2017 at 1:08 PM
Injecting JavaScript File Before JavaScript Is Executed on the Page
This sample code demonstrates how to inject a JavaScript file before any JavaScript code is executed on the web page. As you can see, the JavaScript file is...
Thu, 19 Oct, 2017 at 12:04 PM
Simulating window.external
DotNetBrowser does not have a predefined window.external object that is always accessible from JavaScript. However, it is possible to simulate its presence....
Fri, 18 Aug, 2017 at 9:49 PM