{"id":16582628,"url":"https://github.com/cyrusyip/userscripts","last_synced_at":"2026-05-13T23:33:05.633Z","repository":{"id":231281663,"uuid":"435235275","full_name":"CyrusYip/userscripts","owner":"CyrusYip","description":"Enhance browsing | 叶寻的用户脚本","archived":false,"fork":false,"pushed_at":"2025-02-20T03:37:52.000Z","size":76,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T13:06:25.068Z","etag":null,"topics":["greasemonkey","tampermonkey","userscript","userscripts","violentmonkey"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CyrusYip.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-05T17:37:27.000Z","updated_at":"2025-02-20T03:37:56.000Z","dependencies_parsed_at":"2024-04-30T08:34:54.292Z","dependency_job_id":"6475b93f-2a21-48ce-bbb4-e1d301756ba5","html_url":"https://github.com/CyrusYip/userscripts","commit_stats":null,"previous_names":["cyrusyip/userscripts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyrusYip%2Fuserscripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyrusYip%2Fuserscripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyrusYip%2Fuserscripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyrusYip%2Fuserscripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CyrusYip","download_url":"https://codeload.github.com/CyrusYip/userscripts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242138787,"owners_count":20078007,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["greasemonkey","tampermonkey","userscript","userscripts","violentmonkey"],"created_at":"2024-10-11T22:33:34.107Z","updated_at":"2025-10-23T19:16:46.211Z","avatar_url":"https://github.com/CyrusYip.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CyrusYip/userscripts\n\n[![](https://data.jsdelivr.com/v1/package/gh/CyrusYip/userscripts/badge?style=rounded)](https://www.jsdelivr.com/package/gh/CyrusYip/userscripts)\n\nUserscripts are used to enhance browsers. To use these userscripts, install a userscript manager, such as [Violentmonkey](https://violentmonkey.github.io/), and click the install links below. Note that there may be update delay if you use alternative install link.\n\n[Summit an issue](https://github.com/CyrusYip/userscripts/issues) if there are bugs.\n\nFeatured script: [link-to-markdown](#link-to-markdown) .\n\n## clear-localstorage\n\n[install](https://github.com/CyrusYip/userscripts/raw/main/scripts/clear-localstorage.user.js)\n([alternative]( https://cdn.jsdelivr.net/gh/CyrusYip/userscripts@main/scripts/clear-localstorage.user.js))\n|\n[source code](scripts/clear-localstorage.user.js)\n\nShow localStorage of the current page and ask user whether to clear it. It's used for testing websites.\n\n## copy-selected-text\n\n[install](https://github.com/CyrusYip/userscripts/raw/main/scripts/copy-selected-text.user.js)\n([alternative]( https://cdn.jsdelivr.net/gh/CyrusYip/userscripts@main/scripts/copy-selected-text.user.js))\n|\n[source code](scripts/copy-selected-text.user.js)\n\nSome websites forbid copying or append additional copyright info. This script copies selected text as long as you can select text.\n\n## link-to-markdown\n\n[install][install] ([alternative][alternative]) | [source code][source code]\n\n[install]: https://github.com/CyrusYip/userscripts/raw/main/scripts/link-to-markdown.user.js\n[alternative]: https://cdn.jsdelivr.net/gh/CyrusYip/userscripts@main/scripts/link-to-markdown.user.js\n[source code]: scripts/link-to-markdown.user.js\n\nGet the link and title of current page, convert them to Markdown link, and write it to the clipboard. To use this script, click \"Copy Markdown link\" in the userscript manager's menu or press Shift + Alt + L . To change settings, click \"Link to Markdown Settings\" in the menu. Key Definition: https://github.com/violentmonkey/vm-shortcut#key-definition .\n\n## open-iframe\n\n[install](https://github.com/CyrusYip/userscripts/raw/main/scripts/open-iframe.user.js)\n([alternative]( https://cdn.jsdelivr.net/gh/CyrusYip/userscripts@main/scripts/open-iframe.user.js))\n|\n[source code](scripts/open-iframe.user.js)\n\nOpen the iframe element in a new tab.\n\n## pdfjs-downloader\n\n[install](https://github.com/CyrusYip/userscripts/raw/main/scripts/pdfjs-downloader.user.js)\n([alternative]( https://cdn.jsdelivr.net/gh/CyrusYip/userscripts@main/scripts/pdfjs-downloader.user.js))\n|\n[source code](scripts/pdfjs-downloader.user.js)\n\nDownload the PDF file from the pdf.js viewer.\n\n## show-keydown\n\n[install](https://github.com/CyrusYip/userscripts/raw/main/scripts/show-keydown.user.js)\n([alternative]( https://cdn.jsdelivr.net/gh/CyrusYip/userscripts@main/scripts/show-keydown.user.js))\n|\n[source code](scripts/show-keydown.user.js)\n\nShow keydown event in Console of DevTools.\n\n## userscript-manager-api\n\n[install](https://github.com/CyrusYip/userscripts/raw/main/scripts/userscript-manager-api.user.js)\n([alternative]( https://cdn.jsdelivr.net/gh/CyrusYip/userscripts@main/scripts/userscript-manager-api.user.js))\n|\n[source code](scripts/userscript-manager-api.user.js)\n\nOpen API documentation of common userscript managers (Greasemonkey, Tampermonkey and Violentmonkey).\n\n## viewport-info\n\n[install](https://github.com/CyrusYip/userscripts/raw/main/scripts/viewport-info.user.js)\n([alternative]( https://cdn.jsdelivr.net/gh/CyrusYip/userscripts@main/scripts/viewport-info.user.js))\n|\n[source code](scripts/viewport-info.user.js)\n\nShow [innerWidth](https://developer.mozilla.org/en-US/docs/Web/API/Window/innerWidth), [innerHeight](https://developer.mozilla.org/en-US/docs/Web/API/Window/innerHeight), and [devicePixelRatio](https://developer.mozilla.org/en-US/docs/Web/API/Window/devicePixelRatio). Update them on resize event.\n\n## zhihu-no-login\n\n[install](https://github.com/CyrusYip/userscripts/raw/main/scripts/zhihu-no-login.user.js)\n([alternative]( https://cdn.jsdelivr.net/gh/CyrusYip/userscripts@main/scripts/zhihu-no-login.user.js))\n|\n[source code](scripts/zhihu-no-login.user.js)\n\nRedirect login page of zhihu.com to explore page so that you can browse Zhihu without logging in.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyrusyip%2Fuserscripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcyrusyip%2Fuserscripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyrusyip%2Fuserscripts/lists"}