Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Need to support recording for Arc browser. #118

Open
rlog opened this issue Oct 11, 2023 · 4 comments
Open

Need to support recording for Arc browser. #118

rlog opened this issue Oct 11, 2023 · 4 comments

Comments

@rlog
Copy link

rlog commented Oct 11, 2023

more and more people change Arc browser for there daily use. Plz support it

Thanks

@kevinschweikert
Copy link

+1 from my side

@Chaoscontrol
Copy link

It "works" because it's getting the URLs just fine (which is the difficult part that no other tracking app is doing), but it just doesn't seem to be processed and recognised.

Would love to know if there's an intention of doing this anytime soon.

@CorgFather
Copy link

It's listed as supported under aw-webui/src/queries.ts. Any idea what else needs to be done?

@BelKed
Copy link
Contributor

BelKed commented Oct 20, 2024

To make it work, we need to implement code that can detect Arc Browser directly from the aw-watcher-web extension.


As per https://stackoverflow.com/a/76123404, you can detect Arc Browser by specific CSS value:

console.log(
    getComputedStyle(document.documentElement)
    .getPropertyValue('--arc-palette-title') ? 'Is Arc' : 'Is Not Arc'
);

It works fine on regular websites, as I've tried it myself.


However, this doesn't work properly if the code is run from extension — the CSS value isn't present there.

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

No branches or pull requests

5 participants