KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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 + "."); .
Tags (comma-separated)
Save Edits
Cancel