Thursday, 4 August 2022

Redirect requests inside html page to go through proxy

I have a proxy, and I've fetched contents of the webpage I need, like https://google.com. However, I need to be able to then also redirect all the other requests for resources to go through the proxy. So, all images and scripts go back through the proxy. Additionally, all links also go back through the proxy. How can I access all of the requests and do this? Would this be through modifying the HTML of the site? Now, I should be able to serve the contents of any dynamic or static site on a localhost, without having certain elements and scripts not loading.



from Redirect requests inside html page to go through proxy

No comments:

Post a Comment