Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

useragent.js

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

useragent.js - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

package.json
{
"name": "useragent.js",
"version": "0.1.0",
"version": "0.1.1",
"description": "A simple project that allows you to display details about a computer's operating system or web browser with a user-agent.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -36,6 +36,6 @@ useragent.js

var ua = USERAGENT.analyze(navigator.userAgent);
document.getElementById("#useragent").innerHTML = ua.ua;
document.getElementById("#browser").innerHTML = ua.browser.full + " (" + ua.browser.name + " VERSION = " + ua.browser.version + " )";
document.getElementById("#os").innerHTML = ua.os.full + " (" + ua.os.name + " VERSION = " + ua.os.version + " )";
document.getElementById("#device").innerHTML = ua.device.full;
document.getElementById("useragent").innerHTML = ua.ua;
document.getElementById("browser").innerHTML = ua.browser.full + " (" + ua.browser.name + " VERSION = " + ua.browser.version + " )";
document.getElementById("os").innerHTML = ua.os.full + " (" + ua.os.name + " VERSION = " + ua.os.version + " )";
document.getElementById("device").innerHTML = ua.device.full;
})();

@@ -42,0 +42,0 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc