Post #160889
June 27, 2021, 11:09:17 PM
Updated bbcode enabling userscript for these other editor locations:
// ==UserScript==
// @name Enable BBCode Editing
// @namespace https://github.com/taulover6283
// @version 0.2.1
// @description Enable BBCode editing in Wintreath by default
// @author taulover
// @match https://wintreath.com/forums/index.php?action=post*
// @match https://wintreath.com/forums/index.php?action=pm;sa=send*
// @match https://www.wintreath.com/index.php?part=editprofile*
// @match https://wintreath.com/index.php?part=notes*
// @match https://wintreath.com/forums/index.php?action=profile;area=forumprofile*
// @exclude none
// @grant none
// ==/UserScript==
(function() {
'use strict';
Array.from(document.getElementsByClassName("sceditor-button-source")).forEach(e => e.click());
})();
Presumably should also add for the Laws page but I don't have access to that currently so I can't test that. (Plus that is being deprecated anyway.)
Edit: fixed issues with profile page of having to turn on bbcode on all editors, and also to cover the form the URL takes after editing is done