Fix blurry Google Docs

Fix blurry Google Docs rendering on Firefox when privacy.resistFingerprinting is turned on.

// ==UserScript==
// @name     Fix blurry Google Docs
// @description Fix blurry Google Docs rendering on Firefox when privacy.resistFingerprinting is turned on.
// @version  1
// @include	 *://docs.google.com/*
// @grant    none
// @run-at   document-start
// @license  WTFPL
// @namespace https://greasyfork.org/users/6660
// ==/UserScript==

if (!window.location.search.includes("mode=html")) {
  if (window.location.search.startsWith('?')) {
    window.location.search += '&mode=html'
  } else {
    window.location.search += '?mode=html'
  }
}