Всем привет.
Речь идет о динамической настройке proxy для firefox. Есть возможность загрузить PAC файл, в котором указывается для каких страниц какие сервера должны использоваться.
Вопрос: как перечитать содержимое этого файла второй, третий... раз, без необходимости презагружать весь firefox процесс?
Firefox: повторно прочитать PAC файл (без перезапуска firefox)
Модератор: /dev/random
- Stauffenberg
- Сообщения: 2042
- Статус: ☮ PEACE ☮
- ОС: открытая и свободная
Firefox: повторно прочитать PAC файл
Labor omnia vincit
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.” (Brian Kernighan)
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.” (Brian Kernighan)
- Stauffenberg
- Сообщения: 2042
- Статус: ☮ PEACE ☮
- ОС: открытая и свободная
Re: Firefox: повторно прочитать PAC файл
Может кто-то знает как просто заставить (из консоли) firefox перечитать все настройки без перезапуска?
Labor omnia vincit
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.” (Brian Kernighan)
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.” (Brian Kernighan)
- Stauffenberg
- Сообщения: 2042
- Статус: ☮ PEACE ☮
- ОС: открытая и свободная
Re: Firefox: повторно прочитать PAC файл
ieleja писал(а): ↑23.03.2017 16:27https://superuser.com/questions/343445/how-...figuration-file
у Firefox все иначе?
Похоже на то...
Мне надо удалить старую конфигурацию и загрузить новую в зависимости от того, в какой сети я нахожусь. Это должно происходить автоматически, без настройки со стороны пользователя. К сожаленю, этот плагин не поможет.
Labor omnia vincit
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.” (Brian Kernighan)
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.” (Brian Kernighan)
- Stauffenberg
- Сообщения: 2042
- Статус: ☮ PEACE ☮
- ОС: открытая и свободная
Re: Firefox: повторно прочитать PAC файл
Написал свой proxy сервер, который сам меняет конфигурацию (парсит PAC файл, парсеры есть на github) в зависимости от сети. Firefox вместо PAC файла использует этот прокси.
Если вдруг кто-то знает более элегантное решение, не стесняйтесь - рассказывайте
Если вдруг кто-то знает более элегантное решение, не стесняйтесь - рассказывайте
Labor omnia vincit
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.” (Brian Kernighan)
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.” (Brian Kernighan)
- Stauffenberg
- Сообщения: 2042
- Статус: ☮ PEACE ☮
- ОС: открытая и свободная
Re: Firefox: повторно прочитать PAC файл
Labor omnia vincit
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.” (Brian Kernighan)
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.” (Brian Kernighan)