Greasy Fork is available in English.
Fix the damn width in typescript docs.
- // ==UserScript==
- // @name TypeScript Width Fix
- // @namespace https://www.typescriptlang.org
- // @version v1.3
- // @description Fix the damn width in typescript docs.
- // @author erucix
- // @match https://www.typescriptlang.org/*
- // @icon https://www.google.com/s2/favicons?sz=64&domain=typescriptlang.org
- // @grant none
- // @license MIT
- // ==/UserScript==
- (function() {
- 'use strict';
- window.onload = function() {
- let style = document.createElement("style");
- style.innerHTML = `.whitespace.raised{width: -webkit-fill-available;}`;
- document.head.appendChild(style);
- }
- })();