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

[Android] Add a new Site Setting option for to Spoof GeoLocation instead of getting it from device #1810

Open
4 tasks done
jnelson89 opened this issue Feb 9, 2025 · 11 comments
Labels
awaiting info Further information is requested

Comments

@jnelson89
Copy link

Preliminary checklist

  • I have read the README
  • I have searched existing issues for my feature request. This is a new issue (NOT a duplicate) and is not related to another issue.
  • I have searched wont fix issues and this request is not among them
  • This is a feature request for the Cromite browser; not the website nor F-Droid nor anything else.

Is your feature request related to privacy?

Yes

Is there a patch available for this feature somewhere?

Didn't know...

Describe the solution you would like

instead of getting the location from user's device implement a way to add custom geolocation coordinates just like this script here 'https://github.com/SukkaW/location-guard-ng' and add it in site setting as an option for user to enable and set custom...

Describe alternatives you have considered

alternatives are that I tried using userscript but not working even when the device location is turn on to set custom. don't know why but at least make this userscript to get worked 'https://github.com/SukkaW/location-guard-ng'

@uazo
Copy link
Owner

uazo commented Feb 11, 2025

I wonder why and what it can be used for.
can you help me understand?

@uazo uazo added the awaiting info Further information is requested label Feb 11, 2025
@jnelson89
Copy link
Author

jnelson89 commented Feb 11, 2025

I wonder why and what it can be used for. can you help me understand?

Since some shopping sites use particular geolocation for to access the region based products...
some sites need geolocation to move forward to page, so its useful if user need privacy to not give location then he can give random one...

@0pLuS0
Copy link

0pLuS0 commented Feb 12, 2025

If you spoof GEO Location, and want better privacy/safety/security you need to match your Date and Time to the GEO Location.

A Timezone drop down menu, where you can pick the various timezones around the world would also be a good option to have in cromite.

Also for the User Agent option, it would be really great if there was a drop down menu with a few default choices to pick from, that are kept up to date with cromite updates.

Hiding the OS, Browser, IP address, Geo location, Date and time, these are the basics you wanted spoofed.

THANKS @uazo for all the great work you do, it's appreciated!

@uazo
Copy link
Owner

uazo commented Feb 13, 2025

some sites need geolocation to move forward to page

any examples?

Hiding the OS, Browser, IP address, Geo location, Date and time, these are the basics you wanted spoofed.

Are you sure? I am not yet.

@0pLuS0
Copy link

0pLuS0 commented Feb 13, 2025

Hi @uazo,

Without Root there's only so much an end-user can accomplish in regards to spoofing some of these things, but others like GEO, and Date/Time, I wasn't aware you'd need root to make them more effective.

Spoofing the Platform/OS, I believe we need root, for max effect. Unless the browser can spoof the platform in android without root?

For the IP I wasn't suggesting cromite spoofs this, I was only bringing it up as something good to do, rather through a VPN with cromite as an example.

@jnelson89 and @uazo I wasn't paying attention, there is a Timezone GEO Location setting in cromite, under Site settings - Timezone override. If I keep my android settings date/time to my Local, and set a Custom timezone in cromite and go to https://whoer.net as an example, it will show my local time, not the timezone I picked like Canada/Pacific in this screen shot.

The Random settng works...

Image

@0pLuS0
Copy link

0pLuS0 commented Feb 14, 2025

I'm using Android 14 Cromite 133.0.6943.60

I don't know if there's a bug report, but I thought I'd mention this, since we are on the subject of GEO Location.

After tapping on Custom timezone, if I later tap on Random or System, looking at the Site setting, it wll show which I'm using like Random in this screen shot.

Image

But if I tap on Timezone override after picking System or Random, and look later at the settings, it will now always be marked on the Custom timezone, instead of the other two I picked. So as I picked Random in the screen shot before, here in this screen it's marked on Custom timezone instead of Random. It should stay marked on the one you pick.

Image

@uazo
Copy link
Owner

uazo commented Feb 14, 2025

I wasn't aware you'd need root to make them more effective.

and who says so?

Unless the browser can spoof the platform in android without root?

is the goal I set myself with cromite.

For the IP I wasn't suggesting cromite spoofs this,

I would also like to do this, for example via proxy, but it requires an external infrastructure, money, and above all, capable technicians because I am not one.

it will show my local time, not the timezone I picked like Canada/Pacific

I will check, thank you.

@0pLuS0
Copy link

0pLuS0 commented Feb 14, 2025

Hi @uazo

I was just talking in general when I was mentioning Root. As we all know, when you are a User, you don't have Root Permissions.

So to be honest, I'm not sure how much in the way of privacy can be accomplished in android with only user permissions. As an example, I'm not sure the platform in android can be spoofed with only user permissions. Check out whoer.net it will show the Platform, under the Browser fingerprint section. So, if someone wanted to put in a Windows User Agent to spoof using Edge in Windows 10, the Platform should show Win32. Of course the Platform should line up with any user agent for any OS.

One last thing, the reason I think we might need root, for those that want the highest levels of privacy/security, because an operating system can be detected by analyzing network packets OS fingerprinting, and I'm not sure in android if you can spoof OS fingerprinting at the user level.

Thanks

@uazo
Copy link
Owner

uazo commented Feb 15, 2025

We are digressing, open a new discussion and I will be happy to tell you my opinion.

Copy link

This issue has been automatically marked as stale as there has been no recent activity in response to our request for more information. Please respond so that we can proceed with this issue.

@github-actions github-actions bot added the Stale I'm about to be closed, if there is no activity label Feb 21, 2025
@Zig-VS-TypeScript-VS
Copy link

get timezone according to ip address or location using moment timezone library
https://www.npmjs.com/package/moment-timezone
https://www.npmjs.com/package/moment

When using non-fixed proxies like I2P or Tor, automatically set the time zone without leaking the local time zone.

@github-actions github-actions bot removed the Stale I'm about to be closed, if there is no activity label Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting info Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants