Skip to content

[BUG] Custom Userscript not removing with iCloud sync #342

@owlsy

Description

@owlsy

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:

  1. Open wBlock on iOS or macOS
  2. Go to Userscripts
  3. Add a custom Userscript (such as AdGuard Popup Blocker)
  4. Ensure it is enabled, then perform an iCloud sync on that same device.
  5. Check the other device has been synced, and the custom script is listed.
  6. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions