Patents are not intended to be a lottery rewarding insight. Patents protect development effort. One-click fails that test.
But in terms of prior art, Jeff Bezos and Tim O'Reilly backed BountyQuest in 2001 as a forum for researching prior art for patents. They couldn't monetize it, so it shut down in 2003 - but not before O'Reilly received what he calls a "killer piece of prior art" on the one-click patent, which he has on his bookshelf in case "Amazon loses its senses and sues someone". [http://openp2p.com/pub/a/oreilly/ask_tim/2003/bountyquest_10...]
The point here is not that your example is wrong. Where you go wrong is assuming that a patent granted on software is anything like a useful mechanism to support innovation.