X
X
xaiponews2020-09-29 15:33:52
Android
xaiponews, 2020-09-29 15:33:52

How to open images in webview in a new window?

There is a webview object in the application that displays a certain site. I don't like how the site implements the opening of the image (it opens in a small window). I want to make it so that when you click on an image, it opens, for example, in a new window or ImageView, which will probably be better.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg, 2020-09-29
@402d

Here, probably, just inject your own js code to block the fancibox from the site.
Read how native is wrapped in js and added to webview
https://stackoverflow.com/questions/9218093/native...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question