Google Search Link Copier

By Parashuram Last update Dec 14, 2009 — Installed 416 times.

update check and notify

in
Subscribe to update check and notify 3 posts, 2 voices



gabedibble Scriptwright
FirefoxWindows

Hello Parashuram,

I am happy to see you've also implemented a similar update-check and notify popup in your script!

I wanted to let you know it's not working properly, and a simple fix will take care of this hopefully. It does look like the basic functionality was changed, but here's how mine works and how I had a similar problem when I first implemented the update-check:

As I am familiar with this functionality, the 'scriptVersion' uses a datetime value for when the script was last updated. Thus I use the commented-out 'alert' function to get me the final datetime when I finish my updates and before uploading the new version---I then transcribe that new datetime into the script and onto my userscript page (for the update-check to read.)

Example from my code:
var scriptVersion = 1258854468202; //alert(Date.now());
(the update functions are at the bottom)

I hope this helps you my friend. I know your script is a little different, but maybe this will make sense and help. ;)
If there's anything I can do, just let me know.

Best regards,
Gabriel D

 
Parashuram Script's Author
FirefoxWindows

Nice Idea, makes sense to use the date to check for the latest.

 
Parashuram Script's Author
FirefoxWindows

I just checked, the script update checker in my script works too. Can you be specific about what part is wrong, in scriptUpatechecker ?

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel