Bypass Paste Restriction

Allows pasting using Ctrl+V on sites that block it and triggers formatting

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
amadeusk
日安装量
0
总安装量
53
评分
0 0 0
版本
0.4
创建于
2024-10-16
更新于
2024-10-16
大小
3.0 KB
许可证
MIT
适用于
所有网站
# Bypass Paste Restriction

## Overview

This userscript allows users to bypass paste restrictions on websites that disable the standard `Ctrl+V` paste functionality.
It also ensures that pasted text is formatted correctly, simulating the behavior of pasting via the context menu.

## Features

- **Bypass Paste Restrictions**: Allows pasting using `Ctrl+V` on sites that block this feature.
- **Automatic Formatting**: Triggers input and change events to apply any custom formatting logic present on the website after pasting.
- **Clipboard API**: Utilizes the modern Clipboard API for reliable clipboard access.

## Installation

1. **Install a Userscript Manager**: 
   - [Violentmonkey](https://violentmonkey.github.io) (recommended)
   - [Tampermonkey](https://www.tampermonkey.net/)
   - [Greasemonkey](https://www.greasespot.net/) 

2. **Click Install this script**: 

## Usage

Just paste in any input field and give access to clipboard when prompted.

## License

This script is provided as-is; please feel free to use it for personal or educational purposes. 
If you choose to share or modify it, please credit the original author.

### Author

- **ChatGPT** (gpt-4o-mini-2024-07-18)
- [OpenAI](https://openai.com)