Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Learn More

How can I set/unset the Tools-Options-Tabs checkboxes using Javascript

  • 1 resposta
  • 3 têm este problema
  • 1 visualização
  • Última resposta por cor-el

more options

I have a need to programmatically set/unset the checkboxes (or their equivalent internal settings ) in Tools-Options-Tabs such as:

  • Open new windows in new tab instead
  • Always show the tab bar
  • When I open a link in a new tab, switch to it immediately

I would prefer using Javascript to do this.

An example or pointer to one would be helpful.

Regards, Jim

I have a need to programmatically set/unset the checkboxes (or their equivalent internal settings ) in Tools-Options-Tabs such as: * Open new windows in new tab instead * Always show the tab bar * When I open a link in a new tab, switch to it immediately I would prefer using Javascript to do this. An example or pointer to one would be helpful. Regards, Jim

Todas as respostas (1)

more options

You can only do that if you write an extension, because you need full chrome access to be able to change prefs. Alternatively you can run such code via the Code field in the Tools > Error Console.

See also: