iTEYE

Parse useragentstring.com by JavaScript

12 ноября 2015

On one forum I see question about www.useragentstring.com/pages/All/ with PHP. I see it simple with XML manipulation and/or regular expression. And I write to collect all UserAgents with Versions and Browser names.

With this script I can collect all UA to structure like same:

UserAgentString.com parse

You can open www.useragentstring.com/pages/All/ then open DeveloperConsole and copy this code to it. And then just type getParse()

This script collect all useragents and place it as text on web page and output it in console like Object.

technology, ,

Leave a Reply

Скидки до 5% на заказ хостинга!

Сайт работает на быстром VPS/VDS хостинге от FASTVPS