SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: About Cookies

  1. #1
    SitePoint Enthusiast
    Join Date
    Dec 2007
    Posts
    89
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    About Cookies

    I have been doing some homework on cookie, how they work, etc. I was wondering, can you make a cookie that uses JS that can alter the appearence of a website? Can a cookie alone, once installed on the browser, do this or does there need to be more code to make it work? I found this script which sounds a little like what im talking about:

    http://javascript.internet.com/cookies/remove-ads.html

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,729
    Mentioned
    104 Post(s)
    Tagged
    4 Thread(s)
    A cookie stores information on your computer, usually about your preferences.

    A cookie alone can't do anything. It's like a config file.
    If there's a script that's running, it can check the config file (for the unique id of an ad) and depending on the setting for that unique id in the cookie, do something with it.

  3. #3
    SitePoint Enthusiast
    Join Date
    Dec 2007
    Posts
    89
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thanks for the support

    Thanks for knowing that cookie is config file.and many more doubts vanished about cookie.thanks for the support.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •