The <http.......> is of course not in my scripts. 



> Am 05.05.2019 um 23:57 schrieb Matthias Rebbe via use-livecode 
> <use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com>>:
> 
> 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/> <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
> 
> 
> 

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to