PDF.js

PDF.js to biblioteka JavaScript służąca do renderowania plików PDF za pomocą elementu HTML5 Canvas, zgodnego ze standardami sieciowymi. Projekt jest prowadzony przez Mozilla Corporation i został zapoczątkowany w 2011 roku przez Andreasa Gala jako eksperyment.
Historia i zastosowanie
PDF.js został początkowo stworzony jako rozszerzenie przeglądarki Firefox[1] i został zintegrowany z nią w 2012 roku (wersja 15)[2][3]. Domyślnie aktywowano go w 2013 roku (wersja 19)[4][5]. W 2023 roku (wersja 111) dodano go również do Firefox for Android[6].
Celem projektu było umożliwienie natywnego przeglądania dokumentów PDF w przeglądarce, co minimalizuje zagrożenia bezpieczeństwa związane z otwieraniem plików PDF poza nią, ponieważ kod odpowiedzialny za wyświetlanie dokumentu działa w środowisku piaskownicy[7]. Implementacja wykorzystuje element Canvas z HTML5, zapewniając wysoką wydajność renderowania[7].
PDF.js jest również wykorzystywany w Thunderbirdzie[8], ownCloud[9], Nextcloud[10], i jest dostępny jako rozszerzenie przeglądarki dla Google Chrome/Chromium[11], Pale Moon[12][13] i SeaMonkey[12][14].
PDF.js można zintegrować lub osadzić w aplikacji internetowej bądź natywnej, co umożliwia renderowanie i przeglądanie dokumentów PDF. Obsługuje także zaawansowane funkcje, takie jak renderowanie po stronie serwera.
Wiele aplikacji internetowych, takich jak Dropbox[15], Slack[16] czy LinkedIn Learning[17], wykorzystuje PDF.js do podglądu dokumentów PDF.
Przypisy
- ↑ PDF Viewer(discontinued) [online], addons.mozilla.org [dostęp 2025-01-02] [zarchiwizowane z adresu 2015-12-05].
- ↑ Lucian Parfeni, PDF.JS and Download Manager Panel Pushed to Firefox 15 [online], softpedia, 30 kwietnia 2012 [dostęp 2025-01-02] (ang.).
- ↑ Вышла новая версия браузера Firefox 15 [online], rg.ru, 29 sierpnia 2012 [dostęp 2025-01-02] (ros.).
- ↑ 773397 - Disable pdf.js prior to FF15 beta 5 [online], bugzilla.mozilla.org [dostęp 2025-01-02] (ang.).
- ↑ Firefox 19.0 Release Notes [online], website-archive.mozilla.org [dostęp 2025-01-02] (ang.).
- ↑ Firefox for Android 111.0, See All New Features, Updates and Fixes [online], Mozilla [dostęp 2025-01-02] (ang.).
- ↑ a b Mozilla eyes hassle-free PDFs on the Web [online], CNET [dostęp 2025-01-02] (ang.).
- ↑ 810815 - Integrate pdf.js to Thunderbird [online], bugzilla.mozilla.org [dostęp 2025-01-02] (ang.).
- ↑ owncloud/files_pdfviewer. github.com, 2020-02-08. [dostęp 2025-01-02]. (ang.).
- ↑ nextcloud/files_pdfviewer. github.com, 2020-03-18. [dostęp 2025-01-02]. (ang.).
- ↑ PDF Viewer - Chrome Web Store [online], chromewebstore.google.com [dostęp 2025-01-02].
- ↑ a b Isaac Schemm, IsaacSchemm/pdf.js-seamonkey [online], 8 września 2023 [dostęp 2025-01-02].
- ↑ Pale Moon - Add-ons - Moon PDF Viewer [online], palemoon.org [dostęp 2025-01-02] [zarchiwizowane z adresu 2020-01-03].
- ↑ PDF Viewer for SeaMonkey [online], addons.thunderbird.net, 25 kwietnia 2020 [dostęp 2025-01-02] (ukr.).
- ↑ Lauraharrisneal, Annotations on Document Previews [online] [dostęp 2025-01-02] [zarchiwizowane z adresu 2023-03-12] (ang.).
- ↑ What matters to you, matters to us. - Engineering at Slack, „Engineering at Slack”, 16 listopada 2016 [dostęp 2025-01-02] (ang.).
- ↑ Under The Hood: Learning With Documents [online], www.linkedin.com [dostęp 2025-01-02] (ang.).
Linki zewnętrzne
- Oficjalna strona
- View PDF files in Firefox. Mozilla.
- Chris Jones, Andreas Gal: pdf.js: Rendering PDF with HTML5 and JavaScript. 2011-06-15.
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.