aspose file tools
The moose likes Java in General and the fly likes Java code  to block websites? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Java code  to block websites?" Watch "Java code  to block websites?" New topic
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]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Java code to block websites?
 
Similar Threads
browser action setting
Example for java doubleton pattern.
JDBC
Need Tutorial for WebServices for a begginer
how to create tablespace in java dbms