I am developing an application using a web browser control. In this application, I want to limit all streaming and downloading processes using a web browser.
For example, if I click on a link to a song, and if it leads to the streaming and playback of this song in the web browser itself, I want to limit this activity.
Is it possible?
Handle Move events in the browser . In the handler, check the Uri, if you do not like it, you can cancel the navigation.
.
, "B".
"" , browser.InvokeScript( "eval", JavaScriptSource );, JavaScriptSource - JavaScript, -, .
browser.InvokeScript( "eval", JavaScriptSource );
JavaScriptSource
- JS, , , - JS . -, .