HipChat Sidebar opening external browser windows


I'm having an issue with opening external browser windows in my HipChat addon in Microsoft Windows only (Windows 10 users). Mac works fine. This also works fine for BOTH OS in the HipChat webapp. I am simply using a windows.open(<url>) in my addon.js. Has anyone run into this issue and has a solution? 

1 answer

1 accepted

10/24/16 Update:

I actually got this working over the weekend. Apparently, Windows native app blocks window.open that were not initiated by a "direct" user action. Mac does not appear to do this at all which is why it was working on most of the computers and the webapp. I had my code that opened the window in an ajax call which was initiated by a button click in the sidebar. While this appears to be initiated through a user action, the ajax call is NOT a user action so it did not work. Once I re-worked my code to have the ajax code elsewhere and clicked the button, the window opened just fine. Just a heads up for anyone else running into this issue.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Mar 26, 2018 in Hipchat Data Center

Migration of Hipchat server to Data Center - a retrospective

Background While our Hipchat server environment was reliable and performing well, as a significant and growing part of our business, the need to leverage the benefits of Hipchat Data Center&nbs...

460 views 2 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you