Copy links to Clipboard

Hey all,

I’m often copy-pasting links to tasks and patches on dev.b.o, to meeting notes, chat messages, weekly reports, etc. Because this got a bit annoying to do properly, I made a GreaseMonkey script to add a few buttons to the top of the page:

These buttons copy the page ID and the title to the clipboard, in various markups:

Patches and tasks:

image

  • MD: [T82359: Stronger binding of Active and Selected](https://developer.blender.org/T82359)
  • Wiki: {{Phab|T82359}}: Stronger binding of Active and Selected

Commits:

image

  • MD: [36aeb0ec1e2e: UI: Add temperature units](https://developer.blender.org/rB36aeb0ec1e2ec8cd6a3690ac11cd3c50f3851802)
  • Wiki (long): {{GitCommit|rB36aeb0ec1e2e}}: UI: Add temperature units
  • Wiki (short): {{GitCommit|rB36aeb0ec1e2e}}

Download

The script can be downloaded from https://stuvel.eu/post/2020-11-19-greasemonkey-phabricator-link-copy/

It’s been tested with Firefox, and requires the Greasemonkey add-on. It may work with a compatible add-on for other browsers, but I haven’t tested that so it’s your own responsibility.

1 Like

Cool.
I did post several copies of an update page of the VCStudio (blender-organizer) on Github, LBRY and here. Good they all used MD file. Interesting idea.
How about just somebody makes it into a standard thing on the devtak? Or is it some kind of separate software template?