Skip to content

Possible to integrate copying clean links into browser's default copy action? #140

Description

@e-t-l

I'm not 100% sure if this is possible, but there might be a way to make copying a link clean it automatically, rather than needing a separate "Copy clean link" context menu item. If it's possible to intercept—or at least detect—a clipboard-write event (Google Docs does this with JS, so I think a webextension might be able to as well), then when the user copies something using CTRL+C or right-click>Copy, CL could parse the copied object, and if it's a valid hyperlink that can be cleaned, clean it and send its own clipboard-write event with the cleaned hyperlink. Think it would work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions