Open hsjpekka opened 4 years ago
search for -q, --query, or --address in the command line arguments, the next string is either an url or a street address
in case of -q or --query, use url parser for extracting address="string" from the url
paste the address to placeHeader.text and start searching
url parser modified from getAllUrlParams on www.sitepoint.com/get-url-parameters-with-javascript/
read address from command line arguments
search for -q, --query, or --address in the command line arguments, the next string is either an url or a street address
in case of -q or --query, use url parser for extracting address="string" from the url
paste the address to placeHeader.text and start searching
url parser modified from getAllUrlParams on www.sitepoint.com/get-url-parameters-with-javascript/