I have a greasemonkey script with following meta block-
// ==UserScript==
// @name TDF Improved Dark Skin
// @namespace TDF
// @include http://www.digit.in/forum/
// @copyright harshilsharma63
// @author harshilsharma63
// @author harshilsharma63
// @downloadURL https://openuserjs.org/install/harshilsharma63/TDF_Improved_Dark_Skin.user.js
// @updateURL https://openuserjs.org/install/harshilsharma63/TDF_Improved_Dark_Skin.user.js
// @grant none
// @version 0.4
// ==/UserScript==
Even if I update the script on the server and increase the version (e.g. from 0.2 to 0.4), Greasemonkey doesn't update the installed script. Also, in Greasemonkey's user script management page in Firefox, the "find updates" and "forced find updates" are grayed out. What am I doing wrong?
You don't need to set @downloadURL or @updateURL to make sure your script updates. All the latest user script managers use a new method to check for updates if those values aren't present. But if you are going to set them at least use the meta url to conserve my bandwidth.
// @updateURL https://openuserjs.org/meta/harshilsharma63/TDF_Improved_Dark_Skin.meta.js
Source: I run OpenUserJS.org and implemented the initial version of the Greasemonkey updater.
This appears to be Greasemonkey Bug #1938. It should be fixed in the next release of Greasemonkey (Version 2.1).
Also, it never hurts to check that extensions.greasemonkey.enableUpdateChecking
is not set to false
in about:config.
(The key may not be present for newer installations of GM+FF.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With