# How to prevent opening a new browser tab every time

**URL:** <https://forum.inductiveautomation.com/t/how-to-prevent-opening-a-new-browser-tab-every-time/72678>\
**Category:** Ignition\
**Tags:** vision, ignition81\
**Created:** [April 19, 2023, 11:21pm UTC](https://forum.inductiveautomation.com/t/how-to-prevent-opening-a-new-browser-tab-every-time/72678 "2023-04-19T23:21:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SUJAN\_MISHRA](https://avatars.discourse-cdn.com/v4/letter/s/8e7dd6/32.png) [@SUJAN\_MISHRA](https://forum.inductiveautomation.com/u/SUJAN_MISHRA)\
**Post date:** [April 19, 2023, 11:21pm UTC](https://forum.inductiveautomation.com/t/how-to-prevent-opening-a-new-browser-tab-every-time/72678/1 "2023-04-19T23:21:28Z")

</div>

Hi,  
We are using the Ignition version 8.1.26 and working on Vision. We use the URL, which only loads a web application in the MS Edge browser. It means it doesn’t work with the ignition’s Vision browser component.  
In the meantime, we want our users to click on a button to open Edge and go to the desired URL.  
**The method below opens a new tab every time. What should we do to prevent opening new tabs?**

import webbrowser  
webbrowser.open('[https://www.bing.com/](https://www.bing.com/)', new=0, autoraise=True)

**Thank you for your help!**

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [April 20, 2023, 9:38am UTC](https://forum.inductiveautomation.com/t/how-to-prevent-opening-a-new-browser-tab-every-time/72678/2 "2023-04-20T09:38:57Z")

</div>

> **[GitHub - brcontainer/prevent-duplicate-tabs: Simple add-on/extension for...](https://github.com/brcontainer/prevent-duplicate-tabs)**
>
> Simple add-on/extension for prevent duplicate tabs - GitHub - brcontainer/prevent-duplicate-tabs: Simple add-on/extension for prevent duplicate tabs
