vytal-io / vytal-extension

Browser extension to spoof timezone, geolocation, locale and user agent.
https://vytal.io
GNU General Public License v3.0
1.8k stars 95 forks source link

Initial Load Timezone still detects home timezone #16

Closed Tosoju closed 2 years ago

Tosoju commented 2 years ago

Pretty self explanatory.

I'm using latest version of Brave. I install app. I load up https://vytal.io , Initial Load Intl.DateTimeFormat().resolvedOptions().timeZone still detects the home timezone. This affects all of the other time related detections on the site as well.

Tosoju commented 2 years ago

40 seconds after I posted this, I figured out the solution.

If on Brave Shields, Block Fingerprinting is enabled, then this issue happens. Allowing fingerprinting allows for the full spoof to work.

Tosoju commented 2 years ago

Disable Brave Shield Anti-fingerprinting

Z3R013x commented 2 years ago

Same happens in chrome where i do not have "Anti-Fingerprinting"

z0ccc commented 2 years ago

Same happens in chrome where i do not have "Anti-Fingerprinting"

Does it happen only on the first load of a tab? There is a slight delay between when a new tab is opened and the debugger starts mocking the data. This allows for websites to get the original value of the data before it is changed. After the initial loading of a tab, this will no longer be an issue.

Z3R013x commented 2 years ago

Same happens in chrome where I do not have "Anti-Fingerprinting"

Does it happen only on the first load of a tab? There is a slight delay between when a new tab is opened and the debugger starts mocking the data. This allows for websites to get the original value of the data before it is changed. After the initial loading of a tab, this will no longer be an issue.

it only mocks my initial load after the refresh, no matter if I wait for a few seconds after turning on vytal or go to the website right after. vytal also doesn't have to be recently turned on to make this issue occur, even if you have been running vytal for minutes and go to vytal io it can still detect my initial load, but if I refresh then it fixes.

z0ccc commented 2 years ago

@Z3R013x Are you opening vytal in a new tab tho? Is it possible for you to record a video? Thanks

Z3R013x commented 2 years ago

I'm turning on vytal while i'm on "new tab" page and then navigate to vytal.io

z0ccc commented 2 years ago

A new tab has to be initialized on an actually url, not a chrome page (like the default new tab page). Looking for ways to improve this and possibly fix the whole initialization issue.

Z3R013x commented 2 years ago

Let me share video with you on mail. just to be clear.

z0ccc commented 2 years ago

ok sounds good