summaryrefslogtreecommitdiff
path: root/qutebrowser/javascript/quirks/googledocs.user.js
blob: 7ec47f70d72dd621addf400a383337cdaf9b860f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// ==UserScript==
// @include https://docs.google.com/*
// ==/UserScript==

// Workaround for typing dead keys on Google Docs
// See https://bugreports.qt.io/browse/QTBUG-69652

"use strict";

Object.defineProperty(navigator, "userAgent", {
    get() {
        return "Mozilla/5.0 (X11; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0";
    },
});