easy userscript updater snippet

By thomd Last update Mar 27, 2009 — Installed 49 times. Daily Installs: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0
Script Summary:
copy-paste this updater script snippet at the end of your userscript file hosted on userscripts.org. Your script is now displaying update notifications the next time you upload a new version of your script.
Version: 1.0.1

This script has no discussions.

start the discussion

This script has no reviews.

Usage:

Do not just install this script! Use it as a snippet and copy-paste it in your own userscript!

Instructions:
  1. Copy and paste the script snippet at the end of your userscript file.
  2. Set at least script-id (from userscripts.org) and current script version as options in init function.
  3. You may optional overwrite the checkInterval, injectInto and updaterCss option.
  4. You may optional define additional (non standard) userscript-meta tags @change or @depricated in your script.

  5. Now update currentVerson in the init function every time you update/upload your script


For more detailed information see comments within the userscript!




Changelog

2009-01-29 - 0.1   - created
2009-03-09 - 0.2   - rewritten and implemented with module pattern
2009-03-10 - 0.3   - included change-message
2009-03-24 - 0.4   - included deprication-message
2009-03-25 - 1.0   - first final release
2009-03-27 - 1.0.1 - minor fixes