preparation for installation
![]() ![]() |
Hi I don't know scripting, but glancing at these two lines: //delete everything on this page, then go to next page
— is it sensible for the user to time the installation carefully (avoid installing it too soon)? Thanks
|
![]() ![]() |
Not sure what you mean by "too soon". It is a crude line of code, yes: It finds any link that deletes *something*, grabs the first numerical sequence it can find from the inline script, and tries to delete the list with that ID. There are several safeguards to ensure that only lists are deleted:
So let's say the user installs the script and then somehow visits a page that shows their bookmarks themselves but begins with /list. Worst case is that the userscript will probably hammer the server with requests to delete list IDs that don't exist. In any case, a big red message appears at the top of their screen, so they know what's going on if the page is "randomly" refreshing. ...but I really doubt the user is going to find themselves in that scenario, since /list only has lists (as far as I can tell.) |



