GitHub Docker Image Tag Copy Button

Adds a "copy" icon next to each Docker image tag on GitHub pages that list published Docker images.

Author
Howard3
Daily installs
0
Total installs
10
Ratings
0 0 0
Version
2
Created
2023-05-03
Updated
2023-05-03
License
MIT
Applies to

The GitHub Docker Image Tag Copy Button script adds a "copy" button with an icon next to each Docker image tag on GitHub pages that list published Docker images. This allows the user to quickly copy the Docker image tag to the clipboard by clicking on the button. The script works by searching the page for Docker image tags that have links and adding a copy button with an icon next to each one. It also uses a MutationObserver to monitor the page for changes to the DOM and add copy buttons to any new Docker image tags that appear on the page. The script is designed to improve the user experience when browsing Docker images on GitHub, making it easier to copy Docker image tags for use in other applications.