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

Bromite no longer spoofs user agent? #2491

Open
5 tasks done
djh82 opened this issue Dec 8, 2022 · 18 comments
Open
5 tasks done

Bromite no longer spoofs user agent? #2491

djh82 opened this issue Dec 8, 2022 · 18 comments

Comments

@djh82
Copy link

djh82 commented Dec 8, 2022

Preliminary checklist

  • I have read the README.
  • I have searched the existing issues for my problem. This is a new ticket, NOT a duplicate or related to another open issue.
  • I have read the FAQs.
  • I have updated Bromite to the latest version. The bug is reproducible on this latest version.
  • This is a bug report about the Bromite browser (not about the website, building Bromite, F-Droid or anything else).

Can the bug be reproduced with corresponding Chromium version?

No

Bromite version

108.0.5359.106

Device architecture

arm64

Android version

13

Device model

Pixel 6 Pro

Changed flags

No flags changed

Is this bug about the SystemWebView?

No

Is this bug happening in an incognito tab?

Yes

Is this bug caused by the adblocker?

No

Is this bug a crash?

No

Describe the bug

User agent now contains accurate model and android version number. Previously it was spoofed to be a Samsung on Android 10 IIRC.

Steps to reproduce the bug

Visit: https://www.whatismybrowser.com/detect/what-is-my-user-agent/

Expected behavior

The user agent should be spoofed.

Screenshots

No response

@csagan5
Copy link
Contributor

csagan5 commented Dec 9, 2022

This is documented as a change in the CHANGELOG, it is nothing accidental; you can see some follow-up discussion here: #2465

@djh82
Copy link
Author

djh82 commented Dec 10, 2022

OK, thanks. Should the reduce user agent flags be switched on by default? Just realised that Chrome and by extension Bromite still has those.

Feel free to close this issue.

@csagan5
Copy link
Contributor

csagan5 commented Dec 11, 2022

User-agent reduction is enabled by default, there is also a patch to guard against that being disabled.

@djh82
Copy link
Author

djh82 commented Dec 11, 2022

I'm not convinced it is? Maybe I'm misunderstanding or we're talking cross purposes. With no flags changed, my UA is:

Mozilla/5.0 (Linux; Android 13; Pixel 6 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Mobile Safari/537.36

If I turn on UA reduction flags, it's now:

Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Mobile Safari/537.36

@djh82 djh82 closed this as completed Dec 11, 2022
@csagan5
Copy link
Contributor

csagan5 commented Dec 14, 2022

I will check this before next release.

@csagan5 csagan5 reopened this Dec 14, 2022
@uazo
Copy link
Collaborator

uazo commented Dec 18, 2022

@uazo uazo mentioned this issue Dec 29, 2022
6 tasks
@rhjdvsgsgks
Copy link

is there any way to enable User-agent reduction for bromite webview?

@Universalizer
Copy link

is there any way to enable User-agent reduction for bromite webview?

Check #2498

Probably, 'Manifest v3' may be the reason, can anyone confirm this❓

@rhjdvsgsgks
Copy link

Check #2498

Probably, 'Manifest v3' may be the reason, can anyone confirm this❓

non of flags mentioned in that issue avaliable on bromite webview

@Universalizer
Copy link

Universalizer commented Mar 5, 2023

Check #2498

'In the past' for Bromite browser only


In WebView Flags ; Search for "agent" and check what flags are relevant.

Example here :- 'Android System WebView Beta version 111', Screenshot below

©Universalizer® Screenshot_20230305-082810 Md

@Universalizer
Copy link

Above screenshot is just for example.

Changing or over-riding the flag's values, as per your needs, that may fits you,

Be careful.

@rhjdvsgsgks
Copy link

rhjdvsgsgks commented Mar 5, 2023

In WebView Flags ; Search for "agent" and check what flags are relevant.

Example here :- 'Android System WebView Beta version 111', Screenshot below

theses flag dont have any effect about hiding model name in ua. after enable these. https://www.bromite.org/detect still reporting i have same ua as before

btw im using the latest bromite webview (108.0.5359.156) and seems you are not. because you dont have "ForceMajorVersionInMinorPositionInUserAgent" this flag in your search result. could you try that again after update to latest version?

@Universalizer
Copy link

Universalizer commented Mar 5, 2023

@rhjdvsgsgks
Copy link

Either
Stable currently v110,
or
Beta currently v111.

where did you find that? on release page the newest version i can find is 108.0.5359.156.

@rhjdvsgsgks
Copy link

maybe there is some misunderstand. but i want to keep using bromite webview. rather than switch to "Android System WebView" just for this feature

@Universalizer
Copy link

You're lucky for either using 'Rooted-Android OR Customized-ROM',
Hence, in your case, device supports 'Bromite WebView'.

@rhjdvsgsgks
Copy link

rhjdvsgsgks commented Mar 6, 2023

i already using it. but bromite webview unlike bromite browser. it dont have "reduce user agent" flags, thats what im i asking here

@Universalizer
Copy link

'Bromite Browser is not responsible for that, but it is in control of upstream Chromium Project'.

'Similarly, Bromite WebView is also not responsible for that, but it is in control of upstream Android System WebView'.

Both, Browser and WebView have flags (that can be configurable),

Perhaps, But some or few 'WebView flags' perhaps may be different from 'Even though SAME VERSION NUMBER of Browser',

Perhaps, some 'same identical and included', but some excluded, some unique or different.

Also ever-changing upstream,
From version 108 to v 111,
Continuously so on further.

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

6 participants