Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I am using Chrome's built-in PDF support to display PDF documents. But I am not able to customize or even remove the PDF's title.

HTML:

<iframe [src]="docURL" alt="article.title" frameborder="0"></iframe>

Chrome: enter image description here Edge: enter image description here The title in Chrome is not apt and I want to customize it. Tried using title in iframe but didn't work. Please note that Microsoft Edge do not show this title.

Inspecting in DevTools:

enter image description here

Used display:none in #title and the title disappeared. But again its not overwriting/working when written in style.css. But still couldn't figure how to customize the title.

PS: Changing metadata of the file doesn't seem a solution for me. The PDF's are uploaded by users in my app and changing the file's metadata requires editing the properties section of the file.

Any help is appreciated.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
291 views
Welcome To Ask or Share your Answers For Others

1 Answer

等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...