OperaでJavaScriptを有効にする方法

Operaは2013年からChromiumエンジン上で開発されており、JavaScriptの設定はChromeやEdgeとほぼ同じ位置にあります。ゲーミング向け派生版のOpera GXも同様です。Operaでは標準でJavaScriptが有効になっているため、このガイドが必要になるのは何らかの理由でオフにされた場合だけです。

このガイドでは、Opera全体でのJavaScriptの切り替え、opera://settingsショートカット、特定サイトだけ許可・拒否する手順を解説します。

Javascript is enabled in your web browser. If you disable JavaScript, this text will change.

ウェブ開発者用説明書

このサイトをリンクして、スクリプトが無効なユーザーに対して、使用頻度の高い6つのブラウザで JavaScript を有効にする方法を教えることを検討するのがよいでしょう。下のコードを使用することで、必要に応じて、その修正を自由に行うことができます。

<noscript>
 このサイトが完全に機能するには、JavaScript を有効にする必要があります。
 以下は、 <a href="https://www.enablejavascript.io/">
 お使いのウェブブラウザで JavaScript を有効にする方法の説明</a>.
</noscript>

enablejavascript.io により、 スクリプトが無効なユーザー体験をできるかぎり最適化します。

  • お使いのブラウザについての説明は、ページ上部にあります。
  • イメージはすべて、見やすいように、フルサイズにして一列に並べてあります。

当社では、お客様の訪問者ができるかぎり JavaScript を有効にしてくれるとよいと思っています!

OperaブラウザでJavaScriptを有効にする方法

OperaはChromiumベースのブラウザなので、JavaScript設定はChromeに似た位置にあります。手順:

  1. Operaを開き、ウィンドウ右上の簡単設定(または三本線メニュー)をクリック。
  2. 下にスクロールしてブラウザ設定を開くを選択(またはopera://settingsを直接入力)。
  3. 左サイドバーでプライバシーとセキュリティを選択。
  4. サイト設定JavaScriptの順に進みます。
  5. サイトでJavaScriptを実行できるようにするを選択します。

Operaのアドレスバーにopera://settings/content/javascriptを直接入力すれば、ショートカットでJavaScript設定ページに飛べます。

Operaでは標準でJavaScriptが有効になっているので、上記の操作は明示的に無効化された場合や、サイトごとに細かく許可・拒否したい場合に使います。Opera GX(ゲーミング向け派生版)でも手順は同じです。

How to Enable JavaScript in Opera on Windows 10 and Windows 11

The Opera JavaScript toggle is in the same place on Windows 10 and Windows 11 - the browser ships an identical Settings UI on both. Opera 105 and later (the modern Chromium-based release) follows these six steps:

Step 1: Open Opera

Launch Opera from your Start menu or taskbar.

Opera browser open on a Windows 11 desktop
Opera running on Windows 11.

Step 2: Open the Easy Setup menu

Click the red Opera "O" menu in the top-left corner, or open the Easy Setup panel in the top-right. Either entry point reaches the Settings page.

Opera menu open on Windows 11 showing the Settings entry point
Open Settings via the Opera menu or the Easy Setup panel.

Step 3: Open Site settings

Inside Settings, click Privacy & security in the left sidebar (you may need to expand Advanced first), then choose Site Settings.

Opera Site Settings panel open on Windows 11
Site Settings is where every per-content permission lives.

Step 4: Open the JavaScript permission

Scroll to the Content section and click JavaScript. The shortcut opera://settings/content/javascript jumps straight here.

Opera JavaScript permission page open in Site settings on Windows 11
The JavaScript permission page inside Opera Site settings.

Step 5: Select Sites can use JavaScript

Under Default behavior, choose Sites can use JavaScript. Opera saves the change instantly.

JavaScript default behavior set to Sites can use JavaScript on Windows 11 Opera
JavaScript is now allowed on every site by default.

Step 6: Verify (optional) - and how to turn it off

To confirm, reload any interactive site (YouTube, Gmail, Facebook). If you ever need the opposite, pick Don't allow sites to use JavaScript on the same screen:

JavaScript default behavior set to Don't allow sites to use JavaScript on Windows 11 Opera
The same toggle in the disabled state.

JavaScript is now enabled across every site you visit. The same flow works for Opera GX - the gaming-themed sibling shares the same Chromium settings UI. Add specific sites to the Not allowed list on the same page if you want to block scripts only on certain pages.

How to Enable JavaScript in Opera on Mac (macOS Sonoma, Sequoia, and macOS 26)

The macOS version of Opera - on macOS Sonoma, Sequoia, and macOS 26 - uses the same Chromium-based Settings UI as the Windows build. Follow these five steps:

Step 1: Open Opera

Launch Opera from your Dock, Launchpad, or Applications folder.

Opera browser open on macOS 26
Opera running on macOS 26.

Step 2: Open Settings, then Site Settings

From the macOS menu bar choose Opera → Settings... (or press Cmd+,). In the Settings page sidebar, click Privacy & security, then choose Site Settings.

Opera Settings page open on macOS 26 with Site Settings highlighted
Site Settings is where every per-content permission lives in Opera for Mac.

Step 3: Open the JavaScript permission

Scroll to the Content section and click JavaScript. The shortcut opera://settings/content/javascript jumps straight here.

Opera JavaScript permission page open in Site settings on macOS 26
The JavaScript permission page inside Opera Site settings on macOS.

Step 4: Select Sites can use JavaScript

Under Default behavior, choose Sites can use JavaScript. The change saves immediately.

JavaScript default behavior set to Sites can use JavaScript on macOS 26 Opera
JavaScript is now enabled by default for every site.

Step 5: How to turn it back off

To disable JavaScript later, return to the same screen and pick Don't allow sites to use JavaScript:

JavaScript default behavior set to Don't allow sites to use JavaScript on macOS 26 Opera
The same toggle in the disabled state.

That's it. Reload any interactive site (YouTube, Gmail, Google Docs) to confirm scripts now run as expected. The same flow works for Opera GX on macOS - the gaming-themed sibling shares the same Chromium settings UI.

How to Enable JavaScript in Opera on iPhone, iPad, and iOS

On iPhone and iPad, every browser - including Opera, Opera GX, Chrome, Edge, Firefox, Brave, and DuckDuckGo - is required by Apple to use the system WebKit engine. That means there is no JavaScript toggle inside the Opera iOS app itself. The setting that controls JavaScript for Opera on iOS lives in the system Settings → Apps → Safari → Advanced screen, and it applies to every browser at once.

Step 1: Open the Settings app

Tap the gray gear icon on your home screen or App Library to launch iOS Settings.

iOS Settings app icon on the iPhone home screen
Open the Settings app on your iPhone or iPad.

Step 2: Open Apps

Scroll down and tap Apps. (On iOS 17 and earlier, Safari appears directly in the main Settings list - tap it instead.)

iOS Settings list with the Apps row highlighted
The Apps section consolidates per-app system settings.

Step 3: Select Safari

Inside Apps, scroll to and tap Safari. This is where iOS controls the WebKit engine that Opera iOS uses behind the scenes.

Safari row selected inside iOS Apps settings
Safari is the gateway to JavaScript settings for every iOS browser.

Step 4: Tap Advanced

Scroll to the bottom of the Safari settings page and tap Advanced.

Advanced row at the bottom of Safari settings on iOS
The Advanced page contains the JavaScript switch.

Step 5: Enable JavaScript

Toggle the JavaScript switch on (green). The change applies immediately to Opera, Safari, and every other iOS browser.

JavaScript toggle switched on in Safari Advanced settings on iOS
JavaScript enabled for every browser on iOS.

Step 6: How to turn it off again

To disable JavaScript later, flip the same switch off (gray). Note that almost every modern site will break without it.

JavaScript toggle switched off in Safari Advanced settings on iOS
The same toggle in the disabled state.

Now switch back to Opera iOS and reload your tab - JavaScript is on (or off) for every browser on the device.

Operaで特定のサイトのJavaScriptを許可・拒否する方法

Operaで全サイトに対してJavaScriptをオン・オフするのではなく、特定のサイトだけ別の動作にしたい場合:

  1. 該当サイトを開きます。
  2. アドレスバーの左にある鍵アイコンをクリック。
  3. サイト設定を選択。
  4. JavaScriptを見つけて許可またはブロックを選びます。
  5. ページをリロードして変更を反映。

あるいはopera://settings/content/javascriptから、サイトごとの「許可」「ブロック」リストを直接管理できます。

よくある質問

OperaでJavaScriptが動作しているか確認するには?

Operaでは標準でJavaScriptが有効になっていますが、確認したい場合は次の手順を行います。Operaウィンドウの右上にある「簡単設定」をクリックして設定パネルを表示し、下までスクロールして「ブラウザ設定を開く」を選択。検索ボックスに「JavaScript」と入力すると該当の設定項目が表示され、「サイトでJavaScriptを実行できるようにする」になっていれば有効です。

OperaでJavaScriptを無効にすると何が起きますか?

現代のサイトの多くは、アニメーション、特殊効果、動的なコンテンツの表示にJavaScriptを使用しています。OperaでJavaScriptを無効にすると、これらのサイトの本来の体験が得られず、JavaScriptに依存するページではデザインが崩れたり機能の一部が利用できなくなります。