Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cyrusyip/userscripts
Enhance browsing | 叶寻的用户脚本
https://github.com/cyrusyip/userscripts
greasemonkey tampermonkey userscript userscripts violentmonkey
Last synced: 8 days ago
JSON representation
Enhance browsing | 叶寻的用户脚本
- Host: GitHub
- URL: https://github.com/cyrusyip/userscripts
- Owner: CyrusYip
- License: mit
- Created: 2021-12-05T17:37:27.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-03T07:47:44.000Z (8 months ago)
- Last Synced: 2025-01-12T08:42:01.663Z (12 days ago)
- Topics: greasemonkey, tampermonkey, userscript, userscripts, violentmonkey
- Language: JavaScript
- Homepage:
- Size: 70.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CyrusYip/userscripts
[![](https://data.jsdelivr.com/v1/package/gh/CyrusYip/userscripts/badge?style=rounded)](https://www.jsdelivr.com/package/gh/CyrusYip/userscripts)
Userscripts 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.
[Summit an issue](https://github.com/CyrusYip/userscripts/issues) if there are bugs.
Featured script: [link-to-markdown](#link-to-markdown) .
## clear-localstorage
[install](https://github.com/CyrusYip/userscripts/raw/main/scripts/clear-localstorage.user.js)
([alternative]( https://cdn.jsdelivr.net/gh/CyrusYip/userscripts@main/scripts/clear-localstorage.user.js))
|
[source code](scripts/clear-localstorage.user.js)Show localStorage of the current page and ask user whether to clear it. It's used for testing websites.
## copy-selected-text
[install](https://github.com/CyrusYip/userscripts/raw/main/scripts/copy-selected-text.user.js)
([alternative]( https://cdn.jsdelivr.net/gh/CyrusYip/userscripts@main/scripts/copy-selected-text.user.js))
|
[source code](scripts/copy-selected-text.user.js)Some websites forbid copying or append additional copyright info. This script copies selected text as long as you can select text.
## link-to-markdown
[install][install] ([alternative][alternative]) | [source code][source code]
[install]: https://github.com/CyrusYip/userscripts/raw/main/scripts/link-to-markdown.user.js
[alternative]: https://cdn.jsdelivr.net/gh/CyrusYip/userscripts@main/scripts/link-to-markdown.user.js
[source code]: scripts/link-to-markdown.user.jsGet 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 .
## show-keydown
[install](https://github.com/CyrusYip/userscripts/raw/main/scripts/show-keydown.user.js)
([alternative]( https://cdn.jsdelivr.net/gh/CyrusYip/userscripts@main/scripts/show-keydown.user.js))
|
[source code](scripts/show-keydown.user.js)Show keydown event in Console of DevTools.
## userscript-manager-api
[install](https://github.com/CyrusYip/userscripts/raw/main/scripts/userscript-manager-api.user.js)
([alternative]( https://cdn.jsdelivr.net/gh/CyrusYip/userscripts@main/scripts/userscript-manager-api.user.js))
|
[source code](scripts/userscript-manager-api.user.js)Open API documentation of common userscript managers (Greasemonkey, Tampermonkey and Violentmonkey).
## viewport-info
[install](https://github.com/CyrusYip/userscripts/raw/main/scripts/viewport-info.user.js)
([alternative]( https://cdn.jsdelivr.net/gh/CyrusYip/userscripts@main/scripts/viewport-info.user.js))
|
[source code](scripts/viewport-info.user.js)Show [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.
## zhihu-no-login
[install](https://github.com/CyrusYip/userscripts/raw/main/scripts/zhihu-no-login.user.js)
([alternative]( https://cdn.jsdelivr.net/gh/CyrusYip/userscripts@main/scripts/zhihu-no-login.user.js))
|
[source code](scripts/zhihu-no-login.user.js)Redirect login page of zhihu.com to explore page so that you can browse Zhihu without logging in.