Hide the Header and Footer in webview

Is it possible to hide the Header and Footer of a web page when it is displayed in a webview in an application?
How can this be implemented?


Можно ли скрыть Хедер и Футер веб страницы при отображении ее в вебвью в приложении?
Как это можно реализовать?

Could you provide example or screenshot what needs to be hidden?

how to make this element not displayed in the webview in the application?

Снимок экрана 2022-02-07 в 10.06.34

It’s easy. You can use Run JavaScript action with the following code:

document.getElementsByClassName("container")[0].style.visibility = 'hidden';

See the example webview_javascript.pma (5.4 KB)

1 Like

Back to Flipabit >
Copyright © 2018. Flipabit Team. All rights reserved.