Electron Webview on a certain page element/part

Posts 1–3 of 3 · Page 1 of 1
Electron Webview on a certain page element/part
I've been researching all over google now on how to do it but can't seem the find a solution, So now I decided to seek help to a couple of forums.

What I want on my Electron Webview app is to show a specific part of a webpage and not all of it.


I want Electron Webview to show only the red squared part and not all of the webpage.

PS.
The Image shown is for public viewing purpose only and not the exact project. (project is said private)
This will be somewhat difficult, since it's almost guaranteed that positioning of said element is based off of the positioning of the rest of the page. If the red part is part of an iframe you could easily just load up that URL.

I think the better question would be; Why do you need it to show only the outlined part? You could try working with a zooming in, or injecting CSS to make the outlined part take up the whole screen. Other than that I can't think of any way to easily accomplish what you need.
I was trying to make a Launcher for a certain game. The game is made/published on the internet/website which is Adventure Quest Worlds.


I'm trying to make a launcher which only shows the Game part leaving behind the unnecessary parts on the website.
This may somehow sounds nonsense or weird because it's not like the game or the website shows ads or something, it's just for convenient use (at least for me).

UPDATE:
They just released their own official launcher. This thread is done .
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?