# PDF를 다운로드 없이 바로 열도록 기본 설정 변경

**URL:** https://meta.discourse.org/t/make-pdfs-open-directly-not-via-download-by-default/388190
**Category:** Feature
**Tags:** completed, pdf-previews
**Created:** [11월 11, 2025, 9:39오후 UTC](https://meta.discourse.org/t/make-pdfs-open-directly-not-via-download-by-default/388190 "2025-11-11T21:39:03Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [11월 11, 2025, 9:39오후 UTC](https://meta.discourse.org/t/make-pdfs-open-directly-not-via-download-by-default/388190/1 "2025-11-11T21:39:03Z")

</div>

현재 PDF의 핵심 처리는 다운로드를 통해 이루어집니다:

[allaboutcats.pdf](https://meta.discourse.org/uploads/short-url/kc7PBLn0YWV50qV2erkiGh7Frkb.pdf) (42.2 KB)

이 방식은 매우 기능적이지만, 가장 일반적인 사용 사례인 "지금 이걸 읽고 싶다"에 대해 몇 가지 불필요한 단계를 추가합니다. 특히 모바일 기기에서 그렇습니다.

무언가를 다운로드/저장해야 하는 필요성은 매우 부차적입니다. 때로는 필요하지만, 보통 사용자는 그냥 읽고 넘어가기를 원합니다.

[Inline PDF Previews](https://meta.discourse.org/t/inline-pdf-previews/157649) TC는 데스크톱에서 인라인 PDF를 서빙함으로써 이 문제를 해결하며, 이를 매우 우아하게 수행합니다. 그러나 다음 일반적인 상황들은 놓치고 있습니다:

1. 모바일 기기에서의 PDF
2. 여러 개의 PDF (시각적 혼란으로 인해)
3. 전체 브라우저 탭에서 PDF 보기

참고로, PDF를 다운로드하는 다른 경로들이 있습니다. 링크를 직접(우클릭/컨텍스트 메뉴를 통해) 다운로드하거나, 이 TC가 서빙하는 브라우저 기반 PDF 뷰어 내에서 다운로드할 수 있습니다.

## 제안: 기본적으로 브라우저에서 PDF 열기

이 작은 조정으로 이 두 가지 상황을 훌륭하게 해결할 수 있으며, Discourse의 다른 링크에 대한 기본 동작에 단순히 맞출 수 있습니다. 따라서 제안된 변경 사항에 따라:

1. 모바일의 PDF 링크는 일반적으로 동일한 브라우저 창에서 열립니다.
  - 탭 한 번으로 보기 가능

2. 데스크톱의 PDF 링크(즉, 인라인 PDF 위)는 새 탭에서 열립니다.
  - 클릭 한 번으로 전체 탭 보기 가능

3. 인라인 동작이 의도적으로 억제된 경우(링크 텍스트에 공백을 추가하여)
  - 클릭 한 번으로 보기 가능

이 내용을 이 PR에 정리했습니다:

> <https://github.com/discourse/discourse-pdf-previews/pull/47>
>
> This markedly improves the UX for people accessing PDFs - especially from mobile….
> 
> In mobile, the browser will render the PDF in a new tab (instead of the core default forced download). This reduces a multi-step process to a single tap.
> 
> On desktop with Inline mode, the link will also open in a new tab, enabling a fullscreen view; the existing download behaviour was redundant, as it is included in native browser PDF viewers. Full tab is not available from within an iFrame, so this is useful additional functionality.
> 
> Desktop New tab mode is unchanged.
> 
> Also addressed deprecation notices related to mobile view checking.

---

_[View the full topic](https://meta.discourse.org/t/make-pdfs-open-directly-not-via-download-by-default/388190)._
