# Pdf.js Express watermark is not getting removed in the viewer

**URL:** <https://pdfjs.community/t/pdf-js-express-watermark-is-not-getting-removed-in-the-viewer/2343>\
**Category:** Technical Support\
**Created:** [February 2, 2023, 9:10pm UTC](https://pdfjs.community/t/pdf-js-express-watermark-is-not-getting-removed-in-the-viewer/2343 "2023-02-02T21:10:28Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![n11](https://avatars.discourse-cdn.com/v4/letter/n/7ba0ec/32.png) [@n11](https://pdfjs.community/u/n11)\
**Post date:** [February 2, 2023, 9:10pm UTC](https://pdfjs.community/t/pdf-js-express-watermark-is-not-getting-removed-in-the-viewer/2343/1 "2023-02-02T21:10:28Z")

</div>

**Which product are you using?**  
PDF.js Express Viewer

**PDF.js Express Version**  
UI version - ‘8.7.0’  
Core version - ‘8.7.1’  
webviewer.min.js - ‘8.7.1’  
Build - ‘MS8yMC8yMDIzfGIzYTExOTI2Yw==’  
WebViewer Server - false  
Full API - false

**Detailed description of issue**  
Pdf.js Express watermark is not removed from the PDF viewer.  
The licence key to PDF.js Express Viewer is provided.  
The licence key is attached to linkz.ai  
The viewer is hosted on pdf.linkz.ai domain.  
Here is the link to the implemented viewer: [Linkz.ai PDF Viewer](https://pdf.linkz.ai/?url=https://mozilla.github.io/pdf.js/web/compressed.tracemonkey-pldi-09.pdf)

What else could I be missing?

 ![Screenshot 2023-02-02 at 21.10.04](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/2X/f/f173253af8c2cb00ef25fd12fe21150620af36f3.jpeg)

**Expected behaviour**  
No Pdfjs watermark

**Does your issue happen with every document, or just one?**  
Everytime

---

<div class="post-metadata">

**Author:** ![kkim](https://avatars.discourse-cdn.com/v4/letter/k/3ab097/32.png) [@kkim](https://pdfjs.community/u/kkim)\
**Post date:** [February 2, 2023, 10:36pm UTC](https://pdfjs.community/t/pdf-js-express-watermark-is-not-getting-removed-in-the-viewer/2343/3 "2023-02-02T22:36:55Z")

</div>

Hi there,

Thank you for contacting pdf.js express forums,

Please note that in development environment (i.e. localhost) there will be a watermark:

> **[Development | Documentation](https://pdfjs.express/documentation/utils/development#without-a-license-key)**

Also, we recommend your UI/Core versions to be matched.

Best regards,  
Kevin Kim

---

<div class="post-metadata">

**Author:** ![n11](https://avatars.discourse-cdn.com/v4/letter/n/7ba0ec/32.png) [@n11](https://pdfjs.community/u/n11)\
**Post date:** [February 2, 2023, 10:59pm UTC](https://pdfjs.community/t/pdf-js-express-watermark-is-not-getting-removed-in-the-viewer/2343/4 "2023-02-02T22:59:43Z")

</div>

Hi Kevin, I’m looking at the prod environment here [Linkz.ai PDF Viewer](https://pdf.linkz.ai/?url=https://mozilla.github.io/pdf.js/web/compressed.tracemonkey-pldi-09.pdf) on the pdf.linkz.ai domain and watermarks are still visible.

I have installed the viewer via the npm (the latest version today) and built the app using esbuild (bundled and minified).

Do you have other suggestions for what to look at?

Thanks!

---

<div class="post-metadata">

**Author:** ![kkim](https://avatars.discourse-cdn.com/v4/letter/k/3ab097/32.png) [@kkim](https://pdfjs.community/u/kkim)\
**Post date:** [February 2, 2023, 11:08pm UTC](https://pdfjs.community/t/pdf-js-express-watermark-is-not-getting-removed-in-the-viewer/2343/5 "2023-02-02T23:08:18Z")

</div>

Hi there,

I am unable to see the watermark in the link you provided.

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/2X/5/5f6da3827848b6d030dac54ac1c57c58bbfa4f0d.jpeg)

Could you please clear your browser cache and retry?

One thing to verify is if you are using the express Viewer vs express Pro as they have different license keys and packages.

Best regards,  
Kevin Kim

---

<div class="post-metadata">

**Author:** ![n11](https://avatars.discourse-cdn.com/v4/letter/n/7ba0ec/32.png) [@n11](https://pdfjs.community/u/n11)\
**Post date:** [February 2, 2023, 11:17pm UTC](https://pdfjs.community/t/pdf-js-express-watermark-is-not-getting-removed-in-the-viewer/2343/6 "2023-02-02T23:17:02Z")

</div>

Thanks, It indeed works in an incognito window, though inconsistent, after a few refreshes, PDF stops to load and I see this error in the console. I do see the request with the license key with the 200 response in the dev tools. What it might be ?

 ![Screenshot 2023-02-02 at 23.12.44](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/2X/7/7f6519763af7f1c52ac512e52a64026e44c907c9.png)

---

<div class="post-metadata">

**Author:** ![kkim](https://avatars.discourse-cdn.com/v4/letter/k/3ab097/32.png) [@kkim](https://pdfjs.community/u/kkim)\
**Post date:** [February 2, 2023, 11:22pm UTC](https://pdfjs.community/t/pdf-js-express-watermark-is-not-getting-removed-in-the-viewer/2343/7 "2023-02-02T23:22:34Z")

</div>

Hi there,

Glad that worked out for you,

I tried refreshing a dozen times but was unable to reproduce your issue above. Can you please provide step by step reproduction steps?

Is this something you can possibly reproduce in the demo site?

> **[PDF.js Viewer Demo | PDF.js Express](https://pdfjs.express/demo)**
>
> Try the PDF.js Express Viewer demo: 26 out-of-the-box annotations, PDF form filling, e-signatures, UI customization, light/dark themes & more.

Best regards,  
Kevin Kim

---

<div class="post-metadata">

**Author:** ![n11](https://avatars.discourse-cdn.com/v4/letter/n/7ba0ec/32.png) [@n11](https://pdfjs.community/u/n11)\
**Post date:** [February 2, 2023, 11:28pm UTC](https://pdfjs.community/t/pdf-js-express-watermark-is-not-getting-removed-in-the-viewer/2343/8 "2023-02-02T23:28:55Z")

</div>

Hm, now I can’t reproduce it anymore. I’ll keep an eye on it and will let you know if it happens again. Thanks for your help!
