Canvasblocker: TimeZone and time offset spoofing

Created on 7 Apr 2020  路  3Comments  路  Source: kkapsner/CanvasBlocker

Is it possible to add Timezone and time offset spoofing?

Most helpful comment

It is possible but very complex to get everything consistent: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date
Especially the string functions.

I'm not sure if it's worth the effort. What's your use case?

All 3 comments

It is possible but very complex to get everything consistent: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date
Especially the string functions.

I'm not sure if it's worth the effort. What's your use case?

I see.

I'm testing client-server behavior with different TZ in my project so I'm working with -no-remote flag with few browsers running.

If it's hard to implement then please close the issue :)

All the set.. and get... functions that only return numbers are quite straight forward. But something like parse is tough - I would have to build my own parser to know how to fake that correctly.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kkapsner picture kkapsner  路  8Comments

Kherby picture Kherby  路  6Comments

spodermenpls picture spodermenpls  路  4Comments

spodermenpls picture spodermenpls  路  4Comments

kkapsner picture kkapsner  路  5Comments