Skip to content

About

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

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

My Userscripts Collection

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

Userscripts

Jira Flag Icon — Tampermonkey Install

Replaces Jira's flagged issue icon with a 🍺 emoji on Atlassian Cloud.

Usage

Install jira-flag-icon.user.js in Tampermonkey. Flagged issues on Jira boards and opened tickets will show 🍺 instead of the flag icon. Use Change flag emoji… in the Tampermonkey menu to choose another emoji; changes apply immediately and persist across reloads.

PR to Markdown — Tampermonkey Install

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). There is an option to add the repo shortand to the displayed text, making it [user/repo - PR Title](PR URL).

Supported platforms are:

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

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
  5. The toggle to include the shorthand can be found in the Tampermonkey menu.

Installation

Userscript (Tampermonkey)

For e.g. the pr2markdown script do the following:

  1. Install Tampermonkey extension in your browser
  2. Import the userscript via url in Tampermonkey (just open the raw userscript in GitHub, e.g. https://github.com/primeapple/userscripts/raw/refs/heads/main/pr2markdown.user.js)
  3. The script is now active on it's defined scope

Development

No build process required - userscripts use plain JavaScript. We do have a typechecking, testing and linting pipeline via Github Actions. Check the scripts section in the package.json.

About

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

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages