I'm preparing some diagnostic tool. It operates on the website in the iframe - only by javascript.
Now what I need is to get rid of session cookie in the website that I have in my iframe. I just need to be logged out after performing some operations.
Unfortunately I cannot just drop the session cookie from javascript because it's mark with httpOnly flag. I did not found any way to open iframe in incognito mode either.
Now the rules for achiving this are following:
- I can add any file to target website server
- I can run any javascript on website domain
- I can force user to use specified browser (it does not have to be cross-browser solution)
- I can NOT modify website code
- The solution have to be server and programming language independent
Any ideas for the workaround?