How to disable "buy now" button in Google book preview popup window
- by Emanuel
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.