US 12,229,228 B2
System and method for client-side rewriting of code included in a web page
Meir Baruch Blachman, Beer Sheva (IL); and Itamar Azulay, Mishmar Ayyalon (IL)
Assigned to MICROSOFT TECHNOLOGY LICENSING, LLC, Redmond, WA (US)
Filed by Microsoft Technology Licensing, LLC, Redmond, WA (US)
Filed on Apr. 27, 2022, as Appl. No. 17/730,776.
Prior Publication US 2023/0350984 A1, Nov. 2, 2023
Int. Cl. G06F 21/12 (2013.01); G06F 16/955 (2019.01); G06F 16/958 (2019.01); G06F 21/54 (2013.01)
CPC G06F 21/125 (2013.01) [G06F 16/9566 (2019.01); G06F 16/958 (2019.01); G06F 21/54 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A system, comprising:
a proxy computing device that is interconnected between a client computing device and a server computing device, the proxy computing device comprising a processor and memory, the memory storing program code structured to cause the processor to:
receive a web page from the server computing device;
identify a code component included in the web page;
replace the identified code component with a wrapped code component that includes a call to a code rewriting and evaluation function, resulting in a modified version of the web page, the call to the code rewriting and evaluation function including the identified code component as an argument thereof; and
send the modified version of the web page to the client computing device, wherein sending the modified version of the web page causes the client computing device to execute the call to the code rewriting and evaluation function to generate a rewritten code component based on the identified code component included in the call and evaluate the rewritten code component.