I defined the version of my user script in the meta block, like this:
// ==UserScript==
// @name Script Name
// @description Something about what this script does
// @include http://www.example.com/
// @version 5.3.0
// @run-at document-end
// ==/UserScript==
Is there a way to get the version number that I defined? I want to be able to do something like alert("This is version " + SCRIPT_VERSION + ".");
.