Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add tab.url to tab.tile #59

Closed
watertrainer opened this issue Oct 22, 2020 · 4 comments
Closed

Add tab.url to tab.tile #59

watertrainer opened this issue Oct 22, 2020 · 4 comments

Comments

@watertrainer
Copy link

Since Activity Watch isn't currently categorizing with the url in mind (see here), it might be a temorary solution to add the url to the title in this watcher. Maybe there could just be an option to turn this on, because this would really help in reducing uncategorized time.

@johan-bjareholt
Copy link
Member

The webextension APIs only allow reading the titles, not writing/changing them so that's not possible unfortunately.

@watertrainer
Copy link
Author

I meant the data which gets transferred to Activity Watch, sorry if this was unclear.
So instead of url and title in data at eventPage.js, just title gets transferred, but it consists of tab.url and tab.title

@ErikBjare
Copy link
Member

You seem to have misunderstood the issue. The issue is that the events reported by the web watcher aren't being used for classification on at all, only the AFK + window watcher events (which is where the title is coming from).

@watertrainer
Copy link
Author

You seem to have misunderstood the issue. The issue is that the events reported by the web watcher aren't being used for classification on at all, only the AFK + window watcher events (which is where the title is coming from).

Ohhh okay, sorry for the misunderstanding

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants