Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

Gmail Quota Graph

Shows graph of used disk size and available disk size on your Gmail account






Jun 26, 2008
Shinya Kasatani Script's author

It stopped working today because of the internal changes in Gmail, so I've updated the script.

 
Apr 20, 2008
Shinya Kasatani Script's author

Thanks for the reports and fixes about the problems in recent versions of Gmail and Firefox. I've uploaded a new version.
As Raffles described, there were 2 problems:

- gmail.getFooterElement() failed. This function fails right after the Gmail Greasemonkey API object is loaded, but after few seconds it becomes available. The new script waits until it doesn't throw an error.
- GM_getValue() and GM_setValue() didn't work as excected. This was caused by a security fix[*1] in Greasemonkey, which disables these functions when they are called from unsafeWindow.

[*1] http://wiki.greasespot.net/0.7.20080121.0_compa...

 
Apr 19, 2008
Raffles Scriptwright

Er, oops, this is the fixed version: http://userscripts.org/scripts/show/25351

 
Apr 19, 2008
Raffles Scriptwright

The script doesn't work because:

- gmail.getFooterElement() doesn't work. It makes the entire script crash. This is the Gmail API's fault. [near bottom of script]

- It seems that when a key isn't available, GM_getValue doesn't actually return the defaultValue passed to it. [line 140]

Shinya doesn't appear to be around so I took the liberty of fixing the script. Shinya, if you ever come back here and decide to fix it yourself, let me know and I will gladly take this fixed version down.

Fixed version

 
Feb 21, 2008
teto User

script doesn't work on GMail new version and FF2.0.0.12. Do i need to change some settings?

 
Jan 29, 2008
oeconom User

Works again since today.
Thanks for fixing (or did Google re-design?)!
F.

 
Jan 28, 2008
Shinya Kasatani Script's author

Yes, I noticed that it shows an error. I'll investigate it later.

 
Jan 26, 2008
oeconom User

For some days now, the quota graph isn't shown anymore in my Gmail account and I'm getting an "Failed to parse !" Error.
Might this relate to the most recent changes Google did to Gmail?!?

Thanks for helping.

Felix

 
Jan 2, 2008
Nate Murray User

I love this script. What do you think about the idea of having a third line which plots the percentage of usage over time? This would help people see if they are receiving email faster than google is supplying it.

I know that I would love to see that.

 
Dec 26, 2007
hebbet Scriptwright

Script isn't working with FF3b2

 
Dec 20, 2007
Dawudd User

For the new Gmail, if you click on the Options in the Chat box, it gets obscured by the graph.

 
Dec 18, 2007
Gergely Kontra User

Hi!

Great script with the following illustrated error:

I cannot really read the date here...

 
Nov 27, 2007
hebbet Scriptwright

Okay it works!

 
Nov 27, 2007
Shinya Kasatani Script's author

I'm glad it's included into Better Gmail 2!

I've uploaded a new script which now works with Display Unread Count First enabled. Please try it if you had any problems with the previous version.

If you still have problems, please report the error message shown (if any), and your Gmail display language (which can be set under "Settings" link).

 
Nov 26, 2007
hebbet Scriptwright

Script don't work with Google Mail.

 
Nov 26, 2007
Gina Trapani Scriptwright

Hi there -- I loved this script so much I included it in the Better Gmail 2 Firefox extension, here:

http://ginatrapani.org/workshop/firefox/betterg...

One thing I noticed is that if the Display Unread Count First script is enabled, this one doesn't work. (I get the same error Raffles does.) Here's that one:

http://userscripts.org/scripts/show/10253

Otherwise, thanks for all the work you put into this.

 
Nov 22, 2007
Raffles Scriptwright

Google Mail - Inbox - my.name@gmail.com
URL is http://mail.google.com/mail/#inbox

Hope this helps. It's just happened to me again. Sometimes it seems to work, others not.

 
Nov 22, 2007
Shinya Kasatani Script's author

Raffles, what does the title of your Gmail look like? Does it contain your account name (yourname@gmail.com)?

 
Nov 22, 2007
Shinya Kasatani Script's author

Just posted a minor update - the previous version showed a weird scale such as "1gb/3gb/5gb", so I've fixed it to show "2gb/4gb".

 
Nov 20, 2007
Raffles Scriptwright

I get an error: "Failed to parse account name!"

 
Nov 17, 2007
Raffles Scriptwright

Great use of <canvas>. Nice to see it in action!</canvas>

 
Nov 17, 2007
Shinya Kasatani Script's author

Here's another update because the script stopped working once again. It now uses Gmail Greasemonkey API, so hopefully it should be more robust to future updates of Gmail.

 
Nov 5, 2007
kaz User

the big black box saying "install this script" too hard to understand?

 
Nov 1, 2007
digital.bramhin User

hey i am new to scripting,,how do i install this script?.Do i have to copy this .js file some where?

 
Oct 30, 2007
Shinya Kasatani Script's author

I've updated the script so that it works with the new version of Gmail which was released today.

You could comment on this script if you were logged in.