remove_hooks
Remove installed JavaScript hooks and restore original objects, optionally retaining persistent init scripts.
Instructions
Remove installed hooks and restore original objects in-place.
Args: keep_persistent: If True, keep persistent init_scripts registered.
Returns: dict with status, restored_objects, cleared counts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keep_persistent | No |