Претражи подршку

Избегните преваре подршке. Никада од вас нећемо тражити да зовете или шаљете поруке на број или да делите личне податке. Пријавите сумњиве радње преко „Пријавите злоупотребу” опције.

Сазнај више

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

  • 1 одговор
  • 3 имају овај проблем
  • 1 преглед
  • Последњи одговор послао 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

Сви одговори (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: