How to disable "buy now" button in Google book preview popup window

Posted by Emanuel on Stack Overflow See other posts from Stack Overflow or by Emanuel
Published on 2010-05-26T13:18:09Z Indexed on 2010/05/26 13:21 UTC
Read the original article Hit count: 520

Filed under:
|
|
|

I use Google Book API to display a book preview in my web page. This works fine, but I don't want to show "Buy now" button. For loading preview I use the following code:

var viewer = new google.books.DefaultViewer(viewerCanvas, {showLinkChrome: false});
viewer.load(isbn);

On the server this code does not work. I tried to save the page locally and when I opened it to my surprise the "Buy now" button disappeared.

Why this not work on my server still I could not figure out. Any help is welcome.

Thanks.

© Stack Overflow or respective owner

Related posts about button

Related posts about disable