Skip to content

Allow or Block JavaScript execution in Opera on a Computer

Need to allow or block JavaScript execution in the Opera browser on your computer? Learn how to configure JavaScript settings in your browser.

Opera browser provides complete control to its loyal users. It allows controlling the JavaScript execution on the browser for websites.

However, blocking the JS is not a good idea since it’s a critical part of web technology. It is helpful when stopping malicious sites to avoid hackers.

In this guide, we have shared the steps to manage the JavaScript settings in the Opera browser.

Allow JavaScript execution

JS is a core part of all modern websites. Hence, we need to use it cautiously without breaking the websites. Several websites will not function properly if you’ve disabled JavaScript, and in such cases, one should enable Javascript.

  1. Launch the Opera app on the computer.
  2. Click on the Settings settings gear icon in the sidebar.
    Opera settings gear iconIt will open the Opera Settings page.
  3. Scroll down to the bottom to find the Advanced Settings section.
  4. Within the Advanced section, go to the Privacy and Security section.
  5. Click to open the Site Settings tab.
    Site Settings menu in Opera Computer browser
  6. Scroll down to the Content section and click on JavaScript options.
    Opera Site Settings JavaScript Settings tabIt will open the JavaScript settings page.
  7. Enable the toggle button to allow JavaScript on the Opera browser.
    JavaScript Enable and Allowed in Opera

Alternatively, adding websites exclusively with JavaScript enabled is also an option. Just click on the Add button under the Allow section and copy-paste the URL of the website of your choice.

Allow specific site for JavaScript in Opera browser

It will enable JavaScript for all the websites or specific websites of your choice. It is essential for websites that malfunction without enabling Javascript on Opera.

Block JavaScript Settings

Javascript can be dangerous without even your knowledge. So before it gets out of your control, you should take precautions and block JavaScript for websites. Especially the sites that you won’t trust or have a low-security level.

  1. Launch the Opera browser app on your computer.
  2. Click on the Settings settings gear icon in the sidebar.
    Opera settings gear iconIt will open the Opera Settings page.
  3. Scroll down to the bottom to find the Advanced Settings section.
  4. Within the Advanced section, go to the Privacy and Security section.
  5. Click to open the Site Settings tab.
    Site Settings menu in Opera Computer browser
  6. Scroll down to the Content section and click on JavaScript options.
  7. Disable the toggle button to allow JavaScript on the Opera browser.
    Disable the JavaScript execution on Opera computer browser

Just like enabling a particular site, you can also go to the Block section underneath and click on the Add button to insert the website’s URLs that will have JavaScript disabled.

Add Site URL to Block the JavaScript on Opera

It will help you block JavaScript for all the websites on Opera or select specific websites you want to stop.

Bottom Line

The Opera browser provides complete control over the JavaScript settings that control the script execution in the browser. We can allow or deny the JS for sites that are not safe.

Turning off JavaScript may lead to a site break since most modern website designs heavily rely on it. Instead, we can block specific sites by adding the URL under the Block list.

Similarly, you can configure the cookies settings and pop-up windows to protect you from unwanted threats.

Please share the article if you find it helpful:

Disclosure: This page may contain affiliate links, which means we may receive compensation for your purchases; of course at no extra cost to you (indeed, you may get special discounts).
Kushal Azza

Kushal Azza

Kushal Azza is a Google Certified IT Professional, Digital Content Creator, and Go-To Digital Marketer with Engineering Degree. He has over a decade of experience solving tech problems, troubleshooting, and innovating digital solutions. Follow him on Twitter and LinkedIn.

Leave a thought or feedback

Please leave a descriptive comment or feedback with your real name. Our human moderator vets every comment, and it may take 24 to 48 hours to get published or rejected.

Your email address will not be published, and we will never spam your inbox. Required fields are marked *