
Quote from Darbdenral on December 28, 2022, 10:14 amI'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
- Web: https://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!
I'm happy to reveal my Edge web browser plugin for VisualNEO Win!
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:

Quote from Vadim on December 28, 2022, 11:42 am
Thank you very much for your contribution! VisualNEO Win users now have even more plugins to work with Edge!
Thank you very much for your contribution! VisualNEO Win users now have even more plugins to work with Edge!

Quote from luishp on December 28, 2022, 2:19 pm@darbdenral Wow! this is awesome! Thank you very much and congratulations!
@darbdenral Wow! this is awesome! Thank you very much and congratulations!

Quote from Vadim on December 28, 2022, 2:56 pm@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!!!
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!!!

Quote from naglieri on December 28, 2022, 4:07 pmBy now I have become a collector of plugins.
It has become a disease :-)Seriously long live to VisualNeoWin
By now I have become a collector of plugins.
It has become a disease :-)
Seriously long live to VisualNeoWin

Quote from DaviddeArgentina on December 28, 2022, 9:21 pm@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
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

Quote from Darbdenral on December 29, 2022, 12:55 amQuote 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.
Quote from DaviddeArgentina on December 28, 2022, 9:21 pmCould 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.
Uploaded files:
Quote from DaviddeArgentina on December 29, 2022, 4:52 am
@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 ?
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 ?

Quote from Darbdenral on December 29, 2022, 5:26 am@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.
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.

Quote from DaviddeArgentina on December 29, 2022, 3:02 pmThis 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)
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 Darbdenral on December 30, 2022, 12:35 amQuote from DaviddeArgentina on December 29, 2022, 3:02 pmThis 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?
Quote from DaviddeArgentina on December 29, 2022, 3:02 pmThis 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)
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?

Quote from Darbdenral on December 30, 2022, 2:38 pm@daviddeargentina
This sample provides reverse geolocation
https://tropicdesigns.net/VisualNeoForumAssets/ReverseGeocoding.zip
This sample provides reverse geolocation
https://tropicdesigns.net/VisualNeoForumAssets/ReverseGeocoding.zip


Quote from DaviddeArgentina on December 30, 2022, 5:32 pmBeautiful! Beautiful! Beautiful! Beautiful! Beautiful! Beautiful! Beautiful! Beautiful! Beautiful! Beautiful! Beautiful!
Beautiful! Beautiful! Beautiful! Beautiful! Beautiful! Beautiful! Beautiful! Beautiful! Beautiful! Beautiful! Beautiful!

Quote from DaviddeArgentina on January 9, 2023, 1:09 amHi
@darbdenral,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
Hi

Quote from Darbdenral on January 9, 2023, 1:41 amFrom 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();
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();

Quote from DaviddeArgentina on January 9, 2023, 2:23 amThanks 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
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

Quote from Darbdenral on January 9, 2023, 2:54 am@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! ;)
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! ;)

Quote from DaviddeArgentina on January 10, 2023, 12:14 amHi @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
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:
Quote from Darbdenral on January 11, 2023, 2:59 amHi @daviddeargentina
Yes, you can send it to me, I love mysteries ;)
Thanks!
Brad
Yes, you can send it to me, I love mysteries ;)
Thanks!
Brad

Quote from Darbdenral on January 11, 2023, 5:28 amHi @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 :)
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: