OpenLibrary.org Book Cover Images Bookmarklet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: (() => { | |
const isbn = prompt("Enter the 9 or 13 Digit ISBN for the book"); | |
if ( isbn != null ) { | |
const coverImage = `https://covers.openlibrary.org/b/isbn/${isbn}-L.jpg`; | |
navigator.clipboard.writeText(coverImage); | |
alert(`${coverImage}\n\n Cover Image URL Copied to clipboard.`); | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment