vault backup: 2025-07-05 13:05:14

This commit is contained in:
CrazyJasonwell committed 2025-07-05 13:05:15 +08:00
1 parent 2c157a1e7e
commit 3d4d67455a
3181 files changed
+47815 -130

No files matched your search

@@ -0,0 +1,15 @@
---
raindrop_id: 670472363
---
# Metadata
Source URL:: https://blog.csdn.net/mufeng633/article/details/82983234
---
# (34条消息) PDF.JS 解决跨域, 传值,本地路径,IE兼容性 问题_pdf.js ie8_沐风Cc的博客-CSDN博客
文章浏览阅读1.1w次,点赞6次,收藏26次。最近公司要求实现在线预览PDF功能,于是百度查了一些资料,借鉴了一些大佬好的想法,特总结下来,供参考。去官网http://mozilla.github.io/pdf.js/ 下载 pdfjs类库导入项目的 WebRoot 下:之后更改Viewer.js中 默认引入pdf路径,请自行百度。第一种:在本项目中预览PDF这种方式是最简单的,因为不涉及跨域操作以及本机pdf文件操作。代码如下`..._pdf.js ie8
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472364
---
# Metadata
Source URL:: https://blog.csdn.net/MJlife/article/details/108378905
---
# (34条消息) PDF.JS-文件流方式在线展示pdf文件_pdfjs文件流_cookies_token的博客-CSDN博客
文章浏览阅读9.7k次。目前所在项目要求实现在线预览PDF功能,于是百度查了一些资料,借鉴了一些大佬好的想法,特总结下来,供参考。PDFJS是在线预览PDF的一款神器,官网地址:http://mozilla.github.io/pdf.js/下载后解压文件,直接拖进项目里就可以:一些其博客说要把viewer.js里面的 defaultUrl: { value: "compressed.tracemonkey-pldi-09.pdf", kind: OptionKind.VIEWER....._pdf.js 文件流
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472370
---
# Metadata
Source URL:: https://blog.csdn.net/qiumen/article/details/82698471
---
# (34条消息) pdf.js安装步骤和使用(window)_logytar的博客-CSDN博客
文章浏览阅读4.9k次。打开cmd,切换到想要下载的目录位置1、下载源码(记得先下载好git,才能使用git命令)  git clone git://github.com/mozilla/pdf.js.git  cd pdf.js2、安装node.js https://nodejs.org/en/download/3、安装gulp(安装后记得配置系统环境变量,否则后面gulp会不起作用...
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472361
---
# Metadata
Source URL:: https://blog.csdn.net/a973685825/article/details/81169689
---
# (34条消息) pdf.js实现加载远程pdf和本地文件pdf(不是���webapp下),完美解决跨域问题_pdfjs加载本地文件_NEO_L的博客-CSDN博客
文章浏览阅读1.1w次,点赞2次,收藏12次。目标文件:远程pdf文件和本地文件(不是放在webapp下的文件,是电脑任意磁盘上的本地文件)解决思路: 1.都是以文件流的形式来进行加载pdf文档,完美解决跨域问题 2.写一个servlet,将文件流输出,浏览器可直接打开,展示该pdf注意: 至于pdf.js插件的使用,上官网即可,我不做过多解释了,网上也有很多前端展示:http://localhos..._pdfjs 加载同一个服务器上的文件
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472365
---
# Metadata
Source URL:: https://blog.csdn.net/QQ294177543/article/details/107222166
---
# (34条消息) pdf.js踩过的坑--实现无需下载文件到本地直接预览功能_KoitoChuo的博客-CSDN博客
文章浏览阅读2.4k次。目录pdf.js打开文件的方式遇到过的问题地址存在上下文的情况文件名称含有特殊字符pdf.js打开文件的方式pdf.js官网提供了一种最简便的打开文件的方式://If you want to open a PDF from your website with PDF.js, simply link to the viewer and pass the location of the PDF file. For example:
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472371
---
# Metadata
Source URL:: https://blog.csdn.net/qiumen/article/details/83000284
---
# (34条消息) pdfjs ----本地以及远程访问pdf文件_pdf.worker.min.js_logytar的博客-CSDN博客
文章浏览阅读1.4w次,点赞5次,收藏16次。如何下载pdfjs,可查看我的另外一篇博客文章 https://blog.csdn.net/qiumen/article/details/82698471一、本地访问1.把pdfjs放到项目,可把pdf.js和pdf.worker.js放到另外专门的js文件夹(放置位置自己调,pdf.min.js以及pdf.worker.min.js是去网上找自动压缩工具压缩的,你自己要不要压缩随你的..._pdf.worker.min.js
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472345
---
# Metadata
Source URL:: https://zhuanlan.zhihu.com/p/437503198
---
# CORS (Cross-Origin Resource Sharing) 报错及解决 - 知乎
前言CORS (Cross-Origin Resource Sharing) 是每个网页开发者早晚都会遇到的问题。当你阅读这篇文章时,你很有可能正在处理一个CORS错误。本文,我将告诉你CORS是什么,以及如何处理CORS错误。 什么是CORS? 这就是…
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472382
---
# Metadata
Source URL:: https://github.com/alist-org/alist/issues/2530
---
# Embed pdf.js/web/viewer.html in AList binary · Issue #2530 · alist-org/alist
Please make sure of the following things I have read the documentation. I'm sure there are no duplicate issues or discussions. I'm sure this feature is not implemented. I'm sure it'...
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472353
---
# Metadata
Source URL:: https://alist-org.github.io/pdf.js/examples
---
# Examples
A general-purpose, web standards-based platform for parsing and rendering PDFs.
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472381
---
# Metadata
Source URL:: https://github.com/alist-org/alist/issues/1793
---
# File preview is case sensitive · Issue #1793 · alist-org/alist
Please make sure of the following things I have read the documentation. I'm sure there are no duplicate issues or discussions. I'm sure it's due to alist and not something else(such as ...
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472356
---
# Metadata
Source URL:: https://alist-org.github.io/pdf.js/getting_started
---
# Getting Started
A general-purpose, web standards-based platform for parsing and rendering PDFs.
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472352
---
# Metadata
Source URL:: https://github.com/alist-org/alist/issues?q=pdf.js
---
# Issues · alist-org/alist
🗂️A file list/WebDAV program that supports multiple storages, powered by Gin and Solidjs. / 一个支持多存储的文件列表/WebDAV程序,使用 Gin 和 Solidjs。
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472376
---
# Metadata
Source URL:: https://github.com/alist-org/alist/issues?q=iframe
---
# Issues · alist-org/alist
🗂️A file list/WebDAV program that supports multiple storages, powered by Gin and Solidjs. / 一个支持多存储的文件列表/WebDAV程序,使用 Gin 和 Solidjs。
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472344
---
# Metadata
Source URL:: https://github.com/alist-org/alist/issues/3280
---
# PDF Failed to Fetch · Issue #3280 · alist-org/alist
Please make sure of the following things I have read the documentation. I'm sure there are no duplicate issues or discussions. I'm sure it's due to alist and not something else(such as ...
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472359
---
# Metadata
Source URL:: https://www.cnblogs.com/interdrp/p/12440949.html
---
# PDF.js访问远程服务器报file origin does not match viewer's - 锐洋智能 - 博客园
下载PDF.js(会附带下载资源)后面会附带下载地址,其中包含两个文件夹build和web文件夹,build文件夹是PDF.js核心文件,web下为展示PDF的视图界面viewer.html;在项目中要在线预览PDF,进行以下步骤:方法1:新建一个html页面,在页面中使用iframe标签,通过if
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472367
---
# Metadata
Source URL:: https://www.lilnong.top/static/html/pdfjs-test.html
---
# PDFJS 预览 PDF - www.lilnong.top
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472368
---
# Metadata
Source URL:: https://mozilla.github.io/pdf.js/web/viewer.html?file=https%3A%2F%2Fcors-www.lilnong.top%2Fstatic%2Fpdf%2FB-4-RxJS%E5%9C%A8React%E4%B8%AD%E7%9A%84%E5%BA%94%E7%94%A8-%E9%BE%99%E9%80%B8%E6%A5%A0_.pdf
---
# PowerPoint 演示文稿 - B-4-RxJS在React中的应用-龙逸楠_.pdf
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472377
---
# Metadata
Source URL:: https://github.com/mozilla/pdf.js/releases/tag/v3.8.162
---
# Release v3.8.162 · mozilla/pdf.js
This release features improvements in the areas of annotation editing/saving/printing, font conversion, accessibility and performance. Changes since v3.7.107 Bump versions in pdfjs.config by @timv...
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472343
---
# Metadata
Source URL:: https://github.com/search?q=pdf.js&type=repositories
---
# Repository search results
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472351
---
# Metadata
Source URL:: https://github.com/alist-org/alist/issues/1681
---
# Unable to preview PDF file · Issue #1681 · alist-org/alist
Please make sure of the following things I have read the documentation. I'm sure there are no duplicate issues or discussions. I'm sure it's due to alist and not something else(such as ...
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472374
---
# Metadata
Source URL:: https://mozilla.github.io/pdf.js/web/viewer.html
---
# compressed.tracemonkey-pldi-09.pdf
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472379
---
# Metadata
Source URL:: https://mozilla.github.io/pdf.js/legacy/web/viewer.html
---
# compressed.tracemonkey-pldi-09.pdf
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472347
---
# Metadata
Source URL:: https://www.bing.com/search?FORM=ANNTA1&PC=U531&aqs=edge..69i57.83154j0j1&cvid=118dd5dfeeb44e928aaaa8682185a4df&mkt=zh-CN&pglt=41&q=cors%E9%94%99%E8%AF%AF
---
# cors错误 - 搜索
Intelligent search from Bing makes it easier to quickly find what you’re looking for and rewards you.
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472360
---
# Metadata
Source URL:: https://www.bing.com/search?FORM=ANNTA1&PC=U531&aqs=edge..69i57.1112035j0j4&cvid=22fd56380a374a2da0b0c6dbcca9b6b8&mkt=zh-CN&pglt=41&q=file+origin+does+not+match+viewer
---
# file origin does not match viewer - 搜索
Intelligent search from Bing makes it easier to quickly find what you’re looking for and rewards you.
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472354
---
# Metadata
Source URL:: https://github.com/mozilla/pdf.js
---
# mozilla/pdf.js: PDF Reader in JavaScript
PDF Reader in JavaScript. Contribute to mozilla/pdf.js development by creating an account on GitHub.
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472355
---
# Metadata
Source URL:: https://github.com/mozilla/pdf.js#online-demo
---
# mozilla/pdf.js: PDF Reader in JavaScript
PDF Reader in JavaScript. Contribute to mozilla/pdf.js development by creating an account on GitHub.
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472366
---
# Metadata
Source URL:: https://www.bing.com/search?FORM=ANNTA1&PC=U531&aqs=edge..69i57j0l8.17493j0j1&cvid=5cc57dc0d6774552a537a410df4555c4&mkt=zh-CN&pglt=41&q=pdf.js+%E6%98%AF%E5%90%A6%E6%94%AF%E6%8C%81ip%E8%AE%BF%E9%97%AE
---
# pdf.js 是否支持ip访问 - 搜索
Intelligent search from Bing makes it easier to quickly find what you’re looking for and rewards you.
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472357
---
# Metadata
Source URL:: https://www.cnblogs.com/xiager/p/10439021.html
---
# pdf.js 跨域完美解决! - xiager - 博客园
在网上查看很多方法去解决此类跨域问题,及如何动态加载pdf文件。看来看去 请求的由后台处理加header头的 pdf.js 自带的 获取地址栏param参数值的 都是很麻烦的步骤并且有时不能有效解决浪费加载资源。自己研究了下pdf.js 源码附带相关东西轻松解决。 遇到此问题或者其它提示其它跨域的时
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472373
---
# Metadata
Source URL:: https://www.bing.com/search?FORM=ANNTA1&PC=U531&aqs=edge..69i57.7762j0j1&cvid=6a6a5980ac4542b4a257eb3186bf6539&mkt=zh-CN&pglt=41&q=pdf.js+%E9%83%A8%E7%BD%B2
---
# pdf.js 部署 - 搜索
Intelligent search from Bing makes it easier to quickly find what you’re looking for and rewards you.
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472375
---
# Metadata
Source URL:: https://github.com/mozilla/pdf.js/blob/master/README.md
---
# pdf.js/README.md at master · mozilla/pdf.js
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472380
---
# Metadata
Source URL:: https://github.com/mozilla/pdf.js/tree/master/examples
---
# pdf.js/examples at master · mozilla/pdf.js
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472362
---
# Metadata
Source URL:: https://www.cnblogs.com/kagome2014/p/kagome2014001.html
---
# pdf.js使用教程 - 歪头杀的小三花 - 博客园
pdf.js框架的魅力所在,为其为HTML5实现的,无需任何本地支持,而且对浏览器的兼容性也是比较好,要求只有一个:浏览器支持HTML5就好了!(不过对于低版本的IE,就只能节哀了!) 据说IE9以上是OK的,因为我本地是IE11,所以我只在IE11上测试过,是通过的(当然火狐,360,我也测了一下
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472342
---
# Metadata
Source URL:: https://github.com/readium/readium-js-viewer
---
# readium/readium-js-viewer: 👁 ReadiumJS viewer: default web app for Readium.js library
👁 ReadiumJS viewer: default web app for Readium.js library
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472341
---
# Metadata
Source URL:: https://afdian.net/a/talebook
---
# talebook正在创作开源项目talebook | 爱发电
将创作的自由还给创作者!爱发电是让创作者简单地获得稳定收入的粉丝赞助平台。无论你在创作什么,都能在这里获得持续的资金支持,让创作从此更自由。
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472350
---
# Metadata
Source URL:: https://alist.nn.ci/zh/faq/why.html#%E4%B8%BA%E4%BB%80%E4%B9%88%E6%88%91%E4%B8%8D%E8%83%BD%E9%A2%84%E8%A7%88-office-%E6%96%87%E4%BB%B6
---
# 为什么 | AList文档
为什么我在安装/升级后打开网页时出现错误 failed get storage: can't find storage with rawPath: /? 因为你还没有添加任何存储,点击底部登录后再次点击管理进入后台在存储页面添加存储。 为什么我在 v3 中丢失了所有存储空间 新版本(V3 及更高版本)与 V2 不兼容,因此您需要重新添加存储。 为什么我...
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472346
---
# Metadata
Source URL:: https://www.jianshu.com/p/98d4bc7565b2
---
# 使用CORS解决跨域问题 - 简书
1.跨域问题 1.1 什么是跨域 跨域是指跨域名的访问,以下情况都属于跨域: 如果域名和端口都相同,但是请求路径不同,不属于跨域,如: www.jd.com/item www...
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472369
---
# Metadata
Source URL:: https://segmentfault.com/a/1190000040331855
---
# 前端预览 PDF 文件(使用PDFJS) - javascript-lNong - SegmentFault 思否
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472378
---
# Metadata
Source URL:: https://github.com/alist-org/alist/issues/4270
---
# 增加微软和谷歌的文档预览方式,优化PDF.js载入PDF 时发生错误的问题 · Issue #4270 · alist-org/alist
Please make sure of the following things I have read the documentation. I'm sure there are no duplicate issues or discussions. I'm sure this feature is not implemented. I'm sure it'...
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472348
---
# Metadata
Source URL:: https://github.com/alist-org/alist/issues/367
---
# 天翼云预览pdf时 pdf.js跨域问题 · Issue #367 · alist-org/alist
Alist Version / Alist 版本 v2.0.6-0-g21ca2f1 Describe the bug / 问题描述 同一个域名端口 在和彩云预览pdf文件不会报cors错误 但是天翼云预览pdf文件会有如图报错 该怎么设置 Reproduction / 复现链接 No response 日志 / Logs No response
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472372
---
# Metadata
Source URL:: https://gitcode.gitcode.host/docs-cn/pdf.js-docs-cn/examples/index.html
---
# 用例 - PDF.js 中文文档
JavaScript中的PDF阅读器
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472358
---
# Metadata
Source URL:: https://www.cnblogs.com/interdrp/p/12440959.html
---
# 解决pdf.js不支持跨域问题 - 锐洋智能 - 博客园
解决跨域问题 首先直接打开任何一个链接pdf文件是不存在跨域问题的,正是因为pdf.js需要通过ajax以文件流的形式去解析才造成了跨域问题。 当pdf.js从 http://localhost 请求 http://localhost:8081/files/demo.pdf , 很遗憾啊,pdf.j
## Highlights
@@ -0,0 +1,15 @@
---
raindrop_id: 670472349
---
# Metadata
Source URL:: https://github.com/alist-org/alist/issues/4739
---
# 预览PDF出现错误:pdf.js载入 PDF 时发生错误,信息:Failed to fetch · Issue #4739 · alist-org/alist
Please make sure of the following things I have read the documentation. I'm sure there are no duplicate issues or discussions. I'm sure it's due to alist and not something else(such as ...
## Highlights