Discourse perfect support

Overrides unsupportedBrowser, so you don't get locked out of most of a forums functionalities because your browser doesn't support some dumb function that is basically never used, in my particular case CSS.supports("aspect-ratio: 1")

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         Discourse perfect support
// @namespace    http://sample.net/
// @version      0.1
// @description  Overrides unsupportedBrowser, so you don't get locked out of most of a forums functionalities because your browser doesn't support some dumb function that is basically never used, in my particular case CSS.supports("aspect-ratio: 1")
// @author       Fuim
// @match        *://foro.iminecrafting.com/*
// @match        *://discuss.bevry.me/*
// @match        *://discuss.huggingface.co/*
// @match        *://discourse.slicer.org/*
// @match        *://forum.torproject.net/*
// @include       *://*
// @icon         https://www.google.com/s2/favicons?domain=www.discourse.org
// @grant        none
// @run-at       document-start
// @license      GNU GPLv2
// ==/UserScript==

Object.defineProperty(unsafeWindow, 'unsupportedBrowser', {
  value: false,
  writable: false
});