Click here to Skip to main content
15,891,567 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I am developing an C# Windows form program that can track computer activity and block specific website.

I found some ways to block a specific website such as modifying the host file, using proxy, using browser extension. Is there any better way to block a specific website?

One more thing, how can I track the active time of a tab in any browser?

Thank you!
Posted

1 solution

Quote:
I found some ways to block a specific website such as modifying the host file, using proxy, using browser extension. Is there any better way to block a specific website?

What you're talking about is standard functionality in any proxy server and is the best way to to this.


Quote:
how can I track the active time of a tab in any browser?

Define "active time"?

In any case, there's no such thing as a browser plugin that works across all browsers and no consistent way to get at the tabs of each brwoser either. What you're referring to isn't possible unless you write a seperate application/plugin for every browser.
 
Share this answer
 
v2

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