I wrote the following Chrome-only bookmarklet to work around this.
First, the setup:
- Go to Bookmark Manager (chrome:/bookmarks)
- Click the "..." menu at the top of the page
- Click "Add New Bookmark"
- Name the bookmark something like "Dahua password paste"
- Paste the snippet that...