30
620hun
7y

Spent the last 15 minutes trying to extract the relative URL from location.href, until I found out that location.pathname does exactly that 😐

Comments
  • 2
    That's why I always go from parent to child and see what's the parent offers.
Add Comment