Archive

Archive for August, 2012

Remove “Buy this book” from Google Book Embedded viewer

August 9, 2012 Leave a comment

The Google book embedded viewer API is a great way to offer previews of books to users on your website. However, there is a prominent link at the foot of the viewer labelled “Buy this book”, which could take sales from your website, and credit them to Google instead.

Here is a simple one-line fix to remove this bar:
$(“#viewerCanvas”).css(“overflow”,”hidden”);

which should be called after viewer.load, and requires jquery.

Advertisements
Categories: Uncategorized