Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

setting browser.taskbar.lists.tasks.enabled in prefs.js

  • 2 відповіді
  • 1 має цю проблему
  • 1 перегляд
  • Остання відповідь від ikhalil

more options

if I open the browser and in about:config set browser.taskbar.lists.tasks.enabled to false

it works and disables the task list in the task bar.

if i edit the prefs.js I find that the following option

   user_pref("browser.taskbar.lists.tasks.enabled", false);

if I set to true and start the browser again the task list is still hidden

   user_pref("browser.taskbar.lists.tasks.enabled", true);

So the only way to get it back is to toggle it from about:config. So putting the task list back and editing the prefs.js to add

   user_pref("browser.taskbar.lists.tasks.enabled", false);

doesnt turn off the tasklist either

So the task list is not dependent on the prefs.js at all? It seems to only toggle when done from about:config...

in fact if I delete the prefs.js altogether and it still remembers the task bar setting. So where is this particular setting made in windows? Is it in registry or somewhere else in windows

if I open the browser and in about:config set browser.taskbar.lists.tasks.enabled to false it works and disables the task list in the task bar. if i edit the prefs.js I find that the following option user_pref("browser.taskbar.lists.tasks.enabled", false); if I set to true and start the browser again the task list is still hidden user_pref("browser.taskbar.lists.tasks.enabled", true); So the only way to get it back is to toggle it from about:config. So putting the task list back and editing the prefs.js to add user_pref("browser.taskbar.lists.tasks.enabled", false); doesnt turn off the tasklist either So the task list is not dependent on the prefs.js at all? It seems to only toggle when done from about:config... in fact if I delete the prefs.js altogether and it still remembers the task bar setting. So where is this particular setting made in windows? Is it in registry or somewhere else in windows

Обране рішення

Yes I did however the issue is Windows JumpList is configured in registry so as the parameter is toggled firefox is editing windows registry hence why adding the param to prefs.js alone doesnt work

I needed it added to prefs.js as I package a lockdown version of Firefox Portable to our customer for use in an application

I found a way to make it work. I added lines to config.js

  • Bulleted list item Firefox64\defaults\pref\config-prefs.js
  pref("general.config.filename", "config.js");    
  pref("general.config.obscure_value", 0);  
  pref("general.config.sandbox_enabled", false); 
  • Bulleted list item Firefox64\config.js

let wjl = {}; Components.utils.import("resource:///modules/WindowsJumpLists.jsm", wjl); wjl.WinTaskbarJumpList._initTaskbar(); wjl.WinTaskbarJumpList._deleteActiveJumpList();

Читати цю відповідь у контексті 👍 0

Усі відповіді (2)

more options

Did you make sure that Firefox is closed when you make the change to prefs.js because it won't work if Firefox is running ?

Note that there is no need to edit prefs.js if you can make the change via Settings (Options/Preferences). You can also use a user.js file, but user.js is always read when you start Firefox, so changes made via about:config are undone after restarting Firefox (i.e. it only works for the current session).

more options

Вибране рішення

Yes I did however the issue is Windows JumpList is configured in registry so as the parameter is toggled firefox is editing windows registry hence why adding the param to prefs.js alone doesnt work

I needed it added to prefs.js as I package a lockdown version of Firefox Portable to our customer for use in an application

I found a way to make it work. I added lines to config.js

  • Bulleted list item Firefox64\defaults\pref\config-prefs.js
  pref("general.config.filename", "config.js");    
  pref("general.config.obscure_value", 0);  
  pref("general.config.sandbox_enabled", false); 
  • Bulleted list item Firefox64\config.js

let wjl = {}; Components.utils.import("resource:///modules/WindowsJumpLists.jsm", wjl); wjl.WinTaskbarJumpList._initTaskbar(); wjl.WinTaskbarJumpList._deleteActiveJumpList();