JavaScript—.NET Bridge

Accessing JavaScript Object
C# using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using DotNetBrowser...
Thu, 11 Oct, 2018 at 6:40 PM
Modifying JavaScript Object Properties
C# using DotNetBrowser; using DotNetBrowser.Events; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Thre...
Thu, 11 Oct, 2018 at 6:43 PM
Invoking JavaScript Object Methods
C# using DotNetBrowser; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Java...
Thu, 11 Oct, 2018 at 6:49 PM
Invoking JavaScript Function with Parameters
C# using System.Linq; using System.Text; using System.Threading.Tasks; using DotNetBrowser; using DotNetBrowser.Events; using System.Threading; namespace ...
Thu, 11 Oct, 2018 at 6:51 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) {         doc...
Thu, 11 Oct, 2018 at 7:10 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, 11 Oct, 2018 at 7:17 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...
Fri, 12 Oct, 2018 at 9:28 AM
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...
Fri, 12 Oct, 2018 at 9:33 AM
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, 12 Oct, 2018 at 9:33 AM