Skip to content

Change the banner when multiple articles are found on the page #37

Description

@brandonStell

The problem with the current extension is that when there are multiple PubPeer results on the page it is sometimes difficult to locate them.
When there is only one result on the page the banner contains a link to the comment on PubPeer and everything is easy.
Like this:
https://www.sciencedirect.com/science/article/pii/S2214785320310609?via%3Dihub

However, when there are multiple results on the page there is no link in the banner because the banner would be too big. We would like to keep the banner as it is when there are multiple results, but if the user clicks it, it expands to show all the links for the results that were found on the page.

Here is an example of how the banner looks when there are multiple results on the page.
https://journals.plos.org/plosmedicine/article?id=10.1371/journal.pmed.1003289

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions