954,600 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Delete Cross Sub-Domain Cookies With Javascript

Hi,

It is possible to remove (expire) cross subdomain cookies using javascript?

For example, Facebook.com creates these cookies in the ".facebook.com" domain:[IMG]http://www.datermine.com/img/MStandaloneImage/full/agpkYXRlcnJtaW5lchgLEhBNU3RhbmRhbG9uZUltYWdlGIn9DQw/[/IMG]

I'm creating a chrome extension with a content script that can run javascript within a page in the browser, typically in the 'www' subdomain and I'd like to be able to expire them using javascript.

Of note:
+ I'm able to retrieve them via the document.cookie object
+ I'm able to create and expire cookies on the www.facebook.com domain

Thanks,
George

deineMutti
Newbie Poster
9 posts since Jun 2005
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: