• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Blocking Website based on customer specified keywords

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i want to block certain website in my browser.
when user types/navigates to any page, i will read the URL before page could load in the browser and check for the URL whether
it contains any name that user specified like "ad,game,hot,sex,..etc". The page should not be loaded rather it should show a
"Warning message".

It will be helpful if someone guide me, how to do this? any books to refer?.

Thanks in advance.
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why do you wish to reinvent the wheel? Most modern browsers already support this functionality
 
subash prasanna
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your reply.

As a java developer i just want to improve my skill in Java.

I didn't describe my whole problem before because i just want to start with small requirement.

1. Identify the restricted key words from URL in browser.
2. Show "Warning message" and restrict particular site.
3. Send email to admin for trying to access for that particular restricted page.
4. Send email to admin for trying to disable or uninstall application.

Now could you tell me an idea how to go about this?, if already exist please refer me i will go throw that.
 
Sheriff
Posts: 22783
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You won't be able to access the browser from Java except maybe using JNI. If you want to learn Java this is not the best project you've chosen for yourself.
 
subash prasanna
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your guidance.
This requirement sounds good.
you have suggested me that we can communicate browser using JNI from java. I will study about JNI now.

Is is possible to do this requirement using APPLET?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic