I am making a tiny bot-like page that will redirect the user to a certain page plus a paramater.
Basically:
- A page inside an iframe redirects the user to a random page on my site (already done)
- The script appends ?action=purge to the page inside the iframe
- The script refreshes the page after 1 second (already done)
The part I need is the middle part, I have no idea how to do that. I know you can use the meta refresh to redirect, but how do you make it so the URL reads the iframe's URL plus ?action=purge"