# Any way to force login popup to open by url query string?

**URL:** <https://meta.discourse.org/t/any-way-to-force-login-popup-to-open-by-url-query-string/46193>\
**Category:** Feature\
**Created:** [Juin 22, 2016, 3:43 UTC](https://meta.discourse.org/t/any-way-to-force-login-popup-to-open-by-url-query-string/46193 "2016-06-22T15:43:36Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)\
**Post date:** [Juin 28, 2016, 9:29 UTC](https://meta.discourse.org/t/any-way-to-force-login-popup-to-open-by-url-query-string/46193/4 "2016-06-28T09:29:31Z")

</div>

Thanks for your responses @riking @stevenpslade

> [@stevenpslade](#):
>
> • Using JS, could you check the url for a particular query and, if the query string existed, display the modal? This would work on the initial load but you might also be able to utilize api.onPageChange() to check the url as Ember is doing it’s magic.
> 
> • The aforementioned JS could potentially be placed in the application route?

I will check these methods on mine and let you know. Thanks again 🙂

---

_[View the full topic](https://meta.discourse.org/t/any-way-to-force-login-popup-to-open-by-url-query-string/46193)._
