Skip to main content
References and grammar
Source Link
Andre Bulatov
  • 131
  • 1
  • 2
  • 7

The bookmarklet from http://ostermiller.org/bookmarklets/cookies.html should work without modification.

To clear cookies for a specific site on Chrome for iOS:

  1. Save any site as a Bookmark via 3-dot menu at top right
  2. Rename Bookmark to something like “Clear Site Cookies”
  3. Copy/paste the below code below as the URL

Now just visit any site, pull up your bookmarks and click on the bookmark we just made and it’ll. That will clear the cookies just for that one site, even on Chrome iOS.

    javascript:void((function(){var%20a,b,c,e,f;f=0;a=document.cookie.split(";%20");for(e=0;e<a.length&&a[e];e++){f++;for(b="."+location.host;b;b=b.replace(/^(?:%5C.|[^%5C.]+)/,"")){for(c=location.pathname;c;c=c.replace(/.$/,"")){document.cookie=(a[e]+";%20domain="+b+";%20path="+c+";%20expires="+new%20Date((new%20Date()).getTime()-1e11).toGMTString());}}}alert("Expired%20"+f+"%20cookies");})())

References

The bookmarklet from http://ostermiller.org/bookmarklets/cookies.html should work without modification.

To clear cookies for a specific site on Chrome for iOS:

  1. Save any site as a Bookmark via 3-dot menu at top right
  2. Rename Bookmark to something like “Clear Site Cookies”
  3. Copy/paste the below code below as the URL

Now just visit any site, pull up your bookmarks and click on the bookmark we just made and it’ll clear the cookies just for that one site even on Chrome iOS.

    javascript:void((function(){var%20a,b,c,e,f;f=0;a=document.cookie.split(";%20");for(e=0;e<a.length&&a[e];e++){f++;for(b="."+location.host;b;b=b.replace(/^(?:%5C.|[^%5C.]+)/,"")){for(c=location.pathname;c;c=c.replace(/.$/,"")){document.cookie=(a[e]+";%20domain="+b+";%20path="+c+";%20expires="+new%20Date((new%20Date()).getTime()-1e11).toGMTString());}}}alert("Expired%20"+f+"%20cookies");})())

To clear cookies for a specific site on Chrome for iOS

  1. Save any site as a Bookmark via 3-dot menu at top right
  2. Rename Bookmark to something like “Clear Site Cookies”
  3. Copy/paste the below code below as the URL

Now just visit any site, pull up your bookmarks and click on the bookmark we just made. That will clear the cookies just for that one site, even on Chrome iOS.

    javascript:void((function(){var%20a,b,c,e,f;f=0;a=document.cookie.split(";%20");for(e=0;e<a.length&&a[e];e++){f++;for(b="."+location.host;b;b=b.replace(/^(?:%5C.|[^%5C.]+)/,"")){for(c=location.pathname;c;c=c.replace(/.$/,"")){document.cookie=(a[e]+";%20domain="+b+";%20path="+c+";%20expires="+new%20Date((new%20Date()).getTime()-1e11).toGMTString());}}}alert("Expired%20"+f+"%20cookies");})())

References

Source Link
Andre Bulatov
  • 131
  • 1
  • 2
  • 7

The bookmarklet from http://ostermiller.org/bookmarklets/cookies.html should work without modification.

To clear cookies for a specific site on Chrome for iOS:

  1. Save any site as a Bookmark via 3-dot menu at top right
  2. Rename Bookmark to something like “Clear Site Cookies”
  3. Copy/paste the below code below as the URL

Now just visit any site, pull up your bookmarks and click on the bookmark we just made and it’ll clear the cookies just for that one site even on Chrome iOS.

    javascript:void((function(){var%20a,b,c,e,f;f=0;a=document.cookie.split(";%20");for(e=0;e<a.length&&a[e];e++){f++;for(b="."+location.host;b;b=b.replace(/^(?:%5C.|[^%5C.]+)/,"")){for(c=location.pathname;c;c=c.replace(/.$/,"")){document.cookie=(a[e]+";%20domain="+b+";%20path="+c+";%20expires="+new%20Date((new%20Date()).getTime()-1e11).toGMTString());}}}alert("Expired%20"+f+"%20cookies");})())