CustomWebView : An extended form of Web Viewer

You can also right click on the webpage and then choose View page source after that just ctrl + a then paste with ctrl + v in a string block and attach the string block to the loadhtml

1 Like

how can i use this webview, when i open a url login can auto post username and password. because when i use webviewer by app inventor, it can't pop up login window let user input "username" and "password"

1 Like

You could use onNewWindowRequest to check if is popup and then get url and open it in a new window

2 Likes

I didn't update documentation :sweat_smile:

It sounds like http authentication.
You will surely find something useful if you look at blocks.

2 Likes

Hello Sunny,
Have you tried with WebRTC ? Regular WebViewer doesnt allow me to use cam and mic. Allow or Ask permission doesnt solve the problem.

I just tried your ext but AI2 crashes. I am only tryring "gotourl"

Your help will be greatly appreciated.

Let me know how I can contribute to your project via donation.

Thank you in advance,

Carlos

1 Like

Hi @biesys,
v11 has fixed all of the previous bugs related to webpage permissions so this should help you:

That's the reason.
This should be used in following way:

You can donate via PayPal:
PayPal.Me :hugs:

1 Like

Thank you Sunny for your prompt response.

It works to the point where i see the webrtc portal and i do get to see for a second the mic and cam icons disabled and then a pop-up screen that says "click on allow all when asked by your broser" and the pop-up cant be closed nor move.

I did download ver 11

Do i have to include "grant" blocks besides the 3 in your example block ?

Thanks again for all your help.

Will do paypal tomorrow

Carlos

1 Like

Can you post the link of website?

1 Like

How can i send you a Private msg ?

1 Like

I can not make url public

1 Like

Taifun

2 Likes

Thank you Taifun.

Anything new in the last 3 months in Push Notification?

Pura Vida,

Carlos Bieberach

1 Like

@biesys This works for me:
CustomWebView_Permission_mod.aia (81.4 KB)
Sometimes websites don't pass CAMERA and RECORD_AUDIO in permission list so previous approach wasn't working with that link.

1 Like

It worked perfectly.

In my test Tablet Android 5.1 running MIT AI2 Companion for testing purposes, camera worked and mic failed.

Then tested in my normal Tablet Android 10 your apk installed it worked perfectly.

Thank you Sunny.

1 Like

Hi. Please tell me how we can add the AdHosts to block ads. Where can I find the list of AdHosts? And also how to separate multiple AdHosts.

1 Like

Here is a good example:

2 Likes

hi @vknow360, thanks for this great ext

I have a problem with download, while using this block you've made
I've downloading .BIN file form internet, but the file downloaded seem to be way smaller in size than the original.
The problem not happen when i downloaded it in chrome.

have any idea?

1 Like

Can you share download link?

1 Like

I'm trying to download a data image URI and I get that same error that @MathMan05 was experiencing earlier this year. Is there some activity starter method or extension to fix it.

1 Like

how to remove permissions ?

1 Like