qutebrowser icon indicating copy to clipboard operation
qutebrowser copied to clipboard

feat(userscripts): Update qute-1pass for op v2 and add rofi selection

Open greggh opened this issue 8 months ago • 0 comments

This commit updates the qute-1pass userscript with several improvements:

  • 1Password CLI v2 Compatibility: Updates op commands (e.g., item list, item get, signin) and associated jq parsing to work with the latest op CLI version 2. The previous version was incompatible.
  • Rofi Selection for Multiple Logins: When multiple 1Password entries match the website's domain, the script now uses rofi to prompt the user to select the correct login instead of defaulting to the first match.
  • Improved Domain Extraction: Implements a more robust method for extracting the registrable domain (eTLD+1) from the URL, handling subdomains and different schemes more reliably.
  • JavaScript Event Fix: Changes the dispatched JavaScript event from change to input for better compatibility with form filling on modern websites.

greggh avatar May 02 '25 16:05 greggh