Can I create c# windows form application that keeps track of time spent on all the websites visited from chrome,firefox and edge

harsha111111 121 Reputation points
2021-07-01T04:44:30.383+00:00

I got .net - Get URL from browser to C# application - Stack Overflow[^] but unable to get track of time on each website
Please do help
Thanks

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,865 questions
0 comments No comments
{count} votes

Accepted answer
  1. Daniel Zhang-MSFT 9,621 Reputation points
    2021-07-02T01:26:58.633+00:00

    Hi harda111111-5189,
    I am afraid this is very difficult to achieve. For example, I open a webpage for browsing, but during the period I can do other things and the webpage is not closed, it is difficult to judge the time spent on the website. The browser just sends a request to the Web server, the server responds to a page, and the browser renders the page and displays it. So the browser will not track the display time of the page.
    Best Regards,
    Daniel Zhang


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful