@blakesamic No need, there are APIs to grab website URL/title from the browser window - that's what RescueTime does.
I still think RescueTime does the best job by actually classifying websites as productive/distracting.
@blakesamic I think you can get a list of all tabs and active tab with AppleScript. You can definitely get current window title with Accessibility API.
Timing is a cool app too, and @daniel_a_a knows more about these APIs than I do. My app is pretty simple, so it does't bother with URL: http://focuslist.co/escape/
@_vojto@blakesamic Safari and Chrome indeed both have AppleScript APIs to get the currently active tab. That's what Timing is using, plus some extra magic to e.g. detect incognito mode. If you want to track the active tab, Timing is definitely the right app for you. Otherwise, Escape is a great app too :-)
I have been using another app called "Timing" on Mac. This definitely has a better UI though I wish it tracked Safari/Browser activity per website so I could switch.
@shahab_21 thanks for the info! I'm actually working on that. If you'd like to take a look, drop me a note via https://timingapp.com/contact.php and I'll send you the beta :-)