Click here to Skip to main content
15,888,454 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more: , +
I have webpage which contain javascript ,I want to load in webbrowser control in vb.net ( google chrome webkit ) and then block , disable or remove javascript from that page programmatically I searched alot but did not find a solution so anyone know that code ? thanks
Posted
Comments
Kornfeld Eliyahu Peter 15-Jun-14 6:27am    
If I tell you, you can't, will you stop and think about what your real problem?
Member 10617131 15-Jun-14 6:40am    
I want to create ads blocker on my webbrowser so I am asking if any one know how to block javascript
Kornfeld Eliyahu Peter 15-Jun-14 7:02am    
But you do not create 'your' web browser, you only using a WebBrowser control!!!
[no name] 15-Jun-14 6:37am    
Why do you think that the computer owner is not capable of deciding what is and is not enabled on their own computer?
Member 10617131 15-Jun-14 6:40am    
I want to create ads blocker on my webbrowser so I am asking if any one know how to block javascript

1 solution

No, you don't have any option like this to block the JavaScript.
 
Share this answer
 
Comments
Member 10617131 15-Jun-14 7:13am    
or removing elements in the webpage ( <script> ) ?
Not a good idea. Did you try?
Sergey Alexandrovich Kryukov 16-Jun-14 1:12am    
5ed.
—SA
Thanks Sergey. :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900