a new version of the OrdoWebview2 component has been available since March
Version 2.0.7 (2024-03-12)
The control use :
- · RC6 version 6.0.15
- · WebView2
- Fixed version 122 : Windows 10, 11, Server 2016, Server 2019, Server 2022
- Fixed version 109 : Windows 7, 8, 8.1, Server 2012, Server 2008 R2
New Properties
AreBrowserAcceleratorKeysEnabled : Determines whether browser-specific accelerator keys are enabled.
AreDevToolsEnabled : Determines whether the user is able to use the context menu or keyboard shortcuts to open the DevTools window.
IsStatusBarEnabled : Determines whether the status bar is displayed.
New Methods :DownloadFile : Download asynchronously a file from a URL
GetCookies : Returns the cookies for the current top-level document.
GetOrdoWebView2DataPath : Returns the data path of the WebView2 component embedded in the OrdoWebView2 control.
GoWallet : Navigates the OrdoWebView2 to the Wallet page.
WebViewSetFocus: Gives focus to the Webview2 component embedded in the OrdoWebView2 control.
New Events :DownloadCompleted : Generated by the DownloadFle function
DownloadError : Generated by the DownloadFle function
DownLoadInProgress : Generated by the DownloadFle function
WebResourceResponseReceived : Raised when the control receives the response for a request for a web resource
Fixes and improvements
- Improved tracking of URL changes when navigating within a page
- Fixed an error in certain circumstances when initializing in Private Browsing mode
- Fix shield initialization at WebView2 init
Version 2.0.6 (2023-09-16)
The control use :
- RC6 version 6.0.15
- WebView2
- Fixed version 117 : Windows 10, 11, Server 2016, Server 2019, Server 2022
- Fixed version 109 : Windows 7, 8, 8.1, Server 2012, Server 2008 R2
New Properties
New Methods :SetShieldLevel : limits browsing to the domain contained in the URL entered, more or less drastically. Acts as a kind of addblocker.
GetShieldLevel : returns shield level.
GetShieldException : returns shield exceptions.
NavigateToFile : Load a file on disk and display it in the OrdoWebView2 browser.
FileSelect : Displays a file selector and loads the selected file from disk and displays it in the OrdoWebView2 browser
FileExist : Returns True if the file entered as parameter is present on disk
Add_WebResourceRequestedFilter : Adds a URI and resource context filter for the WebResourceRequested event
Remove_WebResourceRequestedFilter : Removes a matching WebResource filter that was previously added for the WebResourceRequested event.
Remove_All_WebResourceRequestedFilter : Removes all WebResource filters that was previously added for the WebResourceRequested event.
GetWebResourceRequestedFilter : returns the list of defined filters.
GetLocaleID : Returns a Long value that indicates the user's locale (language and country) ID.
New EventsShieldChanged fired when the shield level is changed by the SetShieldLevel method.
WebResourceRequested : raised when OrdoWebView2 is performing a URL request to a matching URL and resource context filter that was added with Add_WebResourceRequestedFilter
Version 2.0.5
The control use :
- RC6 version 6.0.14
- WebView2
- Fixed version 114 : Windows 10, 11, Server 2016, Server 2019, Server 2022
- Fixed version 109 : Windows 7, 8, 8.1, Server 2012, Server 2008 R2
New Properties
New Methods :
- InitEx : extended version of the Init method. Allows you to :
- initiate browsing in private mode
- choose the user data directory of the browser.
- Set browser command line switches
- ...
- GetInnerText : returns the text content of the control, but also the cookies of the page, all the links of the page...
- GetInnerHTML : returns the HTML content of the control, but also the cookies of the page, all the links of the page...
New Events
- NavigationStarting : raised when the WebView main frame is requesting permission to navigate to a different URI.
Version 2.0.4
The control use :
- RC6 version 6.0.12
- WebView2 Fixed version 110
New Properties
New Methods :
- SetZoomFactor : sets the zoom factor for the page displayed in the control...
- RunJs : runs JavaScript code from the javaScript parameter in the current top-level document rendered in the Control (Replace JsRun)
- RunJsAsync : asynchronously runs JavaScript code from the javaScript parameter in the current top-level document rendered in the Control (Replace JsRunAsync)
New Events
- ZoomChanged : raised when the user change the browser zoom factor.