A collection of browser userscripts I've developed to enhance various websites.
A simple userscript that adds a copy button next to GitHub and GitLab pull requests to copy the PR as markdown in the format [PR Title](PR URL).
- Install Tampermonkey extension in your browser
- Copy the contents of
pr2markdown.user.js - Create a new userscript in Tampermonkey and paste the code
- Save the userscript
- The script is now active on GitHub and GitLab PR pages
- Navigate to any GitHub or GitLab pull request
- Look for the 📋 button next to the PR title
- Click the button to copy the PR as markdown
- The button will show ✅ on success or ❌ on failure
- GitHub: github.com and GitHub Enterprise
- GitLab: gitlab.com and self-hosted GitLab instances
The extension copies PRs in this markdown format:
[PR Title](https://github.com/user/repo/pull/123)No build process required - userscripts use plain JavaScript.
pr2markdown.user.js- Tampermonkey userscript for copying PRs as markdown