GithubHelp home page GithubHelp logo

gburtini / dont-bounce-please Goto Github PK

View Code? Open in Web Editor NEW
9.0 9.0 2.0 1.19 MB

Free, probably no longer modern Javascript bounce detection. Mobile (iOS, Android) and desktop support: show a message or perform an action prior to a user bouncing away from your site.

License: MIT License

JavaScript 77.45% HTML 22.55%
bounce exit-popup marketing popup

dont-bounce-please's Introduction

๐Ÿ“ซ Contact

Email me: [email protected].

If you would like to send me encrypted messages, you can find my GPG key on the MIT keyserver. The correct key has fingerprint 4D09 3BE8 C030 9D5D.

dont-bounce-please's People

Contributors

dependabot[bot] avatar gburtini avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

frontenda trever

dont-bounce-please's Issues

Document better. Parameters in depth, installation instructions.

Right now, documentation is constrained to a comment on the line of the example code. We'd do better to provide insight in to how to use individual parameters like sensitivity effectively and how showPerUser works (e.g., cookie based, undefined for no limit)

Not working with IE/Edge Browsers

Using the defaultOptions IE and Edge throw errors when attempting to initialize the DBP function.

As a workaround, I have put the initialization within a try/catch block.

It works fine in other browsers even mobile. My configuration is identical to the readme section for the DBP repo.

showperpage & showperuser counter

should be >= instead of >

The code should be

    if (variables.showPerPage && state.count >= variables.showPerPage) return;
    if (variables.showPerUser && readUserCount() >= variables.showPerUser) return;

R is not a function

Wow, so everything worked until I installed on clients site, then I keep getting R is not a function. What could be happening here?

Needs tests.

The package.json provides a test mechanism but there are no valid automated tests.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.