Namespace is not working?
|
|
I need to have my users update my script every time I release a new one, so I created an auto-updater. It works fine, but my only problem now is it creates a new userscript when I install the new one. I think I am using the namespace right, can anyone see what's wrong? This is the metadata for my older and newer version: Old version:
// ==UserScript== New version:
// ==UserScript== And yes, both of the files are in http://itsjareds.scienceontheweb.net/misc/sip/ . |
|
|
The namespace is for distinguishing scripts from other scripts of the same name. For example, I might use my user page on us.o as a namespace for my scripts, so that my "script name here" script is kept separate from a "script name here" script that you wrote. The problem you're having can, I think, be solved by changing the name of your script to "Spogg Improvement Pack" without the version number attached; both of the scripts would have the same name. The user would have to determine the version from the version tag, if they should even be interested. -Joel |
|
|
Thanks -- I remember reading that but I guess I forgot. Too bad the namespace does not work for this reason too. |
|
|
To be short: |
|
|
@namespace should be the same too |
