Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

append "?update" to the script URL when checking for updates

this is what userscripts.org recommends to avoid messing up install stats
  • Loading branch information...
commit baabab2f49bed804c6e830a90272bccc9be40063 1 parent 5591ad6
@mislav authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  toolkit/update_notifier.js
View
2  toolkit/update_notifier.js
@@ -25,7 +25,7 @@ var checkUserscriptUpdate = (function(){
update.available = false
update.scriptLength = scriptLength
}
- var sourceURL = scriptURL.replace(/show\/(\d+)$/, 'source/$1.user.js')
+ var sourceURL = scriptURL.replace(/show\/(\d+)$/, 'source/$1.user.js?update')
if (!update.available) {
var time = Math.floor(new Date().getTime() / 1000),
Please sign in to comment.
Something went wrong with that request. Please try again.