M
M
martensit2020-03-02 14:56:06
Browsers
martensit, 2020-03-02 14:56:06

Permissions.default.image = 2 stopped disabling images in new browser versions, How can I disable images via about:config now?

permissions.default.image = 2 stopped disabling images in new versions of Firefox browser,
How can I disable images via about:config now?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SvinkaBacilka, 2020-03-02
@SvinkaBacilka

Не знаю как это будет выглядеть у firefox, но вот рабочий вариант для chrome:

prefs = {"profile.managed_default_content_settings.images": 2}
options.add_experimental_option("prefs", prefs)
mydriver = webdriver.Chrome(options=options)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question