Server-Side JavaScript Proxy for Browserless Form Logic
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Virtual agents running outside of a browser lack access to the document object model (DOM) and cannot execute client-side logic, leading to forms being submitted with incompatible field value combinations.
Innovation Solution
Retrieving scripts from a scripts database and executing them on the server side using a javascript proxy object to determine permissible parameter combinations, enabling virtual agents to fill forms accurately.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If virtual agents run outside of a browser to fill forms, then automation efficiency is improved, but access to client-side logic in the DOM is lost
Solution Approach 1:
The patent introduces a server-side environment that acts as an intermediary, providing a simulated DOM structure and executing client-side scripts outside the browser. This mediator enables virtual agents to access form logic without requiring a browser, resolving the contradiction between automation efficiency and logic access.
Solution Approach 2:
The system creates a copy of the browser's DOM environment on the server side. By replicating the document object model structure and executing scripts in this simulated environment, the patent enables virtual agents to access client-side logic without needing an actual browser, thus improving automation while maintaining logic accessibility.
2Reliability
If client-side scripts are executed in a browser, then access to DOM logic is maintained, but automation via virtual agents is limited
Solution Approach 1:
The server-side environment serves as a mediator that bridges the gap between browser-based DOM logic and virtual agent automation. It executes client-side scripts in a controlled server environment, enabling full automation while maintaining reliable access to form logic through the simulated DOM.
Solution Approach 2:
The patent replaces the mechanical requirement of a browser environment with a software-based server-side simulation. Instead of requiring the actual browser mechanism to access DOM logic, the system substitutes it with a server-side environment that replicates DOM functionality, enabling virtual agents to operate without a browser while maintaining logic access.
3Speed
If forms are submitted without executing client-side logic, then processing speed is improved, but form validation accuracy deteriorates
Solution Approach 1:
The system performs preliminary execution of client-side scripts on the server side before form submission. By pre-executing the logic that validates and processes form data, the system ensures data accuracy is maintained while avoiding the need for browser-based execution, thus preserving both speed and precision.
Solution Approach 2:
The patent creates a server-side copy of the client-side execution environment. By replicating the DOM and script execution capabilities on the server, the system can validate and process forms with the same accuracy as browser-based execution, but at higher speed since no browser rendering is required.
Data Source
AI summary
A method includes receiving, from a client device, a request to fill out a form, retrieving a script associated with the form, generating on a server, via a javascript proxy object, data based on the script, and transmitting the data to the client device.


