Re: sending javascript to browser widget?

2018-08-01 Thread Tom Glod via use-livecode
*on* mouseUp *local* js_do *put* "document.getElementById('email').value='mylogin'" into js_do *do* js_do in widget "Browser 1" *put* "document.getElementById('pass').value='mypass'" into js_do *do* js_do in widget "Browser 1" *put* "document.getElementById('login_form').submit();" into

Re: sending javascript to browser widget?

2018-07-31 Thread Tom Glod via use-livecode
http://runtime-revolution.278305.n4.nabble.com/Browser-Widget-HTML5-LC-Integration-td4712003.html On Tue, Jul 31, 2018 at 4:06 PM, Tom Glod wrote: > Yeah. cool.thanks for that .I figured as much ,, it would > make sense why these kinds of protections would exist but

Re: sending javascript to browser widget?

2018-07-31 Thread Tom Glod via use-livecode
Yeah. cool.thanks for that .I figured as much ,, it would make sense why these kinds of protections would exist but imagine what could be done without them...lol So how bout those cookies? for the browser? is there any possible workaround to log into twitter or

Re: sending javascript to browser widget?

2018-07-31 Thread Bob Sneidar via use-livecode
I'm going to say that Javascript is written to prevent you from doing that. Javascript sandboxes their commands and functions so that only certain ones are visible from outside the applications "sandbox". They call it Scope and Context. Here is a good article on it which helped me understand

sending javascript to browser widget?

2018-07-31 Thread Tom Glod via use-livecode
Hi Peeps, can anyone clarify for me if its possible to have a browser widget on a card and send javascript commands to it? Can I for example put text (login & password) into fields on the page if I know the names of the field controls? Can I trigger the login button? Looking for workarounds for