Skip to content

primeapple/userscripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

My Userscripts Collection

A collection of browser userscripts I've developed to enhance various websites.

Userscripts

PR to Markdown

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).

Installation

Userscript (Tampermonkey)

  1. Install Tampermonkey extension in your browser
  2. Copy the contents of pr2markdown.user.js
  3. Create a new userscript in Tampermonkey and paste the code
  4. Save the userscript
  5. The script is now active on GitHub and GitLab PR pages

Usage

  1. Navigate to any GitHub or GitLab pull request
  2. Look for the 📋 button next to the PR title
  3. Click the button to copy the PR as markdown
  4. The button will show ✅ on success or ❌ on failure

Supported Platforms

  • GitHub: github.com and GitHub Enterprise
  • GitLab: gitlab.com and self-hosted GitLab instances

Output Format

The extension copies PRs in this markdown format:

[PR Title](https://github.com/user/repo/pull/123)

Development

No build process required - userscripts use plain JavaScript.

Files

  • pr2markdown.user.js - Tampermonkey userscript for copying PRs as markdown

About

A browser extension that adds a copy button for sharing your pull requests

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published