|
I have started to work on Greasemonkey scripts and was just starting to wonder how you go about updating yours Chris? I see in the codes that you do an XML request to an external PHP page, but, what's the code in that page and does it automatically download the update or what? Thanks Chris!
|
|
|
|
Trade secrets are not released. =x I decided using AJAX was the best way to get the data to check for updates. Thus, as you said, I send an XHR to the server with the current version. The server script then compares the script version with the current, and returns either true or false. (Entry a false version for an example.) The script then redirects to the same page which contains a redirect function to the actual topic on SZ. Frankly, it's easier to say that I'm willing to put any codes submitted to SZ into the update function.
|
|
|
|
|
nevah... my codes! Thanks for the insight though Chris!
|
|
|
|
No problem. If you need more help, just post back.
|
|
|
|
|
short of giving me your code... there's nothing that I need help with!
|
|
|
|
Bug testing?
|
|
|
|
|
pssh I has loads of buggers around already!
|
|
|