Force Enable Right-Click & Selection

Restore right-click, text selection, and copy-paste on sites that try to block them.

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

You will need to install an extension such as Tampermonkey to install this script.

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
EdwardDk
1日のインストール数
0
累計インストール数
5
評価
0 0 0
バージョン
1.0
作成日
2026/04/14
更新日
2026/04/14
大きさ
1.13KB
ライセンス
MIT
対象サイト
すべてのサイト

Right-Click and Selection Bypass Script



Project Overview

This User Script is designed for browser extensions like Tampermonkey or Greasemonkey. It addresses the common issue of web platforms disabling native browser functionality such as the context menu, text highlighting, and the clipboard.

Problem Solved

Web developers often implement preventDefault() on specific mouse events to prevent users from saving images or copying text. This script intercepts those commands at the document level before the website's internal logic can execute them.



Technical Implementation

  • Event Interception: Uses the capture phase of event propagation to stop contextmenu and selectstart events.
  • CSS Injection: Overrides user-select: none properties that prevent text highlighting via stylesheets.
  • Global Scope: Applies to all protocols and subdomains using the *://*/* match pattern.