开发者

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 p开发者_如何学Golease be kind with me!


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.


If by proxy, you mean load from an actual proxy server, than this isn't possible. You would have to reconfigure the browser for this to work, and for obvious security reasons, this isn't possible from a web page.

You can however use web-based proxies (as it is just another page after all), using Rijk's suggestion.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