Web watcher doesn't work with Chrome and Firefox developer editions


#1

It doesn’t work for me. When I go to the Dashboard it says “no data” under Activity -> Browser.

But if I go to Raw Data -> aw-watcher-web-firefox -> Open Bucket, it shows the last 100 pages I visit, so it is collecting data properly.

Also, if I go to the system tray, under Modules, aw-watcher-web-firefox is not listed.

How can I get it to show up in the Dashboard and listed under Modules?


You can now track your web browsing with ActivityWatch
#2

What OS?

I now a guy who has verified that it works with Chrome on macOS but I have not heard of anyone testing it with firefox on macOS, could be something on our side in that case. (If it is, what’s the exact appname of the firefox window? Go to the aw-watcher-window bucket in “Raw buckets” and look at the “appname” field)

I have personally tested both firefox and chrome on both windows and Linux though so that should work.

Since aw-watcher-web is a webextension rather than a actual program it will not be visible in the tray icon, only as a icon in your browser.

If you go to the “Browser” tab in the “Activities” view, does the bucket show up as a option on the “Buckets” dropdown?


#3

Hey Johan,

I’m also having the same problem as the previous poster. I’m using the extension on Linux with Firefox and Chrome. Both the Firefox and Chrome buckets appears as options on the “Buckets” dropdown in the “Browser” tab of the “Activities” view, but no data is shown. However, I can few the Raw Data properly, so it is being collected. See the attached screenshots. I’m a professional software developer, so please don’t hesitate to ask if you need me to help debug this!


#4

Can you check the app names of the browsers? (i.e., go into the window-watcher bucket and check what the app property are for both Firefox and Chrome)


#5

Hey, that’s it! I’m using Firefox Developer Edition and Google Chrome Beta. If I add in “Firefox Developer Edition” to the browser_appnames variable in the browserSummaryQuery function in aw-webui/src/queries.js, it works!

Similarly, Chrome Beta is called “Google-chrome-beta” in the window watcher bucket. Probably also need to update those variables for Chrome Canary and Firefox Beta.


#6

Awesome, could you send in a PR to aw-webui? If you could check the Chrome Canary and Firefox Beta as well that would be amazing :raised_hands:


#7

Done: https://github.com/ActivityWatch/aw-webui/pull/111