Question user script to widen the look on page layout?

zorg

Master Member
RPF PREMIUM MEMBER
on installing/updating to firefox 6 the user script i was using to widen the look of the forum is not supported

any info in getting rid of the annoying wasted space down either side of the website?

-z
 
The script should still work, as it's really independent of the browser... Are you sure the plugin is enabled and the script is enabled?
 
Gotcha the plugin is incompatible, get greasemonkey instead install and run the script from greasemonkey...

Code:
// ==UserScript==
// @name             theRPF
// @namespace     http://www.therpf.com
// @description     theRPF

// @include     http://*.therpf.com/*
// @include	http://therpf.com/*
// @include	http://*.moviepropsites.com/*
// @include	http://moviepropsites.com/*
// @include	https://*.therpf.com/*
// @include	https://therpf.com/*
// @include	https://*.moviepropsites.com/*
// @include	https://moviepropsites.com/*

// ==/UserScript==


//
//--- Start Full width by cocomonk22
//

(function() {
var css = ".page {\n	width: 98% !important\n	}";
if (typeof GM_addStyle != "undefined") {
	GM_addStyle(css);
} else if (typeof PRO_addStyle != "undefined") {
	PRO_addStyle(css);
} else if (typeof addStyle != "undefined") {
	addStyle(css);
} else {
	var heads = document.getElementsByTagName("head");
	if (heads.length > 0) {
		var node = document.createElement("style");
		node.type = "text/css";
		node.appendChild(document.createTextNode(css));
		heads[0].appendChild(node); 
	}
}
})();

//
//-- End Full width by cocomonk22
//

That should work, and only change the width, as it's the relevant part of the script I use for that... Not tested on it's own but it should still work...

I have it set to 98% width in the above code, you can edit that at will
 
thanks exoray, the screencap was from my greasemonkey pages and thats where i had it running.

i will have a play around and see what i can do (probably not a lot :lol)

-z
 
the only thing that is running in greasemonkey is this. how can i get that script installed you posted above?
 
The script was likely installed in stylish, thus it no longer working...

Go to the greasemonkey options and make a new script, copy and paste what I put above and then make sure it's enabled, both the script and greasemonkey...

Refresh the page...
 
This thread is more than 12 years old.

Your message may be considered spam for the following reasons:

  1. This thread hasn't been active in some time. A new post in this thread might not contribute constructively to this discussion after so long.
If you wish to reply despite these issues, check the box below before replying.
Be aware that malicious compliance may result in more severe penalties.
Back
Top