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

Stealth mode: modify ua-client-hints based on the User Agent #1468

Closed
TheHasagi opened this issue Jun 28, 2021 · 3 comments
Closed

Stealth mode: modify ua-client-hints based on the User Agent #1468

TheHasagi opened this issue Jun 28, 2021 · 3 comments

Comments

@TheHasagi
Copy link

@dnmTX commented on Fri Jun 25 2021

Hi @AdguardTeam. To give you first some background.
If you read whatever documentation is available it says that it's very experimental feature and in order to use it you have to enable Experimental Web Platform features first and then enable the client hint feature itself and bla bla and bla.
Turns out that(on my end) was enabled by default(i didn't even know till recently). And in my case when i use AdGuard to mask
my user-agent with Firefox one in order to avoid aggressive scripts,this is the end result(see screenshot):

Screenshot:

Capture

So basically i'm trying to pretend that i'm with Firefox and at the same time my browser demonstrating everywhere that i'm actually with Chromium 🤔
Such a feature(in my opinion) needs to be implemented in case different user-agent is in use,to compliment that same user-agent,thus avoiding the confusion.
At the moment i can disable ua-client-hints on my end but i don't know if i'll be able to do it in any feature releases.
To test if ua-client-hints is enabled(in general) go to:
https://browserleaks.com/client-hints or https://user-agent-client-hints.glitch.me/
More on the subject: https://github.com/WICG/ua-client-hints
Thank you 👍

Your environment

  • Environment name and version: Slimjet 30.0.5.0 (based on Chromium 88.0.4324.150) (Official Build) (64-bit)
  • Operating system and version: Windows 10, v.1607, build 14393.4402

P.S. And before you cut me off with "Firfox doesn't use client-hints...yet".
Let me say,better get it ready,the time will come sooner rather then later 👍

@adguard-bot adguard-bot changed the title [feature-request] stealth mode: ua-client-hints Stealth mode: modify ua-client-hints based on the User Agent May 16, 2023
@ameshkov
Copy link
Member

I suggest modifying ua-client-hints based on the User-Agent header supplied in Stealth mode settings

@dnmTX
Copy link

dnmTX commented May 16, 2023

@ameshkov maybe additional option would be better in a scenario where user have to whitelist just the user agent:
@@||domain.com^$stealth=useragent
this way,the back up(striped Chrome User Agent) can be used.
Just a suggestion 👍

@grumaxxx
Copy link
Member

grumaxxx commented Jun 7, 2023

Completed within the scope of the task #1764

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

No branches or pull requests

5 participants