Can I detect Tor Browser inside the browser itself, via Javascript I suppose?

前端 未结 5 985
别那么骄傲
别那么骄傲 2021-01-02 15:05

I\'d like to disable some features of a web app I\'m building, if the browser is Tor Browser. Can I inside the browser itself (client side, not server side) find out if the

5条回答
  •  星月不相逢
    2021-01-02 15:43

    By the firefox resource bundle you can check it.

    The resource:// URI scheme is used by Firefox to call on-disk resources from internal modules and extensions.

    But some of these resources may also be included to any web page and executed via script tag. Mozilla developers is not consider the resources as a fingerprinting vector, despite the fact that some of them can reveal what the user does not wish. For example, differences in built-in preferences files clearly indicates you are using Windows or Linux or Mac, even if you're behind Tor Browser.

    https://www.browserleaks.com/firefox

提交回复
热议问题