Bypass Paste Restriction

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

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
amadeusk
今日安裝
0
安裝總數
50
評價
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)