Hacker News new | ask | show | jobs
by steveklabnik 297 days ago
web_sys lets you call window.location, which returns a Location, which has href and set_href methods. They do the same thing the native APIs do, as that is their purpose.