deineMutti 0 Newbie Poster

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.