Hi ricardo,
Code: Select all
And its possible to find the url, if the user navigate using this webgadget?
Please download the latest update; includes name changes listed below.
Get Address
Address$ = CE_WebGadget_Update(cewg_data, "GetAddress")
Get Description
Description$ = CE_WebGadget_Update(cewg_data, "GetDescription")
Set Address (must include
:// to identify it as a URL)
cewg_data\SourceURL = "
https://www.purebasic.com"
CE_WebGadget_Update(cewg_data, "SetAddress")
If SourceURL has not changed it will reload the current page,
not the same as Refresh.
Back : CE_WebGadget_Update(cewg_data, "Back") :
Return "ActionCompleted" if available.
Forward : CE_WebGadget_Update(cewg_data, "Forward") :
Return "ActionCompleted" if available.
Refresh : CE_WebGadget_Update(cewg_data, "Refresh") :
Return "ActionCompleted" if available.
Home : CE_WebGadget_Update(cewg_data, "Home") :
Return "ActionCompleted" if available.
Calling Refresh with a modified SourceURL
is the same as SetAddress.
User defined Home page can be set from a Command Line Switch (CLS) file.
Internal switches match the default CLS file:
\sources\cls\_CE_WebGadget.cls.
Remove the leading underscore from the default CLS file to overriding internal settings.
Individual CLS files can be set with the Constant
#CE_WebGadget_CLS_Filename.
- must be located above the IncludeFile command; see
CE_WebGadget_Browser.pb
Additional Notes
The PowerShell script checking for the Microsoft Edge version has been updated.
Previously, for testing purposes the CEWG Users Profile Directory was saved to the temporary folder.
Now, the CEWG Users Profile Directory is saved to the logged on users Program Data folder (\Users\[user name]\Appdata\Roaming.
Added the following Constant:
#CE_WebGadget_Override_User_Directory; must be located above the IncludeFile command.
The CEWG Users Profile Directory is saved to the current folder \sources\profiles.