We get a parser for js, this, for example, defined by UA, and I write a condition that if UA, for example, Chromium, to hide the block so-and-so.
There are parsers and easier. Everything is searched for the query 'js user agent'.
melany69 answered on March 23rd 20 at 19:36
var ua = window.navigator.userAgent,
element = document.querySelector('.myElement');
if(ua==="userAgent") element.style.display = "none";