Great article but I found an error
on
Here's the complete list of properties that you can change:
// Example
window.location.protocol = 'https' .host = 'localhost' .hostname = 'localhost:8080' .port = '8080' .pathname = 'path' .search = 'query string' // (you don't need to pass ?) .hash = 'hash' // (you don't need to pass #) .href = 'url'
.hostname and .host should be swaped
take care, Renas
AH yikes π± Let me fix that now!! Great catch! Thanks for letting me know π°
Can you follow me back if posible?
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Great article but I found an error
on
Here's the complete list of properties that you can change:
// Example
.hostname and .host should be swaped
take care, Renas
AH yikes π± Let me fix that now!! Great catch! Thanks for letting me know π°
Can you follow me back if posible?