On Fri, Jan 5, 2018 at 10:45 AM, hh via use-livecode <
use-livecode@lists.runrev.com> wrote:
> > > So, how should this work without using a lot of JavaScript (eventually
> > > changing libbrowser)?
> >
> > The same way that browserLoadRequest works for the iOS mobile browser. If
> > you don’t pass
> > So, how should this work without using a lot of JavaScript (eventually
> > changing libbrowser)?
>
> The same way that browserLoadRequest works for the iOS mobile browser. If
> you don’t pass the message then the url isn’t loaded.
This works from a WYSIWYG editor?
On Fri, Jan 5, 2018 at 10:23 AM, hh via use-livecode <
use-livecode@lists.runrev.com> wrote:
> The browser widget doesn't know anything about what you do in the editor.
> It has always the original htmltext you used for starting the editor.
>
> So, how should this work without using a lot of JavaS
> Yes, I am aware of how to cancel clicks using JavaScript. Remember that my
> original post stated that I was looking for a way to cancel navigation
> using a method other than JavaScript (which is the solution I’m currently
> using) :-)
>
> Ideally the browser widget would allow us to cancel nav
On Fri, Jan 5, 2018 at 9:45 AM, hh via use-livecode <
use-livecode@lists.runrev.com> wrote:
> > > hh wrote:
> > > 2. Don't do the navigation in the widget but later on in browsers:
> > > Not really from a widget property. But you could use an attribute that
> the
> > > widget can't do: to open a n
> > hh wrote:
> > 2. Don't do the navigation in the widget but later on in browsers:
> > Not really from a widget property. But you could use an attribute that the
> > widget can't do: to open a new window. This works in "hhTextEditBasic".
> >
> > set the htmltext of widget 1 to
> > http://www.scre
On Fri, Jan 5, 2018 at 9:01 AM, hh via use-livecode <
use-livecode@lists.runrev.com> wrote:
> > Trevor D. wrote:
> > Other than injecting javascript into each web page that cancels clicks on
> > links, is there a way to cancel user clicks on links in a browser widget?
>
> 1. Cancel while navigatin
> Trevor D. wrote:
> Other than injecting javascript into each web page that cancels clicks on
> links, is there a way to cancel user clicks on links in a browser widget?
1. Cancel while navigating:
Catch the "current" htmltext:
on browserNavigateBegin
set the currentHTML of me to the htmlte
Other than injecting javascript into each web page that cancels clicks on
links, is there a way to cancel user clicks on links in a browser widget?
--
Trevor DeVore
ScreenSteps
www.screensteps.com
___
use-livecode mailing list
use-livecode@lists.runrev.