Can META tags be conditional

I have a customer who is working with a mix of hardware. For the Zebra wireless scanner I have a number of META tags at the top of the .jsp page and they work fine. However on a different non - Symbol scanner with a different browser one META tag actually causes an error to pop-up each time the browser loads the page.

I don't really want to have a duplicate set of web pages for each device type so I was wondering if there is some javascript which can either made the META tag conditional or maybe import a external file containing device specific meta tags based on some other condition.

I could use my servlet to set a session variable for the condition but I'm no sufficiently web savvy to know how do code it.

My META tags are in the HTML Header


<META http-equiv="Content-Type" content="text/html; charset=utf-8" />

<META HTTP-Equiv="scanner" Content="DecodeEvent:url('javascript:doScan('%s', '%s', %s, '%s', %s);')">


The Enterprise Browser version is 1.8