fix LeetCode in Firefox
// ==UserScript==
// @name LeetCode sendBeacon fix
// @namespace griffi-gh145675
// @match *://leetcode.com/problemset/
// @grant none
// @version 1.0
// @author griffi-gh
// @description fix LeetCode in Firefox
// @run-at document-start
// ==/UserScript==
if(!navigator.sendBeacon) navigator.sendBeacon = () => {};