محلل User Agent
تحليل سلاسل user agent
كيفية استخدام محلل User Agent
- 1الصق سلسلة User-Agent في حقل الإدخال
- 2يُحلَّل فورًا تلقائيًا
- 3راجع المعلومات المستخرجة
حول محلل User Agent
محلّل User-Agent هو أداة تحلل سلاسل User-Agent وتستخرج معلومات تفصيلية عن المتصفح ونظام التشغيل والجهاز. يدعم آلاف المتصفحات وأنظمة التشغيل والأجهزة المختلفة.
المميزات الرئيسية لـ محلل User Agent
- تحليل فوري بدون خادم
- اكتشاف نوع الجهاز (هاتف/حاسوب/تابلت)
- معلومات المتصفح والإصدار
- اكتشاف نظام التشغيل
- دعم آلاف بصمات المتصفح
- Supports any user agent string from logs or analytics tools
- Works entirely in-browser — no server requests
- One-click copy for the full parsed summary
أمثلة
User-Agent لـ Chrome
تحليل سلسلة Chrome النموذجية
المدخلات
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36
النتيجة
المتصفح: Chrome 124 نظام التشغيل: Windows 10 الجهاز: حاسوب مكتبي
Identify a headless Chrome bot user agent
Detect automated headless browser activity by parsing its user agent string.
المدخلات
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/120.0.0.0 Safari/537.36
النتيجة
Browser: Headless Chrome 120 | OS: Linux x86_64 | Device: Desktop (Headless)
حالات الاستخدام الشائعة
- تصحيح مشاكل توافق المتصفح
- تحليل سجلات الخادم
- فحص كيف يرى موقعك مختلف الأجهزة
- اختبار كشف الجهاز
- تحليل حركة المرور
- Understanding the user agent format when implementing user agent parsing in server-side code
استكشاف الأخطاء
معلومات غير دقيقة
الحل
سلاسل User-Agent يمكن تزويرها — لا تعتمد عليها للأمان، فقط للعرض
متصفح غير معروف
الحل
المتصفحات الجديدة والمخصصة قد لا تُعرَّف — النتائج تعتمد على قاعدة البيانات
Chrome user agent shows as Safari
الحل
Chrome's user agent string contains "Safari" for historical compatibility reasons. The distinguishing token is "Chrome/". The parser correctly identifies Chrome by looking for the Chrome token first.
الأسئلة الشائعة
هل يمكنني تزوير User-Agent؟
نعم، معظم المتصفحات تتيح تغيير User-Agent — لهذا لا ينبغي الاعتماد عليه للأمان.
ما الفرق بين User-Agent وClient Hints؟
Client Hints معيار أحدث أكثر دقة وخصوصية من User-Agent التقليدي — يدعمه Chrome وEdge.
Can I detect Chrome vs Chromium vs Edge from the user agent?
Yes. Chrome, Chromium, Edge, and Opera all use the Blink engine but include distinctive tokens (Chrome, Edg, OPR) in their user agent strings. The parser checks for these tokens to correctly identify each browser.
Is user agent detection reliable for production use?
User agent parsing is useful for analytics and logging but should not be used as the sole mechanism for feature detection in production code. Use feature detection (checking for specific browser APIs) instead of user agent sniffing for compatibility-critical logic.
What is user agent reduction?
Modern Chrome reduces its user agent string to limit fingerprinting. Specific OS versions, device models, and minor browser versions are replaced with generic values. This means some fields may be less specific than the device's actual capabilities.
Can I test a user agent from a bot or crawler?
Yes. Paste any user agent string — including those from Googlebot, Bingbot, cURL, Postman, Puppeteer, or Playwright — and the tool will parse and display its components.
Is my data sent to a server?
No. All parsing is performed locally in your browser using JavaScript string analysis. Your user agent string is never transmitted to any server.
What is the difference between the browser engine and the browser?
The rendering engine processes HTML/CSS and executes JavaScript. Chrome, Edge, and Opera all use the Blink engine. Firefox uses Gecko. Safari uses WebKit. A browser is the full application; the engine is the core rendering component it uses.