von cello, vor 3 Jahren
Bewertet mit 4 von 5 Sternen
It works except it puzzles me why its size is so much bigger at 4+ MB compared to other agent addons that are only a few KB in size. I hope it is not consuming more system resources as a result. Will be great if author can slim it down some more.
Antwort des Entwicklersgeschrieben am vor 3 Jahren
Thank you for your review! As mentioned before the 3MiB+ extra data shipped with the extension is used to generate sensible values for the other `navigator.*` browser identification values. Reading information like operating system, CPU type, device type, … from the User-Agent string is quite a hard thing to do as there are no standards at all – one just has to guess based on the COMMENT parts of the User-Agent string. Fortunately the BrowsCap project has maintained a list of matching patterns for figuring out this information since 1997 that is extremely reliable. As such, I will continue using it even if it means bloating the extension size by about 3MiB. The fact that it allows everything to just work out-of-the-box with just a single input value (the User-Agent string itself) in my opinion definitely outweighs that, by comparison small, price.