为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How to display correct timezone while keeping privacy.resistFingerprinting=TRUE ?

  • 6 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

Hi all,

I've set privacy.resistFingerprinting to true, and now all clocks displayed in browser show UTC (not my timezone). Is there a way I can change my timezone while retaining privacy.resistFingerprinting=true ?

A few notes: • My OS preferences display the correct timezone. • I've seen CanvasBlocker mentioned in a few support posts related to this issue – is there something I can tweak in that add-on that will solve my problem?

Thanks in advance!

Hi all, I've set privacy.resistFingerprinting to true, and now all clocks displayed in browser show UTC (not my timezone). Is there a way I can change my timezone while retaining privacy.resistFingerprinting=true ? A few notes: • My OS preferences display the correct timezone. • I've seen CanvasBlocker mentioned in a few support posts related to this issue – is there something I can tweak in that add-on that will solve my problem? Thanks in advance!

所有回复 (6)

more options

The idea behind reporting your time zone as UTC is to prevent websites from knowing your time zone. You probably can use an add-on or user script to correct the times, but the page can be aware of such changes, so you are potentially giving up a little bit of information there.

Assuming you were looking for an add-on, I'm not aware of one, but it wouldn't surprise me if other people using privacy.resistFingerprinting have found one by now.

more options

Note that "Resist Fingerprinting" also changes the user agent to Firefox 68 (ESR) and affects the window dimensions that are rounded to fixed values apart from changing the timezone to UTC. You will normally still be unique, but websites probably can't get your real values.

You can search for extensions that block or modify specific fingerprinting tests.

more options

@jscher2000 I found some add-ons that allow me to spoof my timezone, but changing resistFingerprinting back to false will still expose the rest of my information.


Moving on to user scripts, as far as I can tell, there’s nothing on Greasy Fork that would solve my issue. But after some digging, I discovered I can change my user agent manually on this page. If I created general.useragent.override, would that get me on the right track? I’m hesitant to start messing around with this and cause more issues.




Although I’d like to avoid it, I can live with reporting my timezone in order to fix this issue, but ideally not any of the other information in my fingerprint.

more options

What I think is needed is an extension or user script that reads the UTC times in the page and recalculates them to the time you want to see. I saw one that only works if the time zone is stated with the time (so it know how many time zones to shift).

I realize now that I think about this more that times might be in different places on different pages, so any extension or user script is going to require some "training" to understand where to look. It might be more complicated than I originally thought.

more options

Hmm, sounds like that’s quite a bit above my skill level. For a workaround, would you say CanvasBlocker or CanvasDefender would be as effective as resistFingerprinting=true? I'm not clear on the differences between blocking something with an add-on versus at the browser level.

By the way, I appreciate all the help. You've come up several times in my quest to solve this issue, and it looks like I'm talking to the right person :)

more options