hash// URL (anchor) starting with the pound sign (#)
host//host name and port number of the current URL
hostname//hostname of the current URL
href//Full URL
pathname//The path part of the current URL
port//The port number of the current URL
protocol//Protocol for the current URL
search// URL starting with question mark (?)
To locate anchor points using JS, you can do it with window.hash with element ID.
To capture the parameters requested by the page GET method using JS, you can use window.location.search to obtain them, and then organize the data format freely through the split method combined with loop traversal.