We do not currently know of any antonyms for by the book.
The prepositional phrase by the book is defined as: