Coder Social home page Coder Social logo

chrome-cookies-eraser's Introduction

!! Unmaintained !!

Chrome extension : quick cookies eraser

I needed a way to quickly delete my localhost cookies without having to go to the settings each time. Then I realized I needed the same thing for non-localhost sites (a staging env, for instance).

So I made a chrome extension that adds a button in the toolbar. Once clicked, the cookies belonging to the current tab domain will be erased. No warning, no confirmation window. One click, and done.

This is mainly a mashup of a the chrome cookie api sample here and this stack overflow question. I also used this code to parse URIs.

Tests

This is not really tested: I tried it on my laptop, and it worked, so it's good enough for me. The code is pretty short and should be fairly understandable as is.

Known issues

No handling of subdmain. For instance, facebook cookies are under the domain facebook.com, but the webapp always redirect to www.facebook.com. Therefore, the cookies will not be erased.

What's next

If I don't find the time or the need, nothing. Otherwise, support for safari/firefox, maybe better icons, maybe better notifications.

Contributions

If you want to contribute, do as pleased, and following the classic flow on github : fork, feature branch, pull-request. Please explain a use-case if you're submitting a feature.

Licence

See LICENCE.md.

Changelog

  • 1.0: Same as 0.3. Bumped version number since it looks stable.
  • 0.3: New icons, display a notification after cookies are erased. Changed repository name.
  • 0.2: Button deletes current tab domain cookies
  • 0.1: Toolbar button to delete localhost cookies

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.