Thanks Ralph,
tried that already (should have mentioned that), but the URL is loaded right
away in the widget and then the script in the message handler
browserNavigateBegin is executed.
This is my script
on browserNavigateBegin pURL
if not (pURL begins with "https://forums.livecode.com
<https://forums.livecode.com/>")
then
answer "Forum jetzt verlassen" with "ja" or "nein"
if it is "ja"
then
pass browserNavigateBegin
else
go back in widget "mrBrowser"
end if
end if
end BrowserNavigateBegin
Am i missing something?
Regards
Matthias
> Am 05.05.2019 um 23:42 schrieb Ralph DiMola via use-livecode
> <[email protected] <mailto:[email protected]>>:
>
> browserNavigateBegin
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> [email protected] <mailto:[email protected]>
>
>
> -----Original Message-----
> From: use-livecode [mailto:[email protected]] On Behalf
> Of Matthias Rebbe via use-livecode
> Sent: Sunday, May 05, 2019 5:36 PM
> To: How to use LiveCode
> Cc: Matthias Rebbe
> Subject: Browser widget - is there something similar to
> browserBeforeNavigate
>
> Hi,
> does anyone know how can i check the URL before the URL is loaded in the
> Browser widget.
>
> The old revBrowser had the message browserBeforeNavigate.
> Is there something similar i can use for the browser widget?
>
> Regards,
> Matthias Rebbe
>
> _______________________________________________
> use-livecode mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode