Microsoft's patent, taken to its logical conclusion? Thanks to the GeekWire reader who created this parody.

A newly surfaced Microsoft patent application proposes to serve ads inside e-books, adjusting their relevance based on the contents of the digital tome, similar to the way search engines deliver ads next to query results. The application for “Providing Contextual Advertisements for Electronic Books” was originally submitted in January 2010 and made public earlier today.

“For instance, the science-fiction e-book may include an advertisement categorized as a science-fiction advertisement (e.g., a light saber discount store advertisement) or may include an advertisement adapted to fit the science-fiction theme (e.g., a fast food restaurant advertisement that includes science-fiction design elements).”

“For instance, if an e-book is telling a story of a fat king and a skinny queen, an advertisement may portray the advertisement characters as a fat king and a skinny queen.”

“If the advertisement “gives away” something that is going to happen in the e-book on a subsequent page, it may not be appropriate to present the advertisement on the target page.”