views:

307

answers:

3

Hey.

I've been wondering how I might set the version number displayed for user-scripts in Chrome's extension tab

Example image

So far the obvious methods have failed:

// ==UserScript==
// @version 1.1.5
// @uso:version 1.1.5
// ==/UserScript==

I know Greasemonkey for Firefox doesn't use a version value, but since Chrome actually displays a version number, I thought it might.

Perhaps this is a feature that has not been implemented?
Or maybe it was never intended to be there, but it is there because extensions have version numbers, and user-scripts are currently installed as extensions?

(I'm using the Linux beta, version: 4.0.249.43, by the way)

Thanks.

Edit: Seems this is listed as an unconfirmed bug in the Chromium bug database (Issue 30760)

+1  A: 

Or maybe it was never intended to be there, but it is there because extensions have version numbers, and user-scripts are currently installed as extensions?

I think so.

Version number used for updating extensions. User scripts currently can not update. "Update extensions now" button doesn't work for them.

NV
A: 

Ok, this appears to be a confirmed bug now. (Issue 30760)

Seems the standard @version meta-data is the correct usage, but it has not yet been implemented.

Atli
A: 

Fixed, but apparently not yet released: http://code.google.com/p/chromium/issues/detail?id=30760#c16

none