user-agent Questions
4
I'm trying to write an extension that will modify the User-Agent on all outgoing requests from Chrome.
For http://, https://, ftp://, file://, or chrome-extension:// I can use the chrome.webReques...
Neural asked 8/5, 2015 at 12:28
2
Solved
Recently I have started to use Scrapy on a regular basis to analyze sites which demand the latest browser (user agent) for their content to show up.
Now, this may seem like an old time problem, yet...
Daubery asked 21/6, 2021 at 10:22
3
Solved
I am creating a regular HTTP connection using this code:
URLConnection cn = new URL( "http://...." ).openConnection();
cn.connect();
How do I find out the default user agent for my HTTP connecti...
Ecumenical asked 5/1, 2013 at 4:31
4
I've been searching for npm packages but they all seem unmaintained and rely on the outdated user-agent databases. Is there a reliable and up-to-date package out there that helps me detect crawlers...
Deficiency asked 7/1, 2016 at 4:57
4
Solved
I have a website on which I dynamically create Javascript code using ASP.NET handler in which I should add the referrer to a database.
I want to get referrer of referrer like so:
website1
websit...
Stanfill asked 28/7, 2011 at 9:21
1
I was not successful in getting a web application rendered with its mobile friendly interface by using the User-Agent Switcher & Manager extension. After further digging, I noted that although ...
Undergrown asked 20/1, 2022 at 8:19
3
Solved
Is it possible to hide dock icon programmatically on demand. I know one way by which defining property "Application is agent (UIElement)" in plist we make the cocoa app as user agent. But this resu...
Peremptory asked 14/5, 2010 at 9:10
38
Solved
I want to bounce users of our web site to an error page if they're using a version of Internet Explorer prior to v9. It's just not worth our time and money to support IE pre-v9. Users of all other ...
Buschi asked 9/6, 2012 at 22:13
8
Solved
Is there a way to detect if a visitor to my site is running Chromium as opposed to Google Chrome? Even basic UA sniffing (which I know is bad practice) would suffice for my particular case, but it ...
Obidiah asked 24/6, 2013 at 15:5
14
This page indicates that it uses a custom user agent but it does not mention the name. I would like to be able to run some logic if the user agent is from PageSpeed. What is the name of the Google ...
Preestablish asked 6/5, 2013 at 16:46
4
Is there a way to detect Apple Silicon Mac in JavaScript?
Properties in navigator don't seem to be very helpful, for example, navigator.platform is set to MacIntel and the user agent is exactly the...
Calctufa asked 4/12, 2020 at 15:58
5
Solved
I start to using the package "ua-parser" but the creator is too busy to mantain or commit... the npm ua-parser is outdate, and need to download directly from github. Someone know about other good p...
Gaussmeter asked 9/3, 2014 at 18:3
11
I'm making a website and I want it to be compatible with the forthcoming Microsoft Edge when it comes out officially. To be more specific, the mobile version of it. Does anyone know what string wil...
Brufsky asked 2/6, 2015 at 9:3
3
I am developing a Chrome extension, and I need to detect which operating system Chrome is running on but i can't seem to find any info on how to do it. Please Help.
Thank You.
Friedland asked 16/6, 2011 at 18:47
12
Solved
If you were going to store a user agent in a database, how large would you accomdate for?
I found this technet article which recommends keeping UA under 200. It doesn't look like this is defined i...
Austria asked 17/3, 2009 at 16:10
6
Solved
In the Chrome devtools, Firefox devtools, Safari, Opera, etc., if I inspect an element I can see its bounding box nicely outlined when I mouse over the code for that element in the source panel. Th...
Saint asked 28/12, 2016 at 4:30
2
Every time I send a API request to my server I want send information like device type and OS version (from my mobile app). My first thought is to use User Agent but I wonder if there's any benefits...
Timber asked 27/8, 2013 at 21:24
7
Solved
I'm using the following code to detect whether the browser being used on my mobile site matches a certain crieteria:
var isiPhone = navigator.userAgent.match(/iPhone/i) != null;
if (isiPhone){ ale...
Variable asked 30/8, 2011 at 15:56
3
Solved
Sorry, I would just test this myself, but I'm currently without my mac. Does a web request made inside of a UIWebView send the same user-agent info that a web request made from mobile Safari would?...
Shotwell asked 27/1, 2010 at 0:32
13
Solved
I don't know if I just have some kind of blind spot or what, but I've read the OAuth 2 spec many times over and perused the mailing list archives, and I have yet to find a good explanation of why t...
Suomi asked 22/9, 2011 at 23:52
5
The user agent of Safari on iPadOS beta is at this point exactly the same as Safari on macOS. Is there any other way to tell an iPad from a Mac?
iPad running iOS
Mozilla/5.0 (iPad; CPU OS 10_3_3 l...
Schroer asked 13/6, 2019 at 10:47
4
Solved
Hi I am planning to use Cloudflare cdn-cgi trace service to get clients IP and User Agent results. If I fetch this link: https://www.cloudflare.com/cdn-cgi/trace, the result I am getting is in a te...
Kruter asked 2/7, 2020 at 17:10
3
Solved
I am trying to play an audio using Google Text-To-Speech. Therefore I need to post a request to their endpoint with the Referer and the User-Agent properly set. This call should return an MP3 that ...
Dredger asked 15/10, 2015 at 8:41
2
Solved
I tried to use fake_useragent module with this block
from fake_useragent import UserAgent
ua = UserAgent()
print(ua.random)
But when the execution reached this line ua = UserAgent(), it throws th...
Nitro asked 13/8, 2021 at 12:18
5
Solved
Is it possible in robots.txt to give one instruction to multiple bots without repeatedly having to mention it?
Example:
User-agent: googlebot yahoobot microsoftbot
Disallow: /boringstuff/
Leopoldine asked 29/11, 2013 at 23:2
1 Next >
© 2022 - 2024 — McMap. All rights reserved.