All Projects → mamal72 → gooz

mamal72 / gooz

Licence: MIT license
💨 Send the old sh*tty browsers away from your website as simple as a Gooz

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to gooz

Chuck Api
👊 chucknorris.io is a free resource for hand curated Chuck Norris facts.
Stars: ✭ 144 (+278.95%)
Mutual labels:  fun
Hacksby
Description and unofficial implementation of Furby's audio protocol
Stars: ✭ 165 (+334.21%)
Mutual labels:  fun
Python Raytracer
A basic Ray Tracer that exploits numpy arrays and functions to work fast.
Stars: ✭ 204 (+436.84%)
Mutual labels:  fun
Zom Android Xmpp
THIS PROJECT IS NOW CLOSED. WE HAVE MOVED TO A NEW ZOM 2.0 MATRIX CORE. FOLLOW THE LINK!
Stars: ✭ 148 (+289.47%)
Mutual labels:  fun
Goupaz.com
Community driven open source accelerator
Stars: ✭ 163 (+328.95%)
Mutual labels:  fun
Simuleios
Simulations for LeiosOS
Stars: ✭ 174 (+357.89%)
Mutual labels:  fun
Hortor Cheater
头脑王者作弊辅助工具
Stars: ✭ 135 (+255.26%)
Mutual labels:  fun
Oop
OOP in Elixir!
Stars: ✭ 233 (+513.16%)
Mutual labels:  fun
Hanabi
💥 Highlight any code, in a colorful way. (seriously 700 bytes)
Stars: ✭ 166 (+336.84%)
Mutual labels:  fun
Sudo Productivity
Boost your "productivity" to the max! A fun project made for slackers by slackers.
Stars: ✭ 190 (+400%)
Mutual labels:  fun
Kotlindiscretemathtoolkit
Set of extensions for Kotlin that provides Discrete math functionalities
Stars: ✭ 158 (+315.79%)
Mutual labels:  fun
Microjs.com
Fantastic Micro-Frameworks and Micro-Libraries for Fun and Profit!
Stars: ✭ 1,927 (+4971.05%)
Mutual labels:  fun
Red Discordbot
A multi-function Discord bot
Stars: ✭ 2,855 (+7413.16%)
Mutual labels:  fun
Zou
A simple and fast download accelerator, written in Rust
Stars: ✭ 145 (+281.58%)
Mutual labels:  fun
Memetastic
Meme Creator for Android - Simple & Ad-Free
Stars: ✭ 206 (+442.11%)
Mutual labels:  fun
2016 Ml Contest
Machine learning contest - October 2016 TLE
Stars: ✭ 135 (+255.26%)
Mutual labels:  fun
Tinykaboom
A brief computer graphics / rendering course
Stars: ✭ 2,077 (+5365.79%)
Mutual labels:  fun
Iponmap
commandline IP location finder
Stars: ✭ 250 (+557.89%)
Mutual labels:  fun
Floating.js
Float a number of things up on a page (hearts, flowers, emojis, words ...)
Stars: ✭ 209 (+450%)
Mutual labels:  fun
Libmoji
📚 Bitmoji's API made easy for everyone
Stars: ✭ 189 (+397.37%)
Mutual labels:  fun

Gooz

Send the old sh*tty browsers away from your website as simple as a Gooz

Installation

You can install it from NPM:

npm install --save gooz

Or grab build/bundle.js and load it in your page. The Gooz class is now loaded as Gooz in the global scope (window.Gooz).

<script src="bundle.js"></script>
<script>
// Gooz is ready here! xD
</script>

Usage

// 1
const gooz = new Gooz({redirect: true}); // if it's gooz, it will redirect to 'http://outdatedbrowser.com'

// 2
const gooz = new Gooz(); // or using var instead of const
gooz.isGooz(); // true or false

// 3
const options = {
  features: ['SVGElement', 'localStorage'], // passing window global object you want to check
  globalObject: window, // global object (window)
  redirect: true, // auto redirect on class instance creation
  timeout: 7000, // redirect timeout (ms)
  uri: 'http://outdatedbrowser.com' // redirect uri
}
const gooz = new Gooz(options); // auto redirect if gooz and nothing if not

// 4
const gooz = new Gooz();
gooz.goozate(); // redirect if it's gooz

// 5
const gooz = new Gooz();
gooz.redirect({
  timeout: 1500,
  uri: 'http://mozilla.org/firefox'
});

Ideas || Issues

Just fill an issue and describe it. I'll check it ASAP!

Contribution

You can fork the repository, improve or fix some part of it and then send the pull requests back if you want to see them here. I really appreciate that. ❤️

Pleas run grunt before sending PRs to run grunt tasks, lint your code and build it.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].