# Prevent Search Box from opening on UI when using searchText

**URL:** <https://pdfjs.community/t/prevent-search-box-from-opening-on-ui-when-using-searchtext/2031>\
**Category:** Technical Support\
**Created:** [September 15, 2022, 8:14am UTC](https://pdfjs.community/t/prevent-search-box-from-opening-on-ui-when-using-searchtext/2031 "2022-09-15T08:14:21Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/ffbcd25c7d423db8d5acd5db201c272f4db306dd.png) [@system](https://pdfjs.community/u/system)\
**Post date:** [September 15, 2022, 8:14am UTC](https://pdfjs.community/t/prevent-search-box-from-opening-on-ui-when-using-searchtext/2031/3 "2022-09-15T08:14:25Z")

</div>

**Hello, I’m Ron, an automated tech support bot 🤖**

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:
- [Add Link to Annotations - Use WebViewer UI to Add Links to Annotations](https://pdfjs.express/documentation/annotation/add-link-to-annotation.8#use-webviewer-ui-to-add-links-to-annotations)
- [Hiding/Showing DOM elements in WebViewer UI - Find data-element attribute values](https://pdfjs.express/documentation/ui-customization/hiding-elements#find-data-element-attribute-values)
- [Create annotations - Programmatically](https://pdfjs.express/documentation/annotation/create-annotations#programmatically)

APIs:
- [UndefineddocumentLoaded](https://pdfjs.express/api/namespaces.list.html#event:documentLoaded__anchor)
- [UI.TabManager - setActiveTab(tabId [, saveCurrentActiveTabState])](https://pdfjs.express/api/UI.TabManager.html#.setActiveTab__anchor)
- [Core.Tools.RedactionCreateTool - enableAutoSizedText()](https://pdfjs.express/api/Core.Tools.RedactionCreateTool.html#enableAutoSizedText__anchor)

Forums:
- [Programmatically highlight text upon searching](https://pdfjs.community/t/programmatically-highlight-text-upon-searching/71/1)
- [Highlight tool trigger as left click](https://pdfjs.community/t/highlight-tool-trigger-as-left-click/1664/1)
- [Highlight Searched Text](https://pdfjs.community/t/highlight-searched-text/1683/1)

  
  

Share how you are using PDF.js Express in your organization you could win a **$500 Amazon gift card. All participants will receive 6 months of PDF.js Express+ for free**. Learn more [here](https://utm.guru/ueQNw)

---

_[View the full topic](https://pdfjs.community/t/prevent-search-box-from-opening-on-ui-when-using-searchtext/2031)._
