Hide Div on specific URL with Javascript

Hey there

I need a hint.

Go to ms4.galli-web-dev.ch/konto

you will see two div boxes on the right. "Warenkorb" and "Support".

Now, when you go to /konto#basket or /konto/#basket I have to hide the Div #div_block-19-156 (this is the Warenkorb). How can I do this, so the div appears again when I´m not on the URL /konto#basket or /konto/#basket?

I managed to set a display:none when the URL was /konto#basket or /konto/#basket but when I changed the URL, the div stayed hidden.

Do you have a hint how I can do that with javascript?

Best regards

Mike