Twitter Screenshot Button

Add a screenshot button to Twitter/X post menus

目前为 2025-04-14 提交的版本。查看 最新版本

作者
learnerLj
评分
0 0 0
版本
0.5
创建于
2025-04-14
更新于
2025-04-14
大小
9.4 KB
许可证
MIT
适用于

# Twitter Screenshot Button

A Tampermonkey userscript that adds a screenshot button to Twitter/X post menus, allowing you to easily capture and save tweets as images.

https://github.com/learnerLj/twitter-screenshot
## 推特截图按钮

一个Tampermonkey油猴脚本,为Twitter/X的推文菜单添加截图按钮,让您可以轻松地将推文保存为图片。

## Features 功能

- One-click screenshot of tweets
- High-quality image capture
- Automatic clipboard copy
- Download option
- Clean and native UI integration
- Support for both twitter.com and x.com

- 一键截图推文
- 高质量图片捕获
- 自动复制到剪贴板
- 下载选项
- 简洁的原生UI集成
- 同时支持twitter.com和x.com

## Installation 安装

1. Install Tampermonkey browser extension
2. Click [here](https://greasyfork.org/scripts/your-script-url) to install the script (Remember to update this URL after publishing on GreasyFork)
3. Refresh Twitter/X page

1. 安装Tampermonkey浏览器扩展
2. 点击[这里](https://greasyfork.org/scripts/your-script-url)安装脚本 (发布到 GreasyFork 后记得更新此 URL)
3. 刷新Twitter/X页面

## Usage 使用方法

1. Click the "..." menu on any tweet. The "Screenshot" button will appear at the top of the menu.
点击任意推文的"..."菜单,"Screenshot"按钮会出现在菜单顶部。

![Icon Position](./icoin-position.png)

2. Click the "Screenshot" button.
点击"Screenshot"按钮。

3. The screenshot will be automatically copied to your clipboard, and a confirmation notification will appear.
截图将自动复制到剪贴板,并显示确认通知。

![Screenshot Notification](./screen2.png)

4. Optionally click "Download" on the notification to save the image file.
可选择点击通知上的"Download"按钮来保存图片文件。

**Note:** For long tweets that have a "Show more" button, please click "Show more" first to expand the full content before taking the screenshot to ensure the entire tweet is captured.
**注意:** 对于包含"显示更多"按钮的长推文,请先点击"显示更多"展开全部内容,然后再进行截图,以确保捕获完整的推文。

![Screenshot Example](./screen1.png)

## Requirements 要求

- Tampermonkey browser extension
- Modern browser with clipboard API support

- Tampermonkey浏览器扩展
- 支持剪贴板API的现代浏览器

## Author 作者

Jiahao Luo ([email protected])

## License 许可证

MIT License