UserScript Update Notification
Last update on Jul 9, 2008
Version 2.1 (09/06/08): Notifies your script users of available updates! Your users don't need to install this script, it's built into yours! Open for more info! Author: Seifer
What does it look like to my users?

Click for the full size picture
How do I use it?
Just add this script to the end of yours and set the four variables shown below.scriptName: Your scripts name, this is shown to the user in the alert but not used by the script itself.
scriptId: This is the number that is assigned to your script on the userscripts.org website. To find it, go to your script and look in the address bar, you'll see it at the end of the address.
scriptVersion: The version of your script, decimals are supported but NO letters.
scriptUpdateText: The text shown to users when they hit the "more info" link in the alert.
Whats changed?
Version 2.1: Fixed the "Wait Until Next New Version" button not working. Also moved the notification to the center of the users screen.Version 2: Complete rewrite
Version 1: Initial Release
Please let me know if you use this and what you think of it!
Any suggestions, complaints or anything else are welcome too!You could comment on this script if you were logged in.
12 comments
You could comment on this script if you were logged in.

login to vote
many many thanks ;)
login to vote
Great script
just 1 thing
can you make it auto update to the latest version ?
login to vote
Hi, I didn't know about this script, so I made one, please check it out at http://userscripts.org/scripts/show/26062
and let me know what you think. Thanks!
login to vote
Man, could u help me with this? I new to all this, but I want to add this script to mine. How to do this? And how it works? My script is MySpace - Shortcuts
login to vote
Thanks for your input!
I'll see what I can do. I'm new to Javascript ut seem to be getting the hang of it :)
This should help keep my mind off my girlfriend being overseas for the next 35 days with no contact :(
Kane
login to vote
Thanks for your input!
I'll see what I can do. I'm new to Javascript ut seem to be getting the hang of it :)
This should help keep my mind off my girlfriend being overseas for the next 35 days with no contact :(
Kane
login to vote
Thanks for your input!
I'll see what I can do. I'm new to Javascript ut seem to be getting the hang of it :)
This should help keep my mind off my girlfriend being overseas for the next 35 days with no contact :(
Kane
login to vote
my personal minimum requirements
1. a delay between version checks
Possibly done by setting the script to check next at 12PM (Noon) of the next day, by checking local time. This causes
2. 3 options once an upgrade has been found, to "Upgrade, Delay, Stop Alerts"
make sure to include the version number in the delay, so that when you upgrade that particular script.. the "stop alerts" function is reset
this is probably not the way to go, but.. GM_setValue('delay','version||time_of_update')
login to vote
the delay preferably using a GM_setValue
login to vote
i suppose that would call for scanning itself for its own header, and splicing a version number, as well as a direct link to the script's own url.
but i wont/cant use this without an embedded delay of 24 hours
login to vote
@InsaneNinja
Hey, I wanted to use the variables at the top of the script, but as far as I know it's not possible to "use them" in your script. Am I right in saying that?
Because I have to be able to compare the found script_version variable to the one found in the script here at UserScripts.org
I also need to use the script_num and script_name variables..
Any way for me to use them when they are set as
// @version 1
or something like that ?
Kane
login to vote
you could build this into variables at the top of the script..? instead of part of the script
and theres a typo.. it says desciption