Como ativar o JavaScript no Opera

O Opera é construído sobre o Chromium desde 2013, então suas configurações de JavaScript são quase idênticas às do Chrome e do Edge. O mesmo vale para o Opera GX, a versão voltada para gamers. O JavaScript já vem ativado por padrão; você só precisa deste guia se ele foi desativado.

Este guia mostra o controle global de JavaScript, o atalho opera://settings e como permitir o JavaScript apenas em um site específico.

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

Instruções para desenvolvedores web

É recomendado disponibilizar um link para este site, para educar utilizadores com script desativado sobre como ativar o JavaScript em seus navegadores preferidos. Pode usar o código abaixo e modificá-lo de acordo com suas necessidades.

<noscript>
 Para utilizar este site com todas as suas funcionalidades, é necessário ativar o JavaScript.
 Aqui estão as <a href="https://www.enablejavascript.io/">
 instruções sobre como ativar o JavaScript no seu navegador</a>.
</noscript>

No site enablejavascript.io, otimizamos a experiência dos utilizadores com script desativado o máximo possível:

  • As instruções para o seu navegador estão localizadas na parte superior da página
  • Todas as imagens estão alinhadas, em tamanho real, para uma fácil leitura

Desejamos que seus visitantes tenham o JavaScript sempre ativado!

Como ativar o JavaScript no navegador Opera

O Opera é construído sobre o Chromium, então o controle de JavaScript fica em local parecido ao do Chrome. Os passos:

  1. Abra o Opera e clique em Configuração rápida (ou no menu de três linhas) no canto superior direito.
  2. Role para baixo e selecione Ir para configurações do navegador (ou digite opera://settings direto na barra).
  3. Na barra lateral à esquerda, escolha Privacidade e segurança.
  4. Clique em Configurações do siteJavaScript.
  5. Selecione Os sites podem usar JavaScript.

Você pode digitar opera://settings/content/javascript na barra de endereços do Opera para ir direto à página do JavaScript.

O Opera vem com o JavaScript ativado por padrão, então o passo a passo só é necessário se ele foi desativado, ou se você quer permitir/bloquear sites específicos. No Opera GX (versão para gamers) os passos são os mesmos.

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.

Como permitir ou bloquear o JavaScript em sites específicos no Opera

Se você não quer ligar/desligar o JavaScript no geral, mas controlar comportamento de sites específicos:

  1. Abra o site.
  2. Clique no ícone de cadeado à esquerda da barra de endereços.
  3. Selecione Configurações do site.
  4. Encontre JavaScript e escolha Permitir ou Bloquear.
  5. Recarregue a página para aplicar a mudança.

Você também pode gerenciar diretamente as listas de "Permitidos" e "Bloqueados" em opera://settings/content/javascript.

Perguntas Frequentes

Por que preciso ativar o JavaScript no Opera?

O JavaScript já vem ativado por padrão no Opera, mas você pode conferir o estado dele. Clique em "Configuração rápida" no canto superior direito da janela do Opera para abrir o menu de configurações. Em seguida, role até "Ir para configurações do navegador" e clique. Na próxima tela, digite "JavaScript" no campo de busca - o controle deve aparecer como "Os sites podem usar JavaScript".

O que acontece se eu desativar o JavaScript no Opera?

Hoje em dia muitos sites usam JavaScript para mostrar conteúdo dinâmico, como animações e efeitos especiais. Se você navega com o JavaScript desativado no Opera, provavelmente não vai ter a experiência completa. Alguns sites baseados em JavaScript vão aparecer estáticos - outros podem ter funcionalidades quebradas.