@rasputin decode to base64
how do i delete cookies from only1 site
-
how do i delete cookies from only1 site
I am doing transactions with 2 different sites in 2 tabs, 1 of them should remain fixed, I should log in and leave it, and the site in the other tab should delete its cookies after each transaction, I don't know how to do this.
-
@sponkly If site 1's cookies are reused, why don't you log in to that site first? then save that website's cookie first, so the second website will not be saved.
If you want to remove a site's cookies, use the "Remove value" action in the Json module.
Specify the appropriate JSONPath to remove domains that do not contain the domain you need to keep. -
@sponkly said in how do i delete cookies from only1 site:
how do i delete cookies from only1 site
- open website
- execute javascript on the page to delete all cookies for the page
function deleteAllCookies() { var cookies = document.cookie.split(";"); for (var i = 0; i < cookies.length; i++) { var cookie = cookies[i]; var eqPos = cookie.indexOf("="); var name = eqPos > -1 ? cookie.substr(0, eqPos) : cookie; document.cookie = name + "=;expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/"; } }