Home of POI and fire twirling Dezso, start it up - uploaded by Fr34kDezso, I like butterflies ok - uploaded by Fr34kDezso, more butterflies - uploaded by Fr34k
      

Firefox script to make the site a bit less white :)

      
Topic Options
Rate This Topic
#709364 - 14/03/06 02:35 AM Firefox script to make the site a bit less white :) ****
spiralx Offline
veteran

Registered: 01/05/02
Loc: London, UK
Ok I generally like the new site but it's a little too white in my opinion. So if you want something different and are running Firefox then here's how you can change it to something like this...



Changed -
1) Tables have a very light grey background - new posts/threads with new posts still show up as a slighly darker grey.
2) Font is Verdana by default instead of Arial.
3) The area you enter your comment in is a bit bigger and the font is bigger.
4) Continue button now says Post reply instead

If you want this then you need to get the Greasemonkey extension for Firefox which you can install here

http://greasemonkey.mozdev.org/

Once you've got that and restarted Firefox then go to

http://www.badongo.com/file/281763

and wait until you get to a page with a load of code on it (should take 20 seconds or so) and there should be a bar at the top of the page saying

"Greetings fellow traveller. This is a Greasemonkey user script. Click install to start using it"

Click install, go back to HoP and it should be working!

Let me know any problems, thoughts etc.
_________________________
"Moo," said the happy cow.

Top
#709365 - 14/03/06 02:57 AM Re: Firefox script to make the site a bit less white :) [Re: spiralx]
Sym Offline
Geek-enviro-hippy priest

Registered: 28/09/04
Loc: Diss, Norfolk


I've just been doing the same thing this morning! I'll finish mine off and post it up as well (with screen shot)

It's nice being a HoP geek
_________________________
There's too many home fires burning and not enough trees

Top
#709366 - 14/03/06 03:06 AM Re: Firefox script to make the site a bit less white :) [Re: Sym]
spiralx Offline
veteran

Registered: 01/05/02
Loc: London, UK
indeed

The changes finally gave me an excuse to have a play with Greasemonkey, and sort out a few things which've been annoying me here. Need to sort out quoting still though
_________________________
"Moo," said the happy cow.

Top
#709367 - 14/03/06 08:39 AM Re: Firefox script to make the site a bit less white :) [Re: spiralx]
NOn Offline
activist for HoPper liberation.

Registered: 23/06/04
Loc: ffidrac
so basically, you've changed it back how it was pretty much

what i don't get, is that a screenshot of how yours now looks? because mine is not that white at all.... in fact it's grey, and i haven't done a thing to it...
_________________________
Aurinko freedom agreement reached 10th Sept 2006 if it makes no sense that's because it's NOn-sense.

Top
#709368 - 14/03/06 09:06 AM Re: Firefox script to make the site a bit less white :) [Re: NOn]
spiralx Offline
veteran

Registered: 01/05/02
Loc: London, UK
That's a screenshot of how it looks when using my script - it's grey again, but a lot less so than before which was a bit gloomy

You say you're still seeing it as it was before? Try holding the Control key down and pressing F5; you might not have got the new version of the site yet!


Edited by spiralx (14/03/06 09:07 AM)
_________________________
"Moo," said the happy cow.

Top
#709369 - 14/03/06 09:15 AM Re: Firefox script to make the site a bit less white :) [Re: spiralx]
NOn Offline
activist for HoPper liberation.

Registered: 23/06/04
Loc: ffidrac
hmm.. maybe i don't want it the white version then....

all the graphics have changed and the links are now white, but the forum is most definately grey....
_________________________
Aurinko freedom agreement reached 10th Sept 2006 if it makes no sense that's because it's NOn-sense.

Top
#709370 - 14/03/06 09:18 AM Re: Firefox script to make the site a bit less white :) [Re: NOn]
spiralx Offline
veteran

Registered: 01/05/02
Loc: London, UK
Then you've got part of it, you'll probably get the rest if you refresh a bit more. There's a sticky thread at the top of this section about it anyway
_________________________
"Moo," said the happy cow.

Top
#709371 - 14/03/06 09:25 AM Re: Firefox script to make the site a bit less white :) [Re: spiralx]
NOn Offline
activist for HoPper liberation.

Registered: 23/06/04
Loc: ffidrac
yeah i noticed, and then i got intrigued so i refreshed it, and it did go all white, so i changed it to blue....:)

so this is what CSS does huh? what a coincidence, i've been learning all about that this week....
_________________________
Aurinko freedom agreement reached 10th Sept 2006 if it makes no sense that's because it's NOn-sense.

