CustomWebView : An extended form of Web Viewer

No, unfortunately nothing can be done.

please can you teach me how to make activity starter handle it in external browser, like when the blob download button inside the WebView is clicked, the download should happen in external browser instead of inside the WebView. Please can you.

Blobs are context specific. You can't simply send blob url from webview to a browser. Instead when download needed event is triggered, check if url starts with blob or not. If yes then load complete page in browser.

1 Like

I have encountered 2 issues, is there a way to resolve them?
Issue 1: I have a list of malicious websites that I want to blacklist. When clicking on links to these websites, the custom WebView should not open them. Is there a way to achieve this?
I tried using the "customWebView1.Page Started" block
loaded
but it seems to load the webpage before the user's attempt to open it, making it impossible to execute the "call stoploading" action.
image

Issue 2: Blocking IP address tracking in CustomWebview.
Is there a way to block Google from tracking my location? It's really annoying when Google always displays my location no matter where I am.

Both are possible to implement.
But I'll love a short break at this moment.

1 Like

@petfely I was wrong.
With some help from @TIMAI2 , it is now possible to download files from blob url.

Download aix from here:

Thanks Very much for your help. But when I tried downloading am still getting error. I set my block exactly as you set yours in the image you posted, the label shows the download link, but the download doesn't start, instead the can only download https error pop-up.

Show your blocks.

You should read my 2nd last post again and take a closer look at the blocks.

Am still confused because I can't find any different in both blocks. Please can you help, explain what am doing wrong.

I'll give you a hint. The block I am using to download blob files is DownloadBlob.
Now check yours.

Thank you so much for your hard work, everything worked perfectly well now. Thank you again.

how can i block specific URLs for example google.com but keep deeplink enabled I am using customwebview

1 Like

Hello!
I was trying to use the Custom Web View extension. I saw the reply https://community.appinventor.mit.edu/t/customwebview-an-extended-form-of-web-viewer/9934/3 saying that we have to add both the web view component and the Custom Web View. So that is what I did.


Also, no blocks were showing.
But I found where the blocks were hiding.


Can someone please show how to use the Custom Web View extension?

Read this entire topic from post number one, following links where necessary,then you will understand how to use it.

NO, a native webviewer is not required.

1 Like

Can I view a PDF or DOCX file using CustomWebView?
I have used the blocks below to open and view images, but it does not work with PDFs and DOCX files.

See the solution below if it works for you Choose it to default :

1 Like

It would great to see an url at OnNewWindowRequest.This would make working with external links much easier (for example, open them in a browser).

1 Like

Ciao,
ho cercato ovunque ma non riesco a risolvere.
Ho creato un app che deve solamente aprire una pagina web e funziona.
All'interno della pagina ci sono dei link esterni. Questi link funzionano tutti tranne il link a un gruppo FB (di cui sono amministratore).
Nella pagina è presente anche il plugin di incorporazione pagine facebook. Il plugin funziona ma non funzionano i pulsanti "SEGUI LA PAGINA" e il link "ALTRO" in fondo al post.
Se apro la pagina web da un browser, dal pc o dal telefono , funziona tutto bene.
Sapete dirmi qual'è il problema?