|
-
Jun 14th, 2009, 03:40 PM
#1
Thread Starter
Addicted Member
Website blocker
I want to build a website blocker..
When the website is opened, there should come somekind of an error, that says that this page could be loadet, because of a reason..
So etc, you type a website in a textbox, and if the website is etc loadet in firefox, then the website will be closed.
Is this possible, and if yes, can someone please make the codes for me?? =)
-
Jun 14th, 2009, 03:42 PM
#2
Re: Website blocker
can someone please make the codes for me?? =)
Yup.. these people can : Link
-
Jun 14th, 2009, 03:48 PM
#3
Re: Website blocker
Make the code for you? Why would we make a program and then let you have the credit?
-
Jun 14th, 2009, 03:51 PM
#4
Thread Starter
Addicted Member
Re: Website blocker
 Originally Posted by Vectris
Make the code for you? Why would we make a program and then let you have the credit?
No not at all, i dont want any credit for anything I am publishing.
I'm just doing this for fun, and adding small things to it..
-
Jun 14th, 2009, 04:48 PM
#5
Re: Website blocker
The simplest way is to write an entry to the hosts file.
If you want to display a custom page with information on it, though, then you'll need to write something akin to a mini-firewall service and have it intercept the information and return the HTML if required (or redirect).
Have a look at Routing and Remote Access.
-
Jun 14th, 2009, 06:15 PM
#6
Thread Starter
Addicted Member
Re: Website blocker
 Originally Posted by mendhak
The simplest way is to write an entry to the hosts file.
If you want to display a custom page with information on it, though, then you'll need to write something akin to a mini-firewall service and have it intercept the information and return the HTML if required (or redirect).
Have a look at Routing and Remote Access.
Code:
Developer Audience
The Routing and Remote Access Service APIs are designed for use by C/C++ programmers. Programmers should also be familiar with networking concepts.
Sorry, but i cant use that. Its from your link.... ?
-
Jun 15th, 2009, 07:38 AM
#7
Addicted Member
Re: Website blocker
There's props an easier way for doing it, but if you want to intercept browsing to the page and redirect it to another page, a system-wide API hook could do the trick for you.
There's libraries made for that, look for Deviare from Nektra. It'll work on any com supportive language (for ex. VB) and is really easy to use.
-
Jun 17th, 2009, 10:24 AM
#8
Thread Starter
Addicted Member
Re: Website blocker
I downloadet it now.. But there are many applications. Can you please tell me the direct way to the right one?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|