HellsPlumber

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Send JavaScript BEFORE page is shown? #482
    HellsPlumber
    Participant

    Which part are you talking about? 0-o
    I think you’ve misunderstood my question, I’m merely asking about JavaScript code, not breaking Unity’s EULA…

    in reply to: Send JavaScript BEFORE page is shown? #476
    HellsPlumber
    Participant

    I understand it’s a pretty rare requirement, I’m not complaining that it isn’t included 🙂

    And that’s correct, that’s what I need to do but I’m unsure of how to go about doing so.
    I’m fluent in C#, but sadly not in Java (where I believe the code would need to be modified).

    Would you be able to give me a hint on which part of the Jar I’d need to run my “hacky script”, and how to display it once it’s done so?

    in reply to: Send JavaScript BEFORE page is shown? #474
    HellsPlumber
    Participant

    Currently I’m sending JavaScript to the page via the OnBrowserFinishedLoading event.

    It goes like this:
    I load the page URL.
    The OnBrowserFinishedLoading event triggers InAppBrowser.ExecuteJS.
    The JS alters how the page looks.

    But since this is done during OnBrowserFinishedLoading, the user sees the changed to the page happen. I was hoping you’d have a way to send JS to the page to alter it’s appearance, THEN display the page afterwards.

    I’m not using any plugin, just In-App Web Browser and a JS command.

Viewing 3 posts - 1 through 3 (of 3 total)