Skip to content

Instantly share code, notes, and snippets.

@BastienDurel
Created December 9, 2021 16:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BastienDurel/065ca67182c77f2c9cacffdafdd82a1f to your computer and use it in GitHub Desktop.
Save BastienDurel/065ca67182c77f2c9cacffdafdd82a1f to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name patch carbon dashboard
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author Bastien Durel
// @match https://carbon.geekwu.org/dashboard
// @icon https://www.google.com/s2/favicons?domain=geekwu.org
// @grant none
// ==/UserScript==
(function() {
'use strict';
let fake = (s) => s;
if (!window.htmlEncode) {
window.htmlEncode = window.Ext.util.Format.htmlEncode || fake;
}
if (!window.newURL) {
window.newURL = null;
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment