Bypass Paste Restriction

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

作者
amadeusk
日安装量
0
总安装量
43
评分
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)

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址