Questions tagged [user-agent]
A user agent is a piece of software (a software agent) that acts on behalf of a user. The term is often used to refer to browsers, and other software that sends network requests. In the HTTP protocol, a user agent identifies itself to the server using a user-agent string. The user-agent string is a string in the header of an HTTP request that identifies the browser, version, device, os, and other information about the device from which the request came.
user-agent
2,399
questions
0
votes
1
answer
41
views
In Chrome DevTools where is [Attribute Style] defined?
I'm working on a web app that has a lot of tables. In the prior version of the product, there was a little extra padding on the table rows. This wasn't defined specifically in a style sheet, but was ...
-3
votes
0
answers
31
views
why is requests-html fetching me a pc html when i specify the header to emulate an android
im writing a scraping tool using requests-html and the data being shown is from a pc html
how can i specify it to only give me mobile html as it has a higher resolution images than pc
i tied to ...
0
votes
1
answer
119
views
CEFSharp Changing User Agent through a custom handler
UNABLE TO DELETE. Wrong approach to the problem. Use the example the code maintainer gives
Still really new to working with the cefsharp project.
I am trying to tie the User Agent to an instance ...
0
votes
0
answers
83
views
How to Verify if User is Accessing Website via Telegram Mobile App in PHP?
I everyone, hope You're fine, I'm working on a PHP-based website and I need to ensure that users are accessing the site through the Telegram mobile app (both iOS and Android). If the user is not using ...
0
votes
0
answers
242
views
Verify that user agent facebookexternalhit is really Facebook
I'm seeing a lot of hits on my website with the following user agent:
facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)
I'm trying to verify whether it really is from Facebook ...
0
votes
0
answers
32
views
How do I avoid NullReferenceException when user-agent is absent from ASP.NET MVC (Umbraco) app?
TryBooking is calling my URL, but no longer passing through a user-agent. Postman shows the same error when calling the URL with no user-agent:
[NullReferenceException: Object reference not set to an ...
0
votes
0
answers
113
views
I can't get the user agent for the device to send a http request in my flutter app
I want to get and send the device user agent in my request.
I looked for some answers and I got that there is a package that gives the device user agent it is called device_info_plus but the issue ...
0
votes
0
answers
32
views
How can I append some string to InAppWebView?
We have the option to add User-Agent to InAppWebView, but it overrides the User-Agent value.
How can I append some string to the current User-Agent?
final userAgentSuffix = '...';
final userAgent = '$...
0
votes
0
answers
27
views
Why does this htaccess rule blocking certain user agents crash my server?
I'm trying to block spambots using an htaccess rule based on their user agents.
Here's the rule I added:
# Block via User Agent
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{...
0
votes
0
answers
55
views
pyinstaller ModuleNotFoundError: 'fake_useragent.data'
above all, thanks for coming.
I'm doing web-scrapping and making it into .exe file
codes works well but not in .exe file
what I want : working exe file, avoid bot detection
what I'm doing :
I'm making ...
0
votes
1
answer
41
views
What browser is "vp-iphone" & "vp-ipad"?
We have a public API gateway to generate images.
Today I looked into the access logs and found a lot of API requests with User-Agents like:
vp-iphone 6.121.0 sysVer 17.4.1-iOS
vp-ipad 6.120.0 sysVer ...
0
votes
0
answers
90
views
htaccess SetEnvIfNoCase User-Agent
I have the following lines in my htaccess file -
SetEnvIfNoCase User-Agent "go-http-client" getout # hackers
SetEnvIfNoCase User-Agent "python" getout # hackers
SetEnvIf ...
0
votes
1
answer
124
views
iOS targeting javascript does not work on Ipad, only iphone
I am trying to create code to target ios and replace a background-attachment:fixed banner with a banner that just has the image and not background-attachment property.
The code that I have works on ...
-3
votes
1
answer
67
views
What userAgent do I need for the method to return true?
enter image description here
I wanted to make a parsing program for one popular site, but it has protection. I also heard that the site has group ib and ja3.
enter image description hereI've been ...
0
votes
0
answers
54
views
firefox browser in mobile view is giving 504 gateway timeout response
I am trying to debug an issue where in web Firefox browser responsive mobile view when i am logged in https://www.codingninjas.com/studio/home by either method google login or email login, the page ...