Often recipes ask for caramelised onions. What are some good techniques for cooking them this way, as it seems to take a while, and often even if they are on a low heat they can brown a bit too much if they are not stirred continually.
In addition to what everyone else has said, you may want to add some salt as the onions caramelize. The salt will help draw out the sugars, and allow them to caramelize more.
Some techniques I've seen also suggest a little sugar to help the caramelizing process... but personally I think that's cheating. That's up to you though.
In a very low effort way you can do it with a crock pot. Put in 2-4oz of butter depening on crock pot size and as many onions as the crock pot will hold. Set it on low. Come back 8 hrs later.
I generally use butter, EarthBalance, or extra virgin olive oil, and lots of time. If I'm in a rush I will sometimes turn the heat up a little, but the that nearly always causes an inconsistent or lower quality result.
Also I find it helpful to separate them onions early in the process. Generally we slice them into rings before cooking. I separate the disks as I place them in the pan. I've found that while this increases the space they require for cooking, it greatly improves the quality of the results (again supports even cooking).
Take a warm pan, add oil, add onions. The higher the temperature of the pan, to about medium levels, the more frequently the onions need to be stirred in order to not burn them. Lower temperatures take longer to produce the caramelization but mostly give a more uniform result, as one can keep the onions on the heat longer. You'll need to find out what heat works best for you by experimenting a bit. Also different oils make for different flavors, I prefer x virgin olive oil.