I've mostly figured out how to turn unrequited love off, but I suspect it won't work for most people (like many similar techniques).
Short version: One of the more common effects of infatuation is a blindness to the person's flaws. Sort of like anosognosia, but for someone else's personality instead of one's own body. To get rid of unwanted unrequited love, force yourself to make a list of the person's significant character flaws. Everyone has them, but they're really hard to notice in a crush.
For me, usually just making the list is enough to turn the fuck-like hurting into something more manageable, but reading it over and over has been necessary in a couple of exceptional cases.
Are you still planning on writing a post about jealousy?
We operate like this: the "overseer process" tells the brain, using blunt instruments like chemicals, that we need to find something to eat, somewhere to sleep or someone to mate with. Then the brain follows orders. Unfortunately the orders we receive from the "overseer" are often wrong, even though they were right in the ancestral environment. It seems the easiest way to improve humans isn't to augment their brains - it's to send them better orders, e.g. using drugs. Here's a list of fantasy brain-affecting drugs that I would find useful, even though they don't seem to do anything complicated except affecting "overseer" chemistry:
1) A drug against unrequited love, aka "infatuation" or 'limerence".
2) A drug that makes you become restless and want to exercise.
3) A drug that puts you in the state of random creativity that you normally experience just before falling asleep.
4) A drug that puts you in the optimal PUA "state".
5) A drug that boosts your feeling of curiosity. Must be great for doing math or science.
Anything else?