NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name OGame Remove Ignored Posts // @version 1 // @description Little script to remove hidden posts into Ogame Forum // @author Adeline // @match https://board.fr.ogame.gameforge.com/* // @downloadURL https://openuserjs.org/install/Adelinem89/OGame_Remove_Ignored_Posts.user.js // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; // Your code here... // List of posts : class used by ogame : ignoredUserMessage var elem = document.getElementsByClassName("ignoredUserMessage"); // If i don't do that, i have warnings var i; // For each hidden posts => i remove the code for (i = 0; i < elem.length; i++) { elem[i].style.display = 'none'; } })();