Click here to Skip to main content
15,063,944 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
[no name] 15-Jun-14 7:13am
   
Okay.... it's your web browser simply do not support javascript on the web pages that it displays. Why do you feel this need to post the same thing over and over? 4 comments for the same information?
Member 10617131 15-Jun-14 7:24am
   
because I am using auto-post system
Member 10617131 15-Jun-14 6:38am
   
I want to block ads on that page
the ads are in javascript
Member 10617131 15-Jun-14 6:39am
   
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.
Comments
Member 10617131 15-Jun-14 7:13am
   
or removing elements in the webpage ( <script> ) ?
   
Not a good idea. Did you try?
   
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