0.1.1 • Published 6 years ago

simple-browser-check v0.1.1

Weekly downloads
14
License
MIT
Repository
github
Last release
6 years ago

Simple Browser Check

Simple browser-checking tool to notify users if they need to update their browsers.

Browser Check

Usage

In order to use this notification:

  1. Add a script tag to the <head> section of the document linking to browser-check.min.js;
  2. Add a link tag to the <head> section of the document linking to browser-check.min.css; and
  3. Add a div at the very top of the <body> section of the document with the following id: browser-check-div.

It should look similar to the following:

  <head>
    ...

    <script src="https://unpkg.com/simple-browser-check@0.1.0/browser-check.min.js" defer></script>
    <link rel="stylesheet" href="https://unpkg.com/simple-browser-check@0.1.0/browser-check.min.css">
  </head>

  <body>
    <div id="browser-check-div"></div>

    ...
  </body>

Supports

  • 2 latest versions of Chrome;
  • 2 latest versions of Firefox;
  • 2 latest versions of Safari;
  • 2 latest versions of Edge;
  • 2 latest versions of Opera; and
  • Internet Explorer 11.

Unsupported Browsers

A message will be displayed with the following content:

The browser you are using is not officially supported by this website. It might work as usual but we cannot guarantee it. Click on the button below to see a list of supported browsers or skip this notice.

This notice is currently displayed for:

  • Vivaldi;
  • Yandex; and
  • Other browsers.

Contributing and Reporting Bugs

Feel free to make a Pull Request with the changes you would like to add in order to contribute to this project.

If you would like to report a bug, you can file an issue on this repository. Make sure you include the required fields on the issue (provided on the template).