Describe the bug
If using iCloud sync, trying to delete a custom Userscript is not possible once it is synced.
- Adding a custom Userscript works as expected, with no issues.
- Disabling and enabling correctly syncs almost instantly, with no issues.
- Deleting a custom Userscript is possible if removed before iCloud sync is performed.
To reproduce
Steps to reproduce the behavior:
- Open wBlock on iOS or macOS
- Go to Userscripts
- Add a custom Userscript (such as AdGuard Popup Blocker)
- Ensure it is enabled, then perform an iCloud sync on that same device.
- Check the other device has been synced, and the custom script is listed.
- Now, try to delete the script on the original device, and perform an iCloud sync on both devices.
Expected behaviour
No matter which device you delete the Userscript, iCloud sync will remove it from all synced devices.
Environment
- OS: iOS 26.5 Beta 2, macOS 26.5 Beta 2
- wBlock Version: 2.0.2 (530)
- Intel or Apple Silicon (macOS only): Apple M2
Describe the bug
If using iCloud sync, trying to delete a custom Userscript is not possible once it is synced.
To reproduce
Steps to reproduce the behavior:
Expected behaviour
No matter which device you delete the Userscript, iCloud sync will remove it from all synced devices.
Environment