Giter VIP home page Giter VIP logo

cookie_manager's Introduction

Cookie manager v1.1

Screenshot

What is cookie manager? Its a simple, lightweight JavaScript for handling cookies

what can you do:

  • Create cookies
  • Remove cookies
  • Grab info off cookies

Cmd List

setCookie(name,value,days)
 
getCookie(name)

eraseCookie(name)

Why is it use full to have a lightweight Cookie manager?

  1. Faster to load a simple script rather than a bulky one
  2. Small in file size
  3. Great for low end spec pc's
  4. who want to install like 50 scripts 'Not me'

Usage

To start using Cookie manager go to your index.html and put in this line of code then put

cookies_manager.js in the same folder as your index

<script type="text/javascript" src="Cookie_Manager.js"></script>

This loads the script on to your site.

Great , now its loaded and you showuld see in your console when you refresh the page

Screenshot

Then you can now run the functions in cookie manager

example

setCookie("age","15",365);

Note: you can do this in the console using chrome dev tools this sets a cookie called age you can see your cookies by going into the application tab and click on cookies here you can manage your cookies

Screenshot

and as always cookie go mmmmmm :)

Licence

This project is licenced under the GNU General Public License v3.0. See the LICENCE file for more information.

cookie_manager's People

Contributors

0x4248 avatar

Watchers

 avatar

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.