RiV- / removeStyle

// ==UserScript==
// @name         removeStyle
// @namespace    something-meaningful
// @version      0.3.2
// @description  try to take over the world!
// @author       RiV-
// @match        http://board.de.ogame.gameforge.com/*
// @grant        none
// ==/UserScript==
/* jshint -W097 */
'use strict';

function isElement(obj) {
  try {
    return obj instanceof HTMLElement;
  }
  catch(e){
    return (typeof obj==="object") &&
      (obj.nodeType===1) && (typeof obj.style === "object") &&
      (typeof obj.ownerDocument ==="object");
  }
}

function iterateElements(elements) {
    for (var j = 0; j<elements.length; j++) {
        if (!isElement(elements[j])) continue;
        else iterateElements(elements[j].childNodes);
        if (elements[j].hasAttribute('style')) { 
            elements[j].style.textAlign ? elements[j].style.textAlign = '' : 0;
            elements[j].style.fontSize ? elements[j].style.fontSize = '' : 0;
            elements[j].style.fontFamily ? elements[j].style.fontFamily = '' : 0;
        }
    }
}

var messages = document.getElementsByClassName('message');
for(var i = 0; i<messages.length; i++) {
    var msg = messages[i];
    if (msg.classList.contains('quickReply')) continue;
    var childNodes = document.getElementById('postText' + msg.id.match(/[0-9]+/)[0]).childNodes;
    iterateElements(childNodes);
}