Update History

User avatar
JHPJHP
Site Admin
Posts: 209
Joined: Wed Jun 21, 2023 10:48 am

Re: Update History

Post by JHPJHP »

Chromium Framework

Updated:
Updated PWA IIS ISAPI.
Added \CDP Standalone\PWA IIS ISAPI\websites\Deploy_RemoteApps.bat.
Added \CDP Standalone\PWA IIS ISAPI\websites\Remove_RemoteApps.bat.
Improved \CDP Standalone\PWA IIS ISAPI\Remote_Control_DLL.pb.

Deploy RemoteApps:
Deploys IIS applications and configurations for both Remote Capture and Remote Control.

Remove RemoteApps:
Removes IIS applications and configuration for both Remote Capture and Remote Control.

Remote Control:
Image
The difference between stupidity and genius is that genius has its limits.
~ Albert Einstein
User avatar
JHPJHP
Site Admin
Posts: 209
Joined: Wed Jun 21, 2023 10:48 am

Re: Update History

Post by JHPJHP »

Updated:
Added \PureBasic WebGadget\Hosted Leaflet\Leaflet.pb.
• The external IP address is used to GET the current latitude and longitude.
• The prompt to allow the webpage to use your current location is bypassed.
• Nine additional GPS coordinates are hard coded to the number keys.
• Pressing a number key will change the location and create a new marker.

OpenStreetMap (OSM):
• Free to use only for casual, non-commercial, and low-volume cases.
• Commercial or heavy production use is prohibited.

Alternatives:
Mapbox: Free plans for commercial use.
MapTiler: Free plan for non-commercial use.
Omniscale: No free plans.

Note: For a completely free option you can always choose Self‑Hosting: OpenMapTiles (one of many).
• While this can start free, if you require speciality maps like satellite imagery, terrain support, etc. the costs can add up.

Image
The difference between stupidity and genius is that genius has its limits.
~ Albert Einstein
User avatar
JHPJHP
Site Admin
Posts: 209
Joined: Wed Jun 21, 2023 10:48 am

Re: Update History

Post by JHPJHP »

Updated:
Added \Custom WebGadget\Hosted Google Maps\Google_Maps_Server.pb.
Added \PureBasic WebGadget\Hosted Google Maps\Google_Maps_Server.pb.

Google Maps Server
Serves the dynamic HTML map script from a server for better API Key security.

Note: The previous example Google_Maps.pb was renamed to Google_Maps_Local.pb
The difference between stupidity and genius is that genius has its limits.
~ Albert Einstein
User avatar
JHPJHP
Site Admin
Posts: 209
Joined: Wed Jun 21, 2023 10:48 am

Re: Update History

Post by JHPJHP »

Updated:
Added \Custom WebGadget\CrWG Examples\Allow_Block_Website.pb.
Added \Custom WebGadget\CrWG Examples\Capture_Screenshot.pb.
Added \Custom WebGadget\CrWG Examples\Screencast_Nth_Frame.pb.
Added \PureBasic WebGadget\CrWG Examples\Node_Overlay_HTML.pb.
Improved the WebGadget border option.

• The new examples added to the Custom WebGadget were already included with the PureBasic WebGadget.
• The new example added to the PureBasic WebGadget was already included with the Custom WebGadget.
The difference between stupidity and genius is that genius has its limits.
~ Albert Einstein
User avatar
JHPJHP
Site Admin
Posts: 209
Joined: Wed Jun 21, 2023 10:48 am

Re: Update History

Post by JHPJHP »

Updated:
Added Domain Event ID Enumerations.
Added 4 additional Command Procedures: Total 84.
Runtime_AddBinding
• Runtime_AwaitPromise
• Runtime_CallFunctionOn
• Runtime_RemoveBinding
Various improvements to most examples.
Minor improvements to the framework.
Updated documentation.
Updated standalone Mozilla Firefox examples.

Domain Event ID Enumerations
• When executing a CDP method a predefined Event ID can be used; Constant names match the various methods.
• Enumerations use Step 100 so that the same method can be called multiple times (+ 1, + 2, etc.) and still have a unique identifier.
• All example commands have been updated to use the new Constants.

The following is just one of the 10 Domains:

Code: Select all

Enumeration PAGE_USER_EVENTS 170000 Step 100
  #UE_Page_AddScriptToEvaluateOnNewDocument
  #UE_Page_BringToFront
  #UE_Page_CaptureScreenshot
  #UE_Page_Close
  #UE_Page_CreateIsolatedWorld
  #UE_Page_Enable
  #UE_Page_GetLayoutMetrics
  #UE_Page_GetNavigationHistory
  #UE_Page_HandleJavaScriptDialog
  #UE_Page_NavigateToHistoryEntry
  #UE_Page_Navigate
  #UE_Page_PrintToPDF
  #UE_Page_Reload
  #UE_Page_RemoveScriptToEvaluateOnNewDocument
  #UE_Page_ResetNavigationHistory
  #UE_Page_ScreencastFrameAck
  #UE_Page_SetBypassCSP
  #UE_Page_SetDocumentContent
  #UE_Page_SetInterceptFileChooserDialog
  #UE_Page_StartScreencast
  #UE_Page_StopLoading
  #UE_Page_StopScreencast
EndEnumeration
Runtime_AddBinding
• Previously I was using the console to pass data from the browser, not knowing that there already existed a method for that.
• All related examples have been updated to use the new method to return data from the browser to PureBasic.

Mozilla Firefox
• See the following: \CDP Standalone\Mozilla Firefox\Remote Simple\references\readme.txt
• In recent Firefox versions, CDP is no longer just disabled, it’s being completely removed from the codebase.
The difference between stupidity and genius is that genius has its limits.
~ Albert Einstein
Locked