How to delete a specific cookie in Firefox

The latest versions of Firefox have become increasingly sassy.

Whereas older flavors of FF used to be slow and memory-hungry, things got a lot better starting with Firefox 57.

You can read a bit more about these changes in my article Fix the tab bar (and other stuff) in the new Firefox 57.

Anyway, starting with FF 60, the ability to delete individual cookies for a specific web site has (annoyingly) been removed from the Privacy & Security section of the Options page.

What to do, what to do??

Read more…

Add to Cart doesn’t work on Amazon… Help!

Amazon Add to Cart eror!It’s that time of year again.

You know: Black Friday, crazy people trampling each other for a TV, that kind of thing… All in the spirit of the Holiday Season, of course! 😉

If recent history is any indication, those of us who don’t much care for crowds and stampedes will do much of our shopping online, and that usually means Amazon.

But I recently ran into a problem: Clicking the “Add to Cart” button on Amazon wasn’t working! Dear god, it was horrific!

If you’re having the same problem, here’s a quick and easy fix.

Read more…

How to add an EU Cookie Consent popup to your web site

Cookie Consent / IdiocyCookie Consent laws: you have surely seen them.

You go to a site, and you get a popup or bar at the top of the site that says, “We use cookies, blah blah blah…”

There is usually a “Learn more” link, and sometimes a way to accept or reject that site’s use of cookies.

The reason for this is a very stupid law implemented in the European Union that is supposed to protect people from… well, actually, it doesn’t protect anyone from anything. Okay, technically, it protects you from your sanity.

Especially if you use Google Adsense to put ads on your web site, you probably have received an e-mail from them telling you that you must have a Cookie Consent thingie on your site by the end of September 2015 in order to comply with yet another EU cookie law.

Right, so, how do you add cookie consent to your site – quickly and easily?

Read more…

Varnish: Remove all Cookies EXCEPT the ones you want

COO-KIES!
COO-KIES!

So, you’ve got a web server. It’s slow.

So, you optimize your app, and implement some caching. It’s faster, but not fast enough.

So, you decide to use Varnish, the popular reverse-proxy web application accelerator. It doesn’t work.

The reason it doesn’t work is that on your web site, you’ve got all kinds of Javascript-based goodies, like Google Analytics, or maybe embedded videos that set tracking cookies, or maybe things like AddThis that also set client-side cookies.

Well, client-side cookies are for the JS on your site; your application doesn’t actually care about them. BUT – and this is an annoying “but” – if those client-side cookies are set for “yourdomain.com”, then with every single request a reader makes to your server, those cookies are sent along.

And that means Varnish won’t cache anything, because it says, “Cookies?! EEK! No caching!”

So, how do you make Varnish happy with only the cookies that you want to keep?

Read on…

Read more…