Top
#709372 - 14/03/06 09:34 AM Re: Firefox script to make the site a bit less white :) [Re: NOn]
spiralx Offline
veteran

Registered: 01/05/02
Loc: London, UK
Yeah, my script pretty much just overrides the CSS styles for the page and tweaks a couple of other bits.
_________________________
"Moo," said the happy cow.

Top
#709373 - 14/03/06 10:35 AM Re: Firefox script to make the site a bit less white :) [Re: spiralx]
Sym Offline
Geek-enviro-hippy priest

Registered: 28/09/04
Loc: Diss, Norfolk
For the record, ctrl+F5 will do a clean refresh - it'll clear up all the cache problems
_________________________
There's too many home fires burning and not enough trees

Top
#709374 - 15/03/06 11:25 PM Re: Firefox script to make the site a bit less white :) [Re: Sym]
pricklyleaf Offline
with added berries

Registered: 07/03/05
Loc: Manchester
mmm... you know, you could have saved yourselves a lot of bother, and go into my home and change the forum colours that way, seen as the one you made is pretty much exactly the same as it used to be.

But then I guess that would have been no fun...
_________________________
Live like there is no tomorrow,
dance like nobody is watching
and hula hoop like wiggling will save the world.

“What lies behind us and what lies before us are tiny matters compared to what lies within us.”

Ralph Waldo Emerson

Top
#709375 - 15/03/06 11:33 PM Re: Firefox script to make the site a bit less white :) [Re: pricklyleaf]
spiralx Offline
veteran

Registered: 01/05/02
Loc: London, UK
Exactly Besides, I couldn't've changed things like the size of the reply box that way. The latest update is a lot better so I've changed my script so it just does that now
_________________________
"Moo," said the happy cow.

Top
#709376 - 16/03/06 03:35 AM Re: Firefox script to make the site a bit less white :) [Re: spiralx]
Sym Offline
Geek-enviro-hippy priest

Registered: 28/09/04
Loc: Diss, Norfolk
erm, you can change the reply box size in the options too....but, you're right, a) no fun and b) you can do whatever you want with the site now
_________________________
There's too many home fires burning and not enough trees

Top
#709377 - 16/03/06 03:54 AM Re: Firefox script to make the site a bit less white :) [Re: Sym]
coleman Offline
big and good and broken

Registered: 29/08/02
Loc: lunn dunn, yoo kay
i used to use the 'small' profile which used white as the main colour and also used smaller fonts with verdana as the default.

since the site re-hash, that option has disappeared and the 'alternate' option that seems to have replaced it is like a mix of that and the new default version

this looks like it might sort me out - cheers guys


cole. x
_________________________
"i see you at 'dis cafe.
i come to 'dis cafe quite a lot myself.
they do porridge."
- tim westwood

Top
#709378 - 16/03/06 04:06 AM Re: Firefox script to make the site a bit less white :) [Re: coleman]
Sym Offline
Geek-enviro-hippy priest

Registered: 28/09/04
Loc: Diss, Norfolk
mmm, I see a market for custom designs here!

Any requests?
_________________________
There's too many home fires burning and not enough trees

Top
#709379 - 16/03/06 04:33 AM Re: Firefox script to make the site a bit less white :) [Re: Sym]
spiralx Offline
veteran

Registered: 01/05/02
Loc: London, UK
The current script is

 Written by: me


// Home of Poi modifier script
// version 0.02!
// 2006-03-13
// Copyright (c) 2006 James Skinner
// Released under the GPL license
// http://www.gnu.org/copyleft/gpl.html
//
// ==UserScript==
// @name HoP Modify 0.02
// @description Changes HoP pages a bit
// @include http://www.homeofpoi.com/ubbthreads/*
// ==/UserScript==

function addGlobalStyle(css)
{
var head, style;
head = document.getElementsByTagName('head')[0];
if (!head) { return; }
style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = css;
head.appendChild(style);
}

addGlobalStyle(".newdarktable { color: #000000; background-color: #ececea; font-weight: bold; !important }");
addGlobalStyle(".subjecttable { color: #000000; background-color: #eeeeee; color: #000000; !important }");
addGlobalStyle(".darktable { background-color: #ffffff; color: #000000; !important }");

var bodyArea = document.getElementsByName("Body")[0];
bodyArea.rows = 16;
bodyArea.cols = 80;

var contButton = document.getElementsByName("textcont")[0];
contButton.value = "Post reply";



Just save it as something like hop.user.js, open it in the browser and install. Gets rid of the annoying alternating colours in the thread list pages.


Edited by spiralx (16/03/06 04:36 AM)
_________________________
"Moo," said the happy cow.

Top



     Show more..