Explore Help
Sign In
akira
/
pdfjs-dist
1
0
Fork
You've already forked pdfjs-dist
0
Code Issues Pull Requests Projects Releases Wiki Activity
Generic build of PDF.js library.
9919 Commits
1 Branch
1804 Tags
126 MiB
Tree: 699f3392e4
pdfjs-dist/web/viewer-snippet-firefox-exte...

4 lines
160 B
Raw Normal View History Unescape Escape

Removes reference to the Makefile
11 years ago
<!-- This snippet is used in the Firefox extension (included from viewer.html) -->
Remove XHTML leftovers from the viewer HTML files
9 years ago
<base href="resource://pdf.js/web/">
Remove type="text/javascript" from script tags. "text/javascript" is not a correct MIME type (the correct one is "application/javascript") but it's not even needed; all browsers default to the correct type and treat it as executable JS when type is ommited. Since not all browsers recognize the "application/javascript" MIME type the only way to both stay compliant and to support all popular browsers is to omit the type. It's also shorter this way.
11 years ago
<script src="../build/pdf.js"></script>
Powered by Gitea Version: 1.16.3 Page: 246ms Template: 89ms
English
bahasa Indonesia Deutsch English español français italiano latviešu magyar nyelv Nederlands polski Português de Portugal português do Brasil suomi svenska Türkçe čeština ελληνικά български русский српски Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API Website Go1.17.6