Embeds a WebGadget / WebViewGadget into a ContainerGadget allowing for borders.
#CrWG_WebView_Gadget#CrWG_WebView_Inspect (same as #PB_WebView_Debug)#Cr_WebGadget_BorderLess#Cr_WebGadget_Flat#Cr_WebGadget_Raised#Cr_WebGadget_Single#Cr_WebGadget_DoubleCr_WebGadget(gadget, x, y, width, height, url.s = #Null$, flags = #Cr_WebGadget_BorderLess)
Resizes both the ContainerGadget and embedded WebGadget / WebViewGadget in a single call.
Cr_WebGadget_Resize(gadget, x, y, width, height)
Loads a WebGadget / WebViewGadget with HTML code.
SetGadgetItemText is used with the flag #PB_WebView_HtmlCode.SetGadgetText with the file:// protocol.Cr_WebGadget_SetHTML(gadget, html.s = #Null$, local = #False)
Navigates a WebGadget / WebViewGadget to the specified URL.
SetGadgetText.Cr_WebGadget_SetURL(gadget, url.s)
Attempts to cleanly end the running program.
#Window Number of the main window (useful if the window does not close immediately).Cr_WebSocket_Close(HideWindow = #Null)
Establishes a network connection to the Chrome DevTools Protocol (CDP) API.
Cr_WebSocket_PageData.Cr_WebSocket_Connect(PageID.s, PortNumber.l = #Null)
Extracts page data from a JSON string into a structured List.
Cr_WebSocket_PageData(*PageData, List PageData.PAGE_DATA())
Returns a PureBasic image created from a Base64-encoded string.
ConvertBase64(Base64_Image.s)
Generates and returns a random GUID (Globally Unique Identifier), also known as a UUID.
GenerateUUID()
Validates a URL and returns it if valid; otherwise, returns an empty string.
ValidateURL(URL.s)