sindresorhus/refined-github

Add copy-pr-link feature #2764

oswaldoacauan posted onGitHub

<!-- Thanks for contributing! 🏓 -->

Would be useful to have an option where we copy to clipboard the URL of newly created PRs.

Scenario:

  • Open PR
  • Copy the URL in the address bar
  • Post the URL in a Slack channel so it get reviewed

Example URL: https://github.com/sindresorhus/refined-github/pulls

<!-- Please specify a URL where the feature should appear -->


I see the appeal and usefulness, I don't think a web page should automatically copy a URL to the clipboard upon loading, that sounds like unexpected behavior.

I think the fastest way to do this is:

  1. ctrl+l (focuses the URL bar)
  2. ctrl+c (copies it)

Same on macOS with cmd.

Before the page even finishes loading, you can have the URL in the clipboard with 2 quick shortcuts.

posted by fregante about 5 years ago

Fund this Issue

$0.00
Funded

Pull requests