I have two monitors connected to my computer. (same graphics card.  One HDMI, the other DVI).

Whenever I do one of the following things, my icons move around on my desktop:


Play a Game
Turn off one monitor


When I stop playing the game or turn one of the monitors back on, Windows 7 does not properly restore the icon locations.

Is there is a way I can prevent Windows from moving my desktop icons around?


Question: Chaining deferreds
Answer: 
  Is there a way that I can chain the result


Yes, that is the default behaviour of then!

function LoadFromURL(url) {
    return $.get(url).then(LoadFromText);
}



  I've seen some implementations of promises that allow this - returning a promise within 'then', means that the eventual result of the promise is used.


jQuery does support this behaviour since version 1.8. For 1.5 to 1.7 you could use .pipe.