privacy.resistfingerprinting Blurry Google Docs/Sheets Fix

Fixes blurry font on Google Docs and Sheets. This issue is caused by resistfingerprinting forcing window.devicePixelRatio to be set to 1 no matter the actual value. WARNING! This overides the spoofed devicePixelRatio with the real value while in a Google Docs/Sheets document thus decreasing security.

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Prismo
日安装量
0
总安装量
38
评分
0 0 0
版本
1.1
创建于
2022-10-27
更新于
2022-10-27
大小
1.4 KB
许可证
GPL-3.0-only
适用于

Privacyresistfingerprinting-Docs-Sheets-Fix

Fixes the blurry text on Google Docs and Sheets that exists when Privacy.resistfingerprinting is on. The issue is caused by the spoofing of window.devicePixelRatio which is set to one regardless of its actual value when privacy.resistfingerprinting is set to true. WARNING! To fix this issue window.devicePixelRatio is set to its real value when in the Google Doc or Sheet editor. This undermines what privacy.resistfingerprinting is attempting to do.

Installation

  1. Download the script on Greasyfork or Github and install it.
  2. Next we need to get your actual window.device.PixelRation.
  3. In Firefox turn off privacy.resistfingerprinting and open developer tools on any webpage.
  4. In the developer tools console enter "window.devicePixelRatio" and copy the result
  5. Edit the script and replace the default value with the one you copied.
  6. Turn back on privacy.resistfingerprinting