NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @namespace https://openuserjs.org/users/wrglprmft // @name mathefragen.de (Editing source code of answers) // @description Allows editing of answers in plain text (source code) // @copyright 2021, wrglprmft (https://openuserjs.org/users/wrglprmft) // @license MIT // @version 0.4.0 // @match https://*.mathefragen.de/question/**/* // @match https://*.mathefragen.de/frage/**/* // @run-at document-idle // @grant none // ==/UserScript== // ==OpenUserJS== // @author wrglprmft // ==/OpenUserJS== /* jshint esversion: 6 */ (function () { 'use strict'; tinymce.editors.forEach((e) => { var settings = e.settings; settings.plugins += ' code'; settings.toolbar += ' code'; e.remove(); tinymce.init(settings); }); })();