this post was submitted on 30 Sep 2023
152 points (97.5% liked)
Open Source
31180 readers
165 users here now
All about open source! Feel free to ask questions, and share news, and interesting stuff!
Useful Links
- Open Source Initiative
- Free Software Foundation
- Electronic Frontier Foundation
- Software Freedom Conservancy
- It's FOSS
- Android FOSS Apps Megathread
Rules
- Posts must be relevant to the open source ideology
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon from opensource.org, but we are not affiliated with them.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
https://github.com/AnMnv/eBook/blob/main/eBook.pdf here is just the link on .pdf book but the names in TOC in not "clickable" that is why I choose online preview in this way)
If you link to the raw file, it's going to open in the browser's PDF viewer, where links are clickable.
in this case, downloading starts immediately, it is not ok (at least in my case, I want to have online preview)
Looks like your browser doesn't have a PDF viewer built in. You should install an extension that adds it (PDF.js), it's really useful.
That would be a combination of your settings, and headers coming from GitHub.