A little help?
|
|
Now I have made the changes! Can you pleaseee check now :) |
|
|
Also can you tell me whether it gets updated automatically or does it prompt for update!! If prompts then in which manner :) Also from the source of this script [http://userscripts.org/scripts/review/24464] of yours I found that you have set the id 38017 where as the Id of the script is 24464 !! Can you please tell me whether I am wrong! :) |
|
|
Your code is correct now, however I suggest putting the update code at the bottom in future release to keep it out of the way of your code. You did the right thing by replacing my script id number with your's. If you want to see how the script prompts the user to update then change the version of the script on your computer and leave the one on userscripts.org the same. Next go to the "User Script Commands..." submenu and select "Check Blakut Moderation Script by Swashata For Updates" and you will be prompted to update just like a user would when you updated you script on userscripts.org |
|
|
Thanks a lot man!! I will add your update script in all our scripts! and also will publish it in our blog! Again thanks a lot for your help! :) |
|
|
I have tested and it has worked! Thanks again |
|
|
I paste your auto update script at bottom of mine...
|
|
|
You need to surround your userscript header like this:
scr_meta=<><![CDATA[// ==UserScript== // @name Zicmama + Last.fm // @namespace http://www.zicmama.com/ // @description Inserts Zicmama search links on Last.fm. Then copy your favorite artist album on your ZicDisk!! // @include http://last.fm/* // @include http://*.last.fm/* // @include http://lastfm.*/* // @include http://*.lastfm.*/* // ==/UserScript== ]]></>; |
|
|
I was thinking that what will happen when I change the name of my script! As when newer version is available then this script opens a new tab for that and GM replaces the old script with the newer version! But if the name if the newer version is different then will it delete the previous script!! Also will it be possible to update a script which is not listed by Userscript! coz in those cases each time a unique code is generated for installation!! :/ |