{"version":"1.0","type":"rich","title":"Clone gist in Desktop","description":"This userscript adds a “Clone in Desktop” button to individual gist pages on GitHub. It targets the existing download button’s list item and duplicates it, then rewrites the anchor’s `href` to use the `github-mac://openRepo/` protocol with the repository URL taken from the page’s hidden `url-field` input. The script also swaps the button’s label and icon classes (`octicon-cloud-download` to `octicon-device-desktop`) and inserts the new element before the original. It relies on plain DOM manipulation via `querySelector`, `createElement`, and `innerHTML`, with no external libraries.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-3227047?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}