CustomWebView : An extended form of Web Viewer

com.sunny.CustomWebView.aix (225.1 KB)

Still experimental feature. If you try to download blob file then GotBase64FromBlob event will be triggered.

I tried it, but when I click on download. Nothing happens, this is my blocking, I don't know if am doing anything mistake

Even if the blob download can't be done inside the WebView,, 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.

Give me a website url where I can generate and download blob files.

https://photoedit.ebekenews.com/pixie-image-editor/pixie/

Please can anything be done about it.

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:

1 Like

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