Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I don't want to load pictures when browsing the web.
#1
Thank you so much for making such a great tool.

but
To do quick work in the browser
I want to make all photos invisible
I would like to know if there are any settings or methods.
HeartThankyou.
Reply
#2
Hi,

Thank you for the kind words.

The WebView2 control supports this by using AddWebResourceRequestedFilter and then setting the response for the image type as 403 for when the request comes in and triggers the OnWebResourceRequested event.

The problem is that these methods are not yet exposed by the AntView control.
The good news is that these are currently available against the current WebView2 API that AntView is building against.

The bad news is that it is probably going to take a few days to get it implemented.
Let me see what I can do on this.

--
Wil
Reply
#3
As expected it did take a few days to implement.
But .. implementation is done, will start testing tomorrow and -hopefully- get you a version that can do this soon.

Previously you were unable to receive my emails, is that resolved?

--
Wil
Reply
#4
Thank you so much for your interest and answers.
But I don't know how to implement it yet.
I need a simple vb6 sample.
I would be grateful if you could help.
I'm not sure about receiving emails yet.
my another email:
hanyoungsoo99@gmail.com
=====================
Also, since my writing is by Google Translate, there may be errors, so please understand.
HeartThankyou.
Reply
#5
hys999,

Ok, no problem, I understand.

I have not yet had any time to test today, but will do so now.
Yes I am going to write a simple VB6 example to test and show how to implement this.
Once my tests pass I will send you a download link to a private version of AntView by email and include the VB6 demo as well. I will also CC the email to your gmail.com account.

I will let you know in a reply here once I have sent the email.
--
Wil
Reply
#6
thank you for the quick reply
I have one more question.

At the point where the address is changed internally after navigation
I want to get the changed url information

[[OnAddressChange]]
event and such information

I couldn't find
Which method would be better?
If possible, make the event about it easily accessible
I would really appreciate it if you could make it and provide it.
HeartThankyou.
Reply
#7
Hi,

You can use OnSourceChanged for this.

The URL/address that you are looking for is in the Source property.

Sorry Microsoft has changed naming and how things works in comparison to how it used to work with the old browser ActiveX control. For AntView we're just staying close to their interface naming (and functionality) when possible.
The reason for that is that searching on the internet for how-to do things with WebView2 is then easier to apply for AntView as well.
--
Wil
Reply
#8
(2023-01-03, 22:18:03)wila Wrote: hys999,

Ok, no problem, I understand.

I have not yet had any time to test today, but will do so now.
Yes I am going to write a simple VB6 example to test and show how to implement this.
Once my tests pass I will send you a download link to a private version of AntView by email and include the VB6 demo as well. I will also CC the email to your gmail.com account.

I will let you know in a reply here once I have sent the email.
--
Wil

The tests all passed... I have send you a private build by email to see and try for yourself.

--
Wil
Reply
#9
Wow. I received your mail well.
it works fine. Great.
Thank you very much for devoting so much time.
HeartThankyou.
Reply
#10
I would like another solution.
Perhaps it is in the same context.

I am also exporting a specific webpage

=== I want to ignore ===
Javascript
1) [alert]
2) [confirm]
3) [prompt]

Would that even be possible?
HeartThankyou.
Reply
#11
Hi,

Yes, you can already do that now.
Look into OnScriptDialogOpening.

Hope this helps,
--
Wil
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)