Large

window.status

By qufighter Last update Sep 13, 2010 — Installed 1,890 times.

Script Summary: This script is a false version of window.status that you set by setting winstatus.status='string value';



Thumb

This script is a false version of window.status that you set by setting

winstatus.status='string value';

To clear

winstatus.status='';

This script creates a new instance of the WindowStatus object called winstatus

To enable this script, require it in your script

// @require http://userscripts.org/scripts/source/86018.user.js

Next replace window.status with winstatus.status in your script, and a simulated status bar will be used instead (or if default status bar is not enabled);

You can edit the colors and other properties as follows:

winstatus.borderRadius=15;
winstatus.font='Times';
winstatus.fontSize='36pt';
winstatus.color='#333';
winstatus.backgroundColor='#ECEAFF';
winstatus.padding=3;
winstatus.borderWidth=1;
winstatus.borderColor='#FFF'
winstatus.avoidRedundentStatus=false;

//then set status
winstatus.status="New Status";

//to create your own instance (not necessary or supported as of yet)
//var mywindowstatus= new WindowStatus();

@Required scripts may only download when the script is installed


to install the script from your hard drive you must set the about:config
greasemonkey.fileIsGreaseable to true, then navigate to the script your working
on to install it.

while developing or before uploading you may choose to add something like the following:

if(typeof(winstatus)=='undefined')winstatus={};

This script is to help get around the requirement of setting dom.disable_window_status_change=false in about:config for many scripts