I'm looking to execute a function when the a page is loaded with a certain hash in the url.

So if I visit `www.mypage.com/hello.html#functionplease` then the code will execute.

Can anyone point me in the right direction?

Any advice appreciated!