Skip to content

New optional field for sites that are not bang-friendly. #426

Description

@Leftium

Is your feature request related to a problem? Please describe.
Many sites are not bang-friendly. For example:

  • !copilot redirects, ignoring and stripping query params (unless the referring URL is bing.com)
  • https://brew.sh does not accept url params and requires clicking to bring up its search input.

Describe the solution you'd like

  • Add an optional field to the bang schema that a browser extension or user script could use to fill in fields (and optionally automatically submit.)
  • The field value would be an array of [action, selector] tuples where actions are like click and fill.
  • The Kagi extension could recognize this new field, saving users from having to install any extra browser extensions or user scripts.

  • An alternative solution may be to copy the search query to the clipboard when a site is flagged as not bang-friendly.
  • The Kagi site could do this without any extra browser extensions or user scripts
  • It may be nice to let the user know their query was copied to the clipboard, though.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions