The problem is that the HTML tag for the message textarea is broken and missing a space. So it looks like this...
Code: Select all
<textareaname="message" id="message" rows="15" cols="76"
Code: Select all
<textarea name="message" id="message" rows="15" cols="76"
Here's a user script you can add to Tampermonkey to make this, and potentially other phpBB forums with the same problem, work. (You'd need to add the site you want to add as a match line.)
Code: Select all
// ==UserScript==
// @name Fix GBADEV forum
// @namespace http://www.dwedit.org/
// @version 0.2
// @description Fix invalid HTML tag for the posting textarea
// @author Dwedit
// @author nitro2k01
// @match https://forum.gbadev.org/*
// @match https://forums.benheck.com/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
//Code to replace an HTML tag name
//https://stackoverflow.com/questions/15086677/replace-specific-tag-name-javascript
function changeTag(el, newTagName = "div") { var newEl = document.createElement(newTagName); [...el.children].forEach(o => newEl.appendChild(o)); [...el.attributes].forEach(o => newEl.attributes.setNamedItem(o.cloneNode())); el.parentNode.replaceChild(newEl, el); return newEl; }
var elements = document.getElementsByTagName("textareaname=\"message\"");
if (elements !== undefined && elements.length > 0)
{
var element = elements[0];
element.setAttribute("name","message");
// Preserve the message for edit/preview. Trim the string to get rid of annoying whitespace at the end of the string.
var message=element.innerHTML.trim();
var newEl=changeTag(element, "textarea");
newEl.innerHTML=message;
}
})();
Edit: fixed typo.