# Current PageTracker.current?

**URL:** https://meta.discourse.org/t/current-pagetracker-current/79340
**Category:** Development
**Created:** [January 30, 2018, 4:10am UTC](https://meta.discourse.org/t/current-pagetracker-current/79340 "2018-01-30T04:10:48Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![jesselperry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jesselperry/32/119501_2.png) [@jesselperry](https://meta.discourse.org/u/jesselperry)
#### Post date: [January 30, 2018, 5:02am UTC](https://meta.discourse.org/t/current-pagetracker-current/79340/3 "2018-01-30T05:02:44Z")

</div>

Thank you! That seems to be the best way currently. Also found it referenced here:

> [@Accessibility: Signal changes to screen readers on navigation](https://meta.discourse.org/t/accessibility-signal-changes-to-screen-readers-on-navigation/77897/2):
>
> We already have a hook on page change, maybe use that? \<script type="text/discourse-plugin" version="0.2"\> api.onPageChange((url, title) =\> { Em.run.next(()=\>{ $('body').addClass('xyz') }); }); \</script\>

---

_[View the full topic](https://meta.discourse.org/t/current-pagetracker-current/79340)._
