Page 1 of 1

LC8-dp15 browser widget's URL history

Posted: Wed Feb 24, 2016 12:07 am
by [-hh]
The browser widget provides by rightClick to go "Back/Forward" in URL history.
I can't find any way to access this history for use in scripts. What's the trick?

hh

Re: LC8-dp15 browser widget's URL history

Posted: Fri Mar 04, 2016 10:57 am
by LCMark
Actually, the browser widget probably *shouldn't* always provide that popup menu as script will probably want control over whether a popup menu appears at all, and what it contains.

In regards to going back and forward... Then this should work:

Code: Select all

go backward in widget "mybrowser"
go forward in widget "mybrowser"
I've filed a bug about getting more control over the context menu - http://quality.livecode.com/show_bug.cgi?id=17062

Re: LC8-dp15 browser widget's URL history

Posted: Wed Jul 20, 2016 3:36 pm
by MWCoastMedia
LCMark wrote: In regards to going back and forward... Then this should work:

Code: Select all

go backward in widget "mybrowser"
go forward in widget "mybrowser"
Thank you! Where is this documented? I can't find it in the release notes or the Dictionary entries for the Browser widget.

The LiveCode Script Dictionary has 'go in widget' as an entry, but is somewhat vague and doesn't mention any widget compatibility.