https://github.com/maxhoffmann/is-opera-mini
:o: client-side detection of Opera Mini versions with limited JavaScript support
https://github.com/maxhoffmann/is-opera-mini
Last synced: 6 months ago
JSON representation
:o: client-side detection of Opera Mini versions with limited JavaScript support
- Host: GitHub
- URL: https://github.com/maxhoffmann/is-opera-mini
- Owner: maxhoffmann
- License: mit
- Created: 2015-05-11T14:32:31.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2017-05-26T10:34:46.000Z (almost 9 years ago)
- Last Synced: 2025-09-19T03:25:44.843Z (6 months ago)
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# is-opera-mini
Detect Opera Mini versions with limited JavaScript support using the official method [documented on Opera’s blog](https://dev.opera.com/articles/view/opera-mini-and-javascript/#detectingmini).
### Installation
```bash
npm install is-opera-mini
```
## Usage
```js
var isOperaMini = require('is-opera-mini');
isOperaMini // true for Opera Mini with limited JS support
```
It returns `true` for Opera Mini versions that are rendered on Operas Server having limited JavaScript support and return `false` for all other browsers and node as well as Opera Mini versions that have full JS support, e.g. Opera Mini set to “turbo” on iOS.