Welcome! › Forums › Unity Plugins › In-App Web Browser › Send JavaScript BEFORE page is shown? › Reply To: Send JavaScript BEFORE page is shown?
November 21, 2017 at 10:42 pm
#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.