Qbserve (Mac time tracking)


Hi everybody!

I’m a developer of the Qbserve app, it’s an automatic time tracker for Mac. It tracks sites in browsers either by using macOS accessibility for Cocoa-based ones (Safari, Chrome) or with a simple extension in case of browsers that use custom UI rendering (Firefox, Vivaldi).

Since Brave doesn’t use Cocoa for its address bar, it also needs an extension. Some of our users asked for it and we tried following the 3rd party guide but it didn’t work and I can’t debug the extension since there are no developer tools for it.

I understand that our app is not that popular to be a priority but still would like to make a request.

Or maybe you can share some tips how to make the extension’s code work in Brave via 3rd party install Thanks!

function checkUrl() {
	chrome.tabs.query({ active: true, lastFocusedWindow: true }, function(tabs) {
		if (tabs.length > 0) {
			var tabUrl = tabs[0].url;
			var tabName = tabs[0].title;
			var isIncognito = tabs[0].incognito;
			var requestUrl = "http://localhost:27272/?url=" + encodeURIComponent(tabUrl) + "&title=" + encodeURIComponent(tabName) + "&private=" + isIncognito;

			var xmlHttp = new XMLHttpRequest();
			xmlHttp.open("POST", requestUrl, true);
			xmlHttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");

chrome.tabs.onActivated.addListener(function(info) {

chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) {

chrome.windows.onFocusChanged.addListener(function(windowId) {