internetarchive / wayback-machine-webextension

A web browser extension for Chrome, Firefox, Edge, and Safari 14.
GNU Affero General Public License v3.0
650 stars 207 forks source link

Cited Books button missing in Popup #1040

Open cgorringe opened 2 months ago

cgorringe commented 2 months ago

Describe the bug The blue "Books" button is missing in the toolbar popup, while visiting a relevant Wikipedia page with its setting turned on.

To Reproduce Steps to reproduce the behavior:

  1. Turn on "Wikipedia Resources" in Settings
  2. Go to https://en.wikipedia.org/wiki/Vincent_van_Gogh
  3. Scroll down to Sources. Notice that the Archive icons correctly display alongside ISBN numbers and that the books API is working correctly. (from inspecting background page, Network tab)
  4. Click on toolbar icon to notice that "Papers" button displays, but "Books" is missing.

Expected behavior Expect the "Books" button to display, so that the user may click on it to open a Cited Books window.

Screenshots wayback-ext-2024-07-09

Environment (please complete the following information):

cgorringe commented 2 months ago

After trying it again, the blue "Books" button did show up in the popup for the Van Gogh page, so it appears to work correctly some of the time. I tested some more URLs.

These URLs didn't display the "Books" button:

This displayed the "Books" button but not the embedded Archive icons:

These URLs worked correctly: