1. Design source code
(1) During initialization
(2) Get the current URL
(3) Obtain the directory after the host address
(4) Returns the position where a specified string value first appears in the string
(5) Get the host address
(6) Get the project name with "/"
(7) Get project path