# Unable to remove the watermark on the document

**URL:** <https://pdfjs.community/t/unable-to-remove-the-watermark-on-the-document/2597>\
**Category:** Technical Support\
**Tags:** pdfjs-express\
**Created:** [May 24, 2023, 9:18am UTC](https://pdfjs.community/t/unable-to-remove-the-watermark-on-the-document/2597 "2023-05-24T09:18:50Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![support-achats](https://avatars.discourse-cdn.com/v4/letter/s/977dab/32.png) [@support-achats](https://pdfjs.community/u/support-achats)\
**Post date:** [May 24, 2023, 9:18am UTC](https://pdfjs.community/t/unable-to-remove-the-watermark-on-the-document/2597/1 "2023-05-24T09:18:50Z")

</div>

**Which product are you using?**

PDF.js Express Viewer Free license

**PDF.js Express Version**

UI version ‘8.7.0’

**Detailed description of issue**  
{Description here}

On the visualization of the document, we see a watermark.  
Why ? How can we remove that ?  
Is our license working ?  
Can we regenerate a license?

**Expected behaviour**  
{Provide a screenshot or description of the expected behaviour}  
See attachement

 ![Site www.groupemutuel.ch pdf viewer watermarked 2023-05-23_14-44-00](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/2X/2/25a9d8f0e368b0822c22bb576ba27f27ce693cd3.png)

**Does your issue happen with every document, or just one?**  
{Answer here}  
Yes on every document.

**Link to document**  
{Provide a link to the document in question if possible}

> **[Search engine: results - Groupe Mutuel](https://www.groupemutuel.ch/en/private-customers/search-results.html)**
>
> Are you searching for information on our website? Enter your search here and access the requested information.

On the button View per example.

**Code snippet**  
{Provide a relevant code snippet}  
Our license code viewing.js  
WebViewer(  
{  
path: ‘…/…/…/lib’,  
licenseKey: ‘YtKpZ6KgFjbcz3ZPehns’,  
initialDoc: initialDoc,  
},  
document.getElementById(‘viewer’)  
).then(instance =\> {  
samplesSetup(instance);

document.getElementById(‘select’).onchange = e =\> {  
instance.UI.loadDocument(e.target.value);  
};

document.getElementById(‘file-picker’).onchange = e =\> {  
const file = e.target.files[0];  
if (file) {  
instance.UI.loadDocument(file);  
}  
};

document.getElementById(‘url-form’).onsubmit = e =\> {  
e.preventDefault();  
instance.UI.loadDocument(document.getElementById(‘url’).value);  
};  
});

---

<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:** [May 24, 2023, 4:01pm UTC](https://pdfjs.community/t/unable-to-remove-the-watermark-on-the-document/2597/3 "2023-05-24T16:01:29Z")

</div>

Hi there,

It looks like you have a license key already generated from your account settings on pdf.js.  
You can regenerate them in the same panel:

 ![untitled](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/2X/3/36ac4ec999ed821e8fdb5b8b68281c441a1ec775.png)

Please see this forum post for additional information: [PDF.js Express Viewer Watermarks](https://pdfjs.community/t/pdf-js-express-viewer-watermarks/1614)

Best regards,  
Kevin Kim

---

<div class="post-metadata">

**Author:** ![support-achats](https://avatars.discourse-cdn.com/v4/letter/s/977dab/32.png) [@support-achats](https://pdfjs.community/u/support-achats)\
**Post date:** [May 25, 2023, 6:45am UTC](https://pdfjs.community/t/unable-to-remove-the-watermark-on-the-document/2597/4 "2023-05-25T06:45:59Z")

</div>

> [@kkim](#):
>
> It looks like you have a license key already generated from your account settings on pdf.js.  
> You can regenerate them in the same panel:

I can’t regenerate the key !?!

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/2X/b/bfe20feef845d6e6ed384eaa4a40964a1d19fb17.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:** [May 25, 2023, 3:02pm UTC](https://pdfjs.community/t/unable-to-remove-the-watermark-on-the-document/2597/5 "2023-05-25T15:02:29Z")

</div>

Hi there,

It looks like you already have a license key for that domain. In that case, you would need to edit your first license key to something else then create a new one for that domain.

Best regards,  
Kevin Kim

---

<div class="post-metadata">

**Author:** ![support-achats](https://avatars.discourse-cdn.com/v4/letter/s/977dab/32.png) [@support-achats](https://pdfjs.community/u/support-achats)\
**Post date:** [May 25, 2023, 4:10pm UTC](https://pdfjs.community/t/unable-to-remove-the-watermark-on-the-document/2597/6 "2023-05-25T16:10:00Z")

</div>

I have generated a new license key and placed it on our website www.groupemutuel.ch but the watermark is still there. Do you have a way to check if the new key is used by www.groupemutuel.ch?

---

<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:** [May 25, 2023, 8:29pm UTC](https://pdfjs.community/t/unable-to-remove-the-watermark-on-the-document/2597/7 "2023-05-25T20:29:19Z")

</div>

Hi there,

I took at look at the staging link you provided and it looks like you have the annotation tools in the header. This means you are not using the pdfjs express viewer. Make sure you have the correct package installed.

You can see the difference in the packages here:

> **[PDF.js License Pricing for Commercial Viewer | PDF.js Express](https://pdfjs.express/pricing)**

and the demo between viewer/pro: [PDF.js Viewer Demo | PDF.js Express](https://pdfjs.express/demo?product=viewer)

Best regards,  
Kevin Kim

---

<div class="post-metadata">

**Author:** ![support-achats](https://avatars.discourse-cdn.com/v4/letter/s/977dab/32.png) [@support-achats](https://pdfjs.community/u/support-achats)\
**Post date:** [May 26, 2023, 5:37am UTC](https://pdfjs.community/t/unable-to-remove-the-watermark-on-the-document/2597/8 "2023-05-26T05:37:31Z")

</div>

Have you tested this link (our site in PRODUCTION) [Search engine: results - Groupe Mutuel](https://www.groupemutuel.ch/en/private-customers/search-results.html), by clicking on the View button to open the viewer?

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/2X/f/f7dc9fcb5262d608350b928ebb5fefeec84a561a.png)

You can see the watermark

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/2X/1/179bf48adfce0ba369567b3b67d8f57875f861a1.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:** [May 26, 2023, 2:43pm UTC](https://pdfjs.community/t/unable-to-remove-the-watermark-on-the-document/2597/9 "2023-05-26T14:43:33Z")

</div>

Hi there,

Yes I looked at your staging and see that you have the express Plus features:

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/2X/0/065211cec0d226d30ba332ce87d858cf31ded844.png)

You will need to correctly download the pdfjs-express-viewer package

> **[@pdftron/pdfjs-express-viewer](https://www.npmjs.com/package/@pdftron/pdfjs-express-viewer?activeTab=readme)**
>
> \[PDFJS Express\](https://pdfjs.express) is a powerful JavaScript-based PDF Library that wraps \[PDF.js\](https://mozilla.github.io/pdf.js/). It provides a slick out-of-the-box responsive UI that interacts with the core library to view, annotate and...

Best regards,  
Kevin Kim
