How to Disable JavaScript in the Opera Web Browser

Block it in just a few steps on some or all sites

opera disable javascript

 kosmozoo / Getty Images

This tutorial was created for users running Opera version 63 on macOS, but the steps are virtually the same for Opera in WindowsMac OS X, and older Mac operating systems.

Opera users who wish to disable JavaScript can do so in just a few easy steps.

  1. Select Opera Preferences in the upper left corner of the screen.

    Opera > Preferences
  2. Opera's Settings interface should now be displayed in a new tab. In the left-hand menu pane, select Advanced.

  3. Select Site Settings.

    Opera Advanced > Privacy & security
  4. Select JavaScript.

    Opera Site Settings
  5. Under Permissions, select JavaScript.

    Opera JavaScript settings
  6. Allowed (recommended) is the default and tells Opera to execute all JavaScript on all web pages. Click the button next to this option to block JavaScript on all pages. The toggle button will gray out.

In addition to this all-or-nothing approach, Opera allows you to specify whether to allow JavaScript on individual web pages, entire sites, and domains. These lists are handled in the Block and Allow sections, located below the aforementioned toggles. Click Add to add a site to the Block or Allow list.