Stupid Clients From Hell nagging popup |
$.cookie("mypopupseen",'1',{expires: 9999, path: "/"});
This will set the cookie "mypopupseen" to "1" (meaning "yes, the popup has been seen") and making it expire 9999 days from today (which is, at the time of writing, sometime by 2041). By that time we'll all have survived Y2K38 and/or probably cleared our cookies by then sometime too (or switched to another browser). Whichever happens first, the annoying popup will be gone for longer than 30 days. Yay!
Paste the code in your javascript console and hit enter. Buh bye nagging popup! |
Don't get me wrong; I do understand that we're the product and some profit has to be made to keep the site up-and-running, hosted and updated regularly with new stories. But there are other, better, ways of
No comments:
Post a Comment