Ok just incase it's not working for anyone this is what it is doing. If you're on the page and move the mouse out of the window (window onMouseOut) it will trigger a traditional modal.
It took a while for it to work, and I believe it only works once, but when it did, it really worked. My pedantic nature forcer my cursor / attention back on the page and I read the entire modal right when I wanted to leave the page.
If you're evil and making evil pages this is perfect, bravo.
A very clever approach, but something I hope to never see in the wild. If I'm going to close a tab, a pop up like that will most likely just annoy me (and not get read).
I have ctr-W bound to one of the many buttons of my mouse, a razer naga. Having my most common key combinations bound to my mouse sped up my computer usage a bit.
When closing the tab manually, I clicked so fast I barely noticed the popup, let alone was able to read anything on it.
Are you left handed? I bind some right hand keys to mouse buttons, but my left hand stays on the keyboard so binding ctrl-w wouldn't speed up anything for me...
Doesn't work for me too.
Firefox, Tree Style Tabs too, and a lot of other extensions. I enabled scripts, allowed requests. I tried 4 times to let you make my closing the tab harder than the usual.
Pops up on first entry to the viewport after opening it in a tab then switching to the tab with the mouse. This is annoying behavior, perhaps you could ignore the first "top of the viewport" entry if the y-position is trending down?
Works for me in Chromium. It triggers when you move your cursor up to the top of the viewport.
If your cursor never enters the viewport it doesn't fire. If your cursor exits the viewport at the side or bottom and doesn't reenter it doesn't fire. If you close or switch tabs with a key combination it doesn't fire.
I don't think it's intended that the plugin prevents the tab from actually closing (that would be very annoying). It's just to present the user something (special offer, ad, ...)
side note, I am not french but had quite a few french colleagues. Doesn't "oui" mean Yes or acknowledgement ? Ouibounce sounds to me like "Yes bounce" which I will interpret as "It is ok to bounce". Why would you choose such a name for landing page service ?
It's a really bad idea if nothing else. It's assuming I'm attempting to close the tab every time my pointer leaves the document container, even if I'm just mousing up to click on an add-on.
I will personally blacklist any site that uses interactive features like this.
I'm not sure what this thing is supposed to be doing... I opened the article up in a new tab... I clicked the new tab, then I moused down to click on the button and a modal dialog popped up thanking me for stopping by.
I think things like this are pretty stupid, but this has a few bugs in it.
That'd be pure evil with this technique, as most people close those with the mouse. An alert would pop up as you go to close the tab, you'd click OK, and trigger the whole thing all over again as you go to close the tab.
Please, implement handling of the ESC key for closing the modal. Nothing worse than having to switch to the mouse because the close button even cannot be tab'd to.
I believe that's a feature. I think it just detects mouse exits towards the top of the screen. There's a good chance that sites that use this library won't have many users that close tabs like that.
one of the stupidest things ever, this is a direct violation of user experience etiquette,
not only does it function very badly, and does not trigger on keyboard shortcuts, it is a purely annoying and anti user function
Normally I would agree, but there's a novel mouse-tracking approach here that could be used for less annoying "user-bail" effects and behavior monitoring (a/b tests and what-not).
Some other interesting metrics to collect would be if the tab stays open, but the user never mouses over it (forgets about it), and if they close the tab using command-W (which you probably wouldn't be able to trap I'm assuming).
It took a while for it to work, and I believe it only works once, but when it did, it really worked. My pedantic nature forcer my cursor / attention back on the page and I read the entire modal right when I wanted to leave the page.
If you're evil and making evil pages this is perfect, bravo.