I've been playing with tc on my local machine. sudo tc qdisc add dev eth0 root netem delay 2000ms adds a 2-second latency to all traffic going through eth0.
What I want is to be able to limit this latency to certain websites. I've tried playing with filters on specific IP addresses (Google's, for instance) but nothing seems to work.
Any ideas on how I can do this using tc? Is it the best tool for the job?