# How to detect which kintone page I am currently in?

**URL:** https://forum.kintone.dev/t/how-to-detect-which-kintone-page-i-am-currently-in/249
**Category:** General
**Created:** [February 11, 2022, 7:25pm UTC](https://forum.kintone.dev/t/how-to-detect-which-kintone-page-i-am-currently-in/249 "2022-02-11T19:25:24Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![legacy\_user](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/legacy_user/32/25_2.png) [@legacy\_user](https://forum.kintone.dev/u/legacy_user)
#### Post date: [February 11, 2022, 7:25pm UTC](https://forum.kintone.dev/t/how-to-detect-which-kintone-page-i-am-currently-in/249/1 "2022-02-11T19:25:24Z")

</div>

I want to call a function only when I am on the detail edit page.

Is there any Kintone function or property that I can use to check the page I am currently on?

---

<div class="post-metadata">

### Author: ![legacy\_user](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/legacy_user/32/25_2.png) [@legacy\_user](https://forum.kintone.dev/u/legacy_user)
#### Post date: [February 14, 2022, 11:34pm UTC](https://forum.kintone.dev/t/how-to-detect-which-kintone-page-i-am-currently-in/249/2 "2022-02-14T23:34:29Z")

</div>

Hello annaylee,

&nbsp;

I’m not sure what you plan to do here, but can you not use the Record Edit Event in Kintone Javascript API?

The event is triggered at the Record Edit page only.

&nbsp;

Kintone Developer Program - Record Edit Event

[https://kintone.dev/en/docs/kintone/js-api/events/record-edit-event/](https://kintone.dev/en/docs/kintone/js-api/events/record-edit-event/)
