| Author |
Java code to block websites?
|
Hota Mano
Greenhorn
Joined: Jul 13, 2011
Posts: 2
|
|
Hiii Friends
I am new to java world, Thanks for your suggestion......
Actaually i want to devlope a proxy in java which will block the selected websites while opening the browser ,without changing the browser setting or changing in hosts file . Can anybody help me on this.
|
 |
Joe Ess
Bartender
Joined: Oct 29, 2001
Posts: 8259
|
|
Welcome to the JavaRanch. I've removed your email because we prefer that you use the forum, not email.
Are you talking about a browser plugin? I'm not aware of any browsers that use Java as a plugin language (Firefox uses JavaScript, IE uses C++ or C#). A Java Applet will not work because it runs within the browser sandbox and can't prevent pages from being loaded. If you really want to use Java, you may be able to write a proxy and set up your browser to go through it.
Since this has nothing to do with Struts, I'll move it to a more appropriate forum.
|
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
|
 |
 |
|
|
subject: Java code to block websites?
|
|
|