# Change on refresh

**URL:** <https://forum.kirupa.com/t/change-on-refresh/228104>\
**Category:** Uncategorized\
**Created:** [June 5, 2007, 12:50pm UTC](https://forum.kirupa.com/t/change-on-refresh/228104 "2007-06-05T12:50:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![masskontroll](https://avatars.discourse-cdn.com/v4/letter/m/df788c/32.png) [@masskontroll](https://forum.kirupa.com/u/masskontroll)\
**Post date:** [June 5, 2007, 12:50pm UTC](https://forum.kirupa.com/t/change-on-refresh/228104/1 "2007-06-05T12:50:34Z")

</div>

What type of script should I use when I want a certain action to take place when the user presses the ‘refresh’ button in the browser? Is this strictly an html thing? Check out this site which uses the technique I’m referring to:

[http://www.kioskstudio.net/kiosk/kiosk.html](http://www.kioskstudio.net/kiosk/kiosk.html)

Press ‘refresh’ to change the background. Any info much appreciated!
