Auto-Copy Selected Text and Remove Website Copy Restrictions

Automatically copy selected text on any website and provide settings to enable/disable unlocking copy restrictions, auto-copy functionality, and show/hide button

Author
gura8390
Daily installs
20
Total installs
1,570
Ratings
3 0 0
Version
3.1
Created
2024-06-13
Updated
2025-01-29
Size
17.4 KB
License
MIT
Applies to
All sites

Auto Copy Selected Text and Remove Web Copy Restrictions

=============================

Introduction

GITHUB: https://github.com/gura8390/JUST-COPY-ON-WEB

This script automatically copies selected text and removes copy restrictions from web pages. It helps users quickly copy selected text and allows enabling or disabling the removal of copy restrictions and auto-copy functions as needed.
The script requires access to cross-origin resources. Please click "Agree" in the popup window.

Note: The button is located in the lower-right corner. After installation, refresh the page you're on.

Note: Special handling is applied for the DOC88 website. When you enter this site, copying will work directly without needing the management button. The same applies to Baidu Wenku.

Note: The button can be turned off through the Tampermonkey plugin menu.

Updates:

Now, upon successful copy, a success notification will be correctly displayed instead of an undefined message.

Compatibility

The script has been tested on major platforms such as: Yuque, QQ Documents, 360 Baidu Wenku, DaoKeBaBa, Tencent Documents, DouDingNet, WuYouKaoWang, XueXiLa, PengBoFanWen, SiFou Community, LeetCode, Zhihu, DOC, 17k, CSDN. No platform has been found that doesn’t work so far.

Features

  • Auto Copy Selected Text: When a user selects text, the button will automatically copy the selected text to the clipboard.
  • Remove Copy Restrictions: The button can remove copy restrictions from web pages, allowing users to freely copy selected text.
  • Enable/Disable Auto Copy: The button can enable or disable the auto-copy feature based on user needs.
  • Auto Detect Text Color: The button can automatically detect the foreground color and return black or white based on the brightness of the color.

Usage

  1. Install the GreaseMonkey plugin.
  2. Copy the code into the GreaseMonkey script editor.
  3. Save the script and reload the webpage.
  4. When you select text on the webpage, the button will automatically copy the selected text to the clipboard.

Feedback Welcome