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

1 vote
Accepted answer

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
Community showcase
Published Nov 14, 2018 in Hipchat Cloud

Hipchat Cloud and Stride have reached End of Life (updated)

All good things come to an end - thanks to all our customers and partners who have been along the Hipchat and Stride journey with us.  As of Feb 15th 2019, Hipchat Cloud and Stride have reached ...

32,480 views 7 7
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