r/javascript • • Aug 19 '09

JavaScript for Storing Cookies for All Browser,Google Chrome,Internet Explorer,Safari,Firefox

http://w3updates.com/javascript-for-storing-cookies-for-all-browsergoogle-chromeinternet-explorersafarifirefox/
0 Upvotes

4 comments sorted by

4

u/miketaylr Aug 20 '09

I sort of don't love how this is basically 45 lines of code sans explanation buried under about 45 Google ads.

4

u/Sephr Aug 20 '09

WTF is with the "All Browser,Google Chrome,Internet Explorer,Safari,Firefox" nonsense? document.cookie is the same for every single browser that isn't IE version 1.

3

u/highwind Aug 20 '09

Opera never gets any love.

2

u/larholm Aug 20 '09

Copied straight from javascript.irt.org and the 90s.