Method 1: Treat the link as a string, decompose it according to the link format, and then obtain the corresponding parameter value.
Method 2: Direct matching using regular expressions.
Keyword: parameter Parameters: location.href, url, link, javascript
Method 1:
Decompose link method: