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:
Edge:
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:
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.