-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Required resources do not update #523
Comments
@riveruniversity When you say "clear the cache", do you mean you went to a folder and deleted some files manually? We'd like you to remove this @quoid Maybe we should update this note to remove possible ambiguity. |
I’m sorry for lack of clarification. I am actually removing the |
@riveruniversity Well, that's weird. I tested it locally and it updates fine. Could you be more specific about the basis of your judgment? |
@ACTCD here is my screen recording of the procedure. I’m updating the library by adding a test function. |
@riveruniversity OK, I understand. Thanks for the screen recording. You are using the iOS (iPadOS) version and using an external editor to perform this action. The instructions in the README are expecting to perform this operation in the built-in editor of the extension page of macOS version. This difference is the reason for the inconsistent expected results. When you use an external editor, the save operation does not trigger the extension to perform any action. Nor does it trigger an update to the script resource when you refresh the page later to inject the script. However, if you open the This is indeed something that needs to be considered and improved in the multi-storage sync refactor issue #452 in the future. But I'll also investigate if there's an easy way to improve the current experience. |
Yeah, I think so. Also maybe a note about iOS vs macOS considering this conversation. |
@ACTCD I did open the Thank you much. |
@riveruniversity In the current version, even if you change the file name, you should still need open popup once to detect and refresh external modifications. That should have the same effect as not changing the filename. I'm not sure now where the problem you're having is. Anyway, I'm pushing a new PR that will improve the current experience by automatically detecting and updating external modifications without opening the popup. |
Hello,
I am using the extension on iOS Safari iPad and iPhone.
I want to clear the cache as instructed but the downloaded JavaScript file does not update.
It works when I change the local file name of the user script.
The text was updated successfully, but these errors were encountered: