Search code examples
phpjavascriptproxymeta-tagsreload

How to Reload a frame via Proxy?


I'm trying to create a simple framed page that reloads each x seconds and each frame and each time it reloads it has to use a different proxy from a list that I have. The list is formatted like this: IP:PORT Any idea or solution? Actually what I'm using is a simple solution with meta refresh.

<meta http-equiv="refresh" content="600">

but I don't really know how to integrate the list...maybe php or javascript?

... I Forgot to say.... I'm almost a newbie in Js and stuff like this :-) So please be kind with me!


Solution

  • You need to put the array of proxies in a Javascript array, and do a window.location instead of a refresh (since you want to change the host). Using setTimeout() you can make it run periodically.