Files
StudyDiary/20-我的收藏夹/21-浏览器收藏/开发网站/pdf.js/pdf.js 跨域完美解决! - xiager - 博客园.md
CrazyJasonwell fb40c9b109 add all
2025-10-25 20:35:10 +08:00

17 lines
614 B
Markdown
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
raindrop_id: 670472357
created: 2025-08-30T11:44
updated: 2025-09-22T13:27
---
# Metadata
Source URL:: https://www.cnblogs.com/xiager/p/10439021.html
---
# pdf.js 跨域完美解决! - xiager - 博客园
在网上查看很多方法去解决此类跨域问题,及如何动态加载pdf文件。看来看去 请求的由后台处理加header头的 pdf.js 自带的 获取地址栏param参数值的 都是很麻烦的步骤并且有时不能有效解决浪费加载资源。自己研究了下pdf.js 源码附带相关东西轻松解决。 遇到此问题或者其它提示其它跨域的时
## Highlights