Waldemar Lima Well-Known Member Licensed User Longtime User Dec 14, 2020 #1 Hello everyone !! how do I prevent a particular url from loading? on android and ios, if i use the Override_Url command, I can return a True, and prevent a given URL from being loaded ... can I do something similar in B4J? B4X: Copy Sub Webview1_OverrideUrl (Url As String) As Boolean ' All Urls will not be loaded ... Return True End Sub
Hello everyone !! how do I prevent a particular url from loading? on android and ios, if i use the Override_Url command, I can return a True, and prevent a given URL from being loaded ... can I do something similar in B4J? B4X: Copy Sub Webview1_OverrideUrl (Url As String) As Boolean ' All Urls will not be loaded ... Return True End Sub
Erel B4X founder Staff member Licensed User Longtime User Dec 14, 2020 #2 There is no identical event in B4J. You can use the LocationChanged event to load a different url. You might need to add Sleep(0) before changing the url. Upvote 0
There is no identical event in B4J. You can use the LocationChanged event to load a different url. You might need to add Sleep(0) before changing the url.