Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mimic "Google Scholar PDF Reader" features #17921

Open
7vq opened this issue Apr 10, 2024 · 11 comments
Open

Mimic "Google Scholar PDF Reader" features #17921

7vq opened this issue Apr 10, 2024 · 11 comments
Labels

Comments

@7vq
Copy link

7vq commented Apr 10, 2024

Chrome has a new "Google Scholar PDF Reader" extension for academic articles. The extension allows clicking in-text citations to show, in a popup: the cited article's title, full author list, and article summary. That avoids losing your reading place every time you want to see what paper a citation corresponds to. It also avoids having to manually copy, paste, search, and find each citation online to read the abstract. The extension also automatically adds a linked table of contents for the current PDF, even for PDFs without a built-in linked table of contents.

To convey how much people like these features: the extension was only released a few months ago and already has 100k users.

Could these features be added to pdf.js? (It sounds to me like Firefox wouldn't allow these features to be implemented as a Firefox extension?)

@sylvestre
Copy link
Contributor

FYI, this Google extension is based on pdf.js

@mozilla mozilla deleted a comment from jacklanda Apr 25, 2024
@JasonSome
Copy link

Any update/news on this pending feature?

@marco-c
Copy link
Contributor

marco-c commented Jun 4, 2024

No news, and we have other things with higher priorities in our roadmap at the moment.

@7vq

This comment was marked as resolved.

@Snuffleupagus
Copy link
Collaborator

This bookmarklet gives a popup preview for internal links like figures and citations. The only issue is I haven't found a way to automate manually clicking/calling the bookmarklet on every PDF load.

Maybe that repository's code could be integrated into pdf.js?

I don't think so, since that code can end up trigger rendering a lot when just moving the mouse around which may hurt overall performance in many cases.
This is made worse by the fact that there's no attempt, as far as I can tell, to actually cancel (and clean-up) properly once the preview is no longer needed.

@7vq
Copy link
Author

7vq commented Jun 20, 2024

I don't think so, since that code can end up trigger rendering a lot when just moving the mouse around which may hurt overall performance in many cases. This is made worse by the fact that there's no attempt, as far as I can tell, to actually cancel (and clean-up) properly once the preview is no longer needed.

Ah, fair enough. (For what it's worth, I haven't noticed any issues myself in years of usage. But obviously other people will have different usages, plus I might just be overlooking issues.)

@salomepoulain

This comment was marked as duplicate.

@yuyuslab

This comment was marked as off-topic.

@salcc
Copy link

salcc commented Nov 10, 2024

I've created a modified version of the Google Scholar PDF Reader extension that adds annotation capabilities while maintaining the core citation preview features: https://github.com/salcc/Scholar-PDF-Reader-with-Annotations. The extension is open source - feel free to use it or contribute!

Sorry for the slight off-topic reply, but I thought many people that come here just want these features (like me a few months ago)

@yuyuslab

This comment was marked as off-topic.

@yuyuslab

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

9 participants