Getting the clicktext from a browser control

Bob Sneidar bobsneidar at iotecdigital.com
Wed Jan 20 12:00:51 EST 2016


Well you can see how that would make the LC browser object horribly insecure. User clicks a link and you take him somewhere completely different? Or somewhere else in another browser object?? EEEEK! I don't think you can get that kind of control, and I would be very afraid if you could. 

Bob S


> On Jan 13, 2016, at 10:51 , J. Landman Gay <jacque at hyperactivesw.com> wrote:
> 
> On 1/13/2016 7:39 AM, Colin Holgate wrote:
>> The times that BrowserBeforeNavigate doesn’t get sent, is a
>> BrowserBeforeNavigateFrame sent instead?
> 
> There are no frames, so no. The browserBeforeNavigate only gets sent when the URL changes, and the links in the page do not always change URLs, (they are basically reference IDs, mainly footnotes) so that's why.
> 
> If the footnote is contained in the existing browser content then the link navigates but I can't find out about it until after the navigation completes. If the link points to another set of content that isn't loaded yet, nothing happens and I still don't find out about it until browserNavigateComplete is sent. I want to know what link was clicked so I can handle it regardless of the intended link destination. I don't see any way to do that.
> 
> -- 
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the Use-livecode mailing list