javascript - Catch HTTP redirect loop? -


i'm user of site s have no control of , has infinite redirect loop (page redirects page b, using http 302 code response, , page b redirects page a). redirect can fixed clearing site cookies.

i wondering if automate process, using greasemonkey script example.

sample algorithm (but don't know if it's feasible gm api): when script detects 302 on page of s, removes cookies site s.


Comments

Popular posts from this blog

python - Best design pattern for collection of objects -

go - serving up pdfs using golang -

python - django admin: changing the way a field (w/ relationship to another model) is submitted on a form so that it can be submitted multiple times -