GitHub Docker Image Tag Copy Button

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

作者
Howard3
日安装量
0
总安装量
11
评分
0 0 0
版本
2
创建于
2023-05-03
更新于
2023-05-03
大小
2.4 KB
许可证
MIT
适用于

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.