• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Greasemonkey script to un-narrow forum.

hark

Member

Thanks: 7
Messages: 25

#1
I'm pretty conservative with screen space, and didn't really like that the forums are contained within a 80%-width div. The pages were hard to read because they got squashed together, so I wrote a quick GreaseMonkey script to make the main content div use the entire width of the screen (I think I suffer from horror vacui):
Code:
// ==UserScript==
// @name           FreeBSD Forums Full-Width
// @namespace      hark
// @include        http://forums.freebsd.org/*
// ==/UserScript==

(function () {
	var divs = document.getElementsByTagName( 'div' );
	for ( var i in divs ) {
		var div = divs.item( i );
		if ( div.className == 'page' )
			div.style.width = '100%';
	}
})();
While I think the site should be served this way by default, I can accept that it's simply an aesthetic issue and probably won't be changed. Just thought I'd share the script in case anyone else felt similarly. Figured I'd drop it here in the feedback section, simply because it seems like the most appropriate place for forum meta-discussion.
 

lme@

Administrator
Staff member
Administrator
Moderator
Developer

Thanks: 287
Messages: 767

#5
Could someone write me a greasemonkey script which removes the FreeBSD heading in the forums? On my eeePC I need every pixel. ;)
 

graudeejs

Son of Beastie

Thanks: 674
Messages: 4,611

#6
lme@ said:
Could someone write me a greasemonkey script which removes the FreeBSD heading in the forums? On my eeePC I need every pixel. ;)
you can use addblock and addblock+ for that
 
Top