Detect if url changes or not on web browser using Javascript.

Job ID: 32866996

Budget: €8 – €30 EUR

As you can see the title, I need a simple javascript.
so what I want is to detect if url is changed or not on web browser using Javascript.
That's it.
Thanks.
Related categories: PHP JavaScript HTML5 HTML jQuery / Prototype