These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

Out of Pod Experience

 
  • Topic is locked indefinitely.
 

Greasemonkey script for eve forums, helpanyone? :P

Author
Brujo Loco
Brujeria Teologica
#1 - 2012-01-12 00:18:30 UTC  |  Edited by: Brujo Loco
Hi guys was wondering if anyone could help , create, or simply tell me at least the basic commands to create a greasemonkey script to take away the background image and the avatar pics of everyone in a thread from thr eve forums? I dont care if it shows an empty square box with a broken link sign or an all black square or no square at all

I'm not a programmer and now crap about anything related to that field. I don't need fancy lettering or bolded images or sig rotation scripts, just something that blocks the background image and the avatar pictures.


Just need to browse the forums without any of the visuals, if I could just see the forum layout without any pictures at all, just text would be better.

Anyone can help or point out to a script like that already in existence? Been googling but most scripts out there just ENHANCE visuals which is the opposite of what I want Big smile

Any help, tips or at least directions will be greatly appreciated.

Thanks!

PD: I just need my eve forum browsing at work much much less conspicuous. Iif someone passes by and sees a bunch of red planets, stars a flying ship and a bunch of little avatar pictures filled with serious people in funny positions ... you get the idea.

Inner Sayings of BrujoLoco: http://eve-files.com/sig/brujoloco

Lutz Major
Austriae Est Imperare Orbi Universo
#2 - 2012-01-12 08:06:29 UTC  |  Edited by: Lutz Major
I use this script for removing the background image as well. I added the removal from the avatar pictures as well.
I tried to revive the
 tags and replace them with PRE tags, but sometimes it works sometimes not *shrugs*
updated


// ==UserScript==
// @name             ImageReplace
// @author           Lutz Major
// @date             Jannuary 2011
// @namespace    https://forums.eveonline.com
// @include          https://forums.eveonline.com/*
// ==/UserScript==

(function()
    {
        try {

            var body = document.getElementsByTagName('body')[0];
            body.style.backgroundColor = '#dddddd';
            body.style.backgroundImage = "none";
            var divs = document.getElementsByTagName('div');
            for (var i = 0; i < divs.length; i++) {
                if (divs[i].className == 'avatar') {
                    divs[i].innerHTML = "";
                }
                // code tag replacement
                if (divs[i].id.match(/forum_ctl00_MessageList_ctl\d+_DisplayPost(1|Alt)_MessagePost1/g)) {
                    divs[i].innerHTML = divs[i].innerHTML.replace(/\[code\]/g, "!pre>").replace(/\[\/code\]/g, "!/pre>");
                }
            }
            
        } catch (eErr) {
            alert ("Greasemonkey error: " + eErr);
        }
        
        return;
    }
) ();   


replace the !pre with the approprate html bracket
Brujo Loco
Brujeria Teologica
#3 - 2012-01-13 00:04:42 UTC
Lutz Major wrote:
I use this script for removing the background image as well. I added the removal from the avatar pictures as well.

stuffz

replace the !pre with the approprate html bracket



Thank you Thank you thank you!!! This is exactly what I was asking for! :D

My smug face when boss approached today from behind trying to peek at what I was looking and I was just reading at plain text walls filled with words upon words upon words was very satisfying.

The better part of this is I can actually tell firefox to tint the background and it changes everything!, so the forums can look like weird spamboards from the 90's

A thousand thanks to you again friend!

If the forum password was diff than account I would post from work but I don't trust the puters there, they all loaded with keyloggers and shells of the company.

Thanks!

Inner Sayings of BrujoLoco: http://eve-files.com/sig/brujoloco

Telegram Sam
Sebiestor Tribe
Minmatar Republic
#4 - 2012-01-13 14:35:38 UTC
Quote:
My smug face when boss approached today from behind trying to peek at what I was looking and I was just reading at plain text walls filled with words upon words upon words was very satisfying.


LOL A victory for all the workers of the world! Smile