Home > Uncategorized > Remove “Buy this book” from Google Book Embedded viewer

Remove “Buy this book” from Google Book Embedded viewer

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
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: