If you’re able to help with this problem, I’d appreciate it as I’m out of my depth.
I have a bunch of meta tags in a HTML header that need to map their content to variables in the URL. For example, if we have this URL:
http:example.com?bofn=Dave&boln=Nate&boem=Pat&botn=Taylor&bstn=Chris&lstn=Rami
We would want the meta tags in the header to read as this:
<meta name="bofn" content="Dave">
<meta name="boln" content="Nate">
<meta name="boem" content="Pat">
<meta name="botn" content="Taylor">
<meta name="bstn" content="Chris">
<meta name="lstn" content="Rami">
From what I’ve found online this would probably use javascript to function (URLSearchParams and/or location.search?) but I’ve no clue how to make it happen.