Questions tagged as 'user-agent'

1
answer

What is User Agent StyleSheets?

Studying on CSS I came across the term User Agent , or standard style sheets used by browsers in the absence of style sheets. What is the User Agent ? Each browser has a User Agent ? Is there any way to ignore them, if so how? def...
asked by 17.11.2016 / 11:39
2
answers

Why does the User-Agent header always return "Mozilla /5.0" regardless of browser?

I know that in PHP we can access a header called User-Agent and thus discover information about the operating system and browser, used by the client. The only thing I do not understand is that "Mozilla /5.0" always appears (even...
asked by 09.09.2015 / 13:57
1
answer

CSS attribute with online text condition

Good morning, these lines make appear in my which user-agent is being used by the client, this helped me with problems in the Trident engine that does not interpret the gradient in the text and works very well. var useragent = document.documen...
asked by 31.08.2016 / 14:26
1
answer

Regex problem for UserAgent Android

I'm trying to create a regex (for use in PHP) that can match the groups correctly and extract the information I need. In this case it is to get information from android useragent. When the userAgent is like this:    p> Of course,...
asked by 05.09.2017 / 14:21
1
answer

How to see on the desktop the mobile version of this site that is not responsive?

I need access to the mobile version of the articles from a certain website on the desktop, for the development of an extension. A sample page . The site is not responsive, it does not use a specific mobile subdomain, but changing the us...
asked by 30.12.2015 / 02:12
1
answer

navigator.userAgent accuses Mozilla in IE

What do I do to identify if the browser is IE or Moz .. etc ...?     
asked by 31.01.2016 / 20:30
1
answer

Change user agent

I need to change the user agent on mobile. I tried with pure php but it did not work, I'm using Mobile Detect, until I can detect when it's mobile, but I can not change the user agent. The example I followed was this if(!$detect->isMobil...
asked by 18.01.2018 / 15:32
0
answers

How to detect the browser on the Chromebook using PHP?

$_SERVER['HTTP_USER_AGENT']; is coming empty, when the person accesses the site using ChromeBook through the operating system: Chrome OS.     
asked by 08.02.2018 / 17:24