CustomWebView : An extended form of Web Viewer

How do you detect website error code response on CustomWebView?

If a website loaded on customwebview, how can i make it detect the error status, ej: 500, 404, 200, 400, etc...

Its kind of buggy and janky tho

1 Like

If you are asking for help, I recommend you to make it as easy for others to be able to help you ...
You probably will get more feedback then...

which means in your case post a screenshot of your relevant blocks...

To download the aia file, upload it to App Inventor, open it, do some bug hunting for you, etc... this takes time, and most people will not do that...
Thank you.

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

Ok thank you.

How can I run js on a webview?

How can i run js on a webview? Like running it on the console, how??

Use the runJavascript block ?

is there a block for that in costumwebview?

Yes there is (different name though)

what's the name? i can't find it

image


for some reason it's not doing anything when i click the button, and it should, i tested it on my browser, am i missing smth?

Is your js valid? What are you aiming for?

Where do you expect to see the output ?

its supposed to edit the page


this worked ig

does costumwebview allow alert() ?? it doesnt seem like it

There may be a setting to allow javascript to run...

the alert() just like freezes everything and doesn't work, and i needa use ti somehow

Do you have any ideas on how I can make it better. Also you can use my project if you want just give me credit PLS

You'll have to handle js events yourself. Check event blocks.