Results 1 to 3 of 3
  1. #1
    Magphyte's Avatar
    Join Date
    Nov 2016
    Gender
    male
    Location
    Summoner's Rift
    Posts
    16
    Reputation
    10
    Thanks
    1
    My Mood
    Bored

    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)
    Last edited by Magphyte; 06-15-2018 at 01:58 AM.

  2. #2
    Hell_Demon's Avatar
    Join Date
    Mar 2008
    Gender
    male
    Location
    I love causing havoc
    Posts
    3,976
    Reputation
    343
    Thanks
    4,320
    My Mood
    Cheeky
    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.
    Ah we-a blaze the fyah, make it bun dem!

  3. #3
    Magphyte's Avatar
    Join Date
    Nov 2016
    Gender
    male
    Location
    Summoner's Rift
    Posts
    16
    Reputation
    10
    Thanks
    1
    My Mood
    Bored
    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 .
    Last edited by Magphyte; 06-16-2018 at 08:11 PM. Reason: Update

Similar Threads

  1. Replies: 129
    Last Post: 09-21-2017, 08:45 PM
  2. [WTB] Electronics (pc parts, ...) SEE or Refund to Australia
    By iL0veY0u in forum User Services
    Replies: 0
    Last Post: 02-20-2017, 06:22 AM
  3. Replies: 14
    Last Post: 02-19-2017, 01:53 PM
  4. Questions about compatibility of certain parts/in general.
    By Horror in forum Computer Builds & Upgrades
    Replies: 10
    Last Post: 03-24-2013, 07:50 PM
  5. Forum Code for going part way down a page?
    By MacTheSack in forum General
    Replies: 9
    Last Post: 02-16-2011, 04:21 PM