Skip to content

Feature Request: Return & Delete library book #7

@hillcountryfare

Description

@hillcountryfare

After you are finished with a library book it must be returned and then deleted. I added the code below to automatically return the library book, but would love to have the book automatically deleted as well. However, I wasn't sure how to code determining if a book was from a library or not. There is a line of text next to the book that reads:
"This book was a Kindle digital library loan
Expired on (date)
This title is unavailable for download and transfer"


          log(`Clicking Return:  ${confirm}`, "debug");
    document.querySelector(`#RETURN_CONTENT_ACTION_${asin}_CONFIRM > span`).click();

I can also send you an export of the page.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions