Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 55801
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T17:26:04+00:00 2026-05-10T17:26:04+00:00

I am testing a web app that writes cookies to subdomain.thisdomain.com and several subfolders

  • 0

I am testing a web app that writes cookies to subdomain.thisdomain.com and several subfolders within that. I’m looking for JavaScript that I can put into a bookmarklet that will delete all cookies under that subdomain, regardless of the folder in which they exist.

Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T17:26:04+00:00Added an answer on May 10, 2026 at 5:26 pm

    Derived from my answer here:

    javascript:new function(){var c=document.cookie.split(';');for(var i=0;i<c.length;i++){var e=c[i].indexOf('=');var n=e>-1?c[i].substr(0,e):c[i];document.cookie=n+'=;expires=Thu, 01 Jan 1970 00:00:00 GMT';}}(); return void(0); 

    Due to browser security issues, this will only work when executed while on a page that has access to all the cookies you want to delete.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When testing my web app on the iPad, I can enable the debugging console
I'm writing a web app that uses an HTML5 canvas and testing on a
Context: I am load testing a prototype enterprise web app that performs quick searches
I am looking to build a web app that implements background audio and fast
I'm stress testing a web app and have set up a windows test program
I am working on a web app and was testing it on my ipad
I am developing a web app for iPad and testing it on Safari on
I've created a Silverlight app and VS set up a web app for testing
I am just testing an app to get data off our web server, previously
I am currently investigating using the selenium-on-rails plug-in for testing an upcoming web app

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.