NEW PLUGIN - ezEdge - Forum

Forum Navigation
You need to log in to create posts and topics.

NEW PLUGIN - ezEdge

Page 1 of 3Next

I'm happy to reveal my Edge web browser plugin for VisualNEO Win!

  • Plugin Name: ezEdge
  • Purpose: To create a fast, light weight, dependable and inexpensive Microsoft Edge web browser object for our VisualNEO Win projects.
  • Uses:  Web browser, web scraper, web tools, html interface, neoEdge replacement and more..
  • Includes: the ezEdge plugin with 49 actions and 19 sample apps. Registered users also get ezNeoEdge (a custom neoEdge replacement with debug screen) app, the ezNeoEdge VisualNEOWin project source to customize as needed and the ezNeoEdge VisualNEOWeb plugin.
  • Platform: VisualNEO Win
  • Video: Quick Start
  • Payments: PayPal
  • Digitally Signed: Yes
  • Webhttps://tropicdesigns.net

 

The ezEdge plugin currently has 49 different commands to help you create a fast, dependable web browser object for VisualNEO Win with plenty of power under the hood! I created the ezEdge plugin to be simple to use, dependable, perform fast and not slow your VisualNEO Win development or projects down.

The ezEdge plugin will even allow your apps to talk back and forth with the Edge browser. Numerous sample apps included like web browser, PDF Viewer, web scraper, two-way communication, Real-Time JavaScript tool, HTMLtool, etc.

Video: Build a web browser with only two commands!

 

Uploaded files:
  • You need to login to have access to uploads.
luishp, Vadim and 2 other users have reacted to this post.
luishpVadimCN_Icemaniretz

 

Thank you very much for your contribution! VisualNEO Win users now have even more plugins to work with Edge!

Darbdenral has reacted to this post.
Darbdenral

@darbdenral Wow! this is awesome! Thank you very much and congratulations!

Darbdenral has reacted to this post.
Darbdenral

@darbdenral

You have a great site! Thanks for the handy documentation of plugin actions! I will put them all in my database!

Turns out you have a Chrome based browser plugin as well! Great!!!

 

luishp and Darbdenral have reacted to this post.
luishpDarbdenral

By now I have become a collector of plugins.
It has become a disease :-)

Seriously long live to VisualNeoWin

luishp, Vadim and Darbdenral have reacted to this post.
luishpVadimDarbdenral

@darbdenral

Nice work!

I"m outside my city and I don't have a PC.. no way to test the plugin.

Could you tell me if there are any way to inject JavaScript and return vnw / neobook variables?

Thanks in advance

David de Argentina

Darbdenral has reacted to this post.
Darbdenral
Quote from DaviddeArgentina on December 28, 2022, 9:21 pm

@darbdenral

Could you tell me if there are any way to inject JavaScript and return vnw / neobook variables?

@daviddeargentina thanks!  ;)

Yes, you can do it a few different ways

When you get back, try this for a simple test,  load up the Sample Apps folder and run the JavaScriptTools.pub

Enter the following command in the "Execute JavaScript Code" window:

ezEdgeRunAction('AlertBox "Message" "[PubDir]"');

You should see the AlertBox.

vid

Uploaded files:
  • You need to login to have access to uploads.
luishp, Vadim and DaviddeArgentina have reacted to this post.
luishpVadimDaviddeArgentina

 

@darbdenral

Perhaps I don't explain you correctly.

Figure this scenario:

My program sends to the plugin a PHP file. After server process, I receives (at the response php) some values that I need to fetch into the vnw/neobook environment. (Some like nbgetvar / nbsetvar on the old webbrowser  component) and continue processing this data into the vnw/neobook program.

Is this possible ?

@daviddeargentina

Yes, I think I understand.  As you know, Php is server side, JavaScript is client side..  So, If you hand off the Php value to JavaScript in the server php script, it should work..

This is untested but on Php page load do..

<script>var myVar = <?php echo ($someVariable); ?>;
ezEdgeRunAction('SetVar "[myVar]" "'+myVar+'"');
</script>

You can use the SetVar and GetVar commands in this fashion. I would need to have some example code to be sure what your doing exactly but I believe this is what you are asking.

This sample provides reverse geolocation:

 

https://developers.google.com/maps/documentation/javascript/examples/geocoding-reverse

I'm interested to get the address into the tooltip and send the result into an alertbox (vnw/neobook engine)

 

Quote from DaviddeArgentina on December 29, 2022, 3:02 pm

This sample provides reverse geolocation:

 

https://developers.google.com/maps/documentation/javascript/examples/geocoding-reverse

I'm interested to get the address into the tooltip and send the result into an alertbox (vnw/neobook engine)

 

Hi @daviddeargentina

Ok, well I'm not clear on how your getting your data and what format the response is?  You said before you were using php from the browser, so are you using a remote php script to get the response?  Normally they use JSON for their API.  If I knew the format of the response to the browser, I could show you how.  But if you just want to see that Google app scraped, it can be done quite easily with ezEdge.  I could provide an example of that if you wish?

 

@daviddeargentina

This sample provides reverse geolocation

https://tropicdesigns.net/VisualNeoForumAssets/ReverseGeocoding.zip

Google Reverse GeoLocation

luishp, Vadim and 2 other users have reacted to this post.
luishpVadimCN_Icemanrafamacor

Beautiful! Beautiful! Beautiful! Beautiful! Beautiful! Beautiful! Beautiful! Beautiful! Beautiful! Beautiful! Beautiful! 

Darbdenral has reacted to this post.
Darbdenral

Hi

I'm testing your sample, and addapt it to my own.
My HTML has this line:
<div id="address"></div>
and then, i fill this <div> using:
document.getElementById('address').text=results[0].formatted_address;
Nothing special, all works fine.
Now, i need get the value of the <div>. i use this action:
ezEdgeExecScript "ezEdge" "alert(document.getElementById('address').text);" "[jsResult]" "[Result]"
and  receive the javascript alert . all works fine.
then, I need to get the value of this tag document.getElementById('address').text into a VNW/ Neobook variable.
I had tried some like:
ezEdgeExecScript "ezEdge" "var address=document.getElementById('address').text;" "[address]" "[Result]"
but nothing works as espect.
Any idea?
Thanks in advance,
David de Argentina

From your Pub this should work

ezEdgeGetElement "ezEdge" "#address" "innerText" "[address]" "[result]"

From JavaScript this should also work

ezEdgeRunAction('ezEdgeGetElement "ezEdge" "#address" "innerText" "[address]" "[result]"');

If you need to run it from ezEdgeExecScript use this in the script txt entry box (ex: Video )

function getAddress() {
  var addr=document.getElementById('address').innerText;
  return addr;
}
getAddress();

 

Thanks for your fast answer.

Your samples does not work for me...

but....

ezEdgeExecScript "ezEdge" "document.getElementById('address').text;" "[address]" "[Result]"

Works like a charm....

Thanks a bunch !

David de Argentina

Darbdenral has reacted to this post.
Darbdenral

@daviddeargentina

I believe your getting the [address] value from somewhere else.  That command you have there should return no result to the pub because the [address] variable cannot be set using the ezEdgeExecScript command in that way.  So, please double-check your variable first before running the command, maybe give it "" value first, then run the command and see what ya get..  Otherwise, I'm glad you have it working! ;)

 

 

Hi @darbdenral

I just uploaded the sample of georeverse program.

If you are interested, i could send you the PUB  for detect the rare behavior that works fine... send me an email for your addresss....

Greetings from Buenos Aires,

David de Argentina

Uploaded files:
  • You need to login to have access to uploads.
Darbdenral has reacted to this post.
Darbdenral

Hi @daviddeargentina

Yes, you can send it to me, I love mysteries ;)

Thanks!

Brad

Hi @daviddeargentina

Ok, I got tired of trying to get this response past the word fence security of the forums, I'm still unsure why it kept failing..

Anyways, I made an image of the response.

mystery solved :)

 

Uploaded files:
  • You need to login to have access to uploads.
Page 1 of 3Next