50 comments

[ 2.9 ms ] story [ 115 ms ] thread
Doesn't work in Chrome...
Neither in Safari 7.0.4
Same experience. I middle clicked on the tab and...it...closed. Without an issue.
I get the modal when the window opens but not when the tab closes.
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, ...)
Works for me. It triggers when the mouse leaves the viewport near the top
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.

Also, I hate modal popups.

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?
CTRL+W closes the tab without the modal appearing
I suspect most of us here use Ctrl+W to close tabs :)
Annoying
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).

Doesn't work for me.

Firefox with - Pentadactyl - Tree Style Tabs

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.
Thank goodness it doesn't actually prevent you from closing the tab.
The worst. This reminds me of when people used to do the alert box spamming.
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.
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 see this in the wild occasionally already (it's not novel). There are a number of feedback/survey providers that do this.
Closing the tab closes the tab for me. Do I win now?
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.

Ditto the "ctrl-w worked for me in FF with a variety of extensions" comment.

Thank goodness.

Definitely doesn't work in Chrome. I just closed the tab as expected.
Tab closed quite easily in Chrome. Suggest the author try a slightly modified challenge.
Doesn't work in MobileSafari, iOS 7.
Given that it relies on detecting mouse behaviour, that shouldn't come as a shock.
I exclusively use cmd + W to close tabs so at first I didn't even realize what the demo is doing. I guess most people use mouse to close tabs.
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...
I tried this 3 times and didn't realize why it wasn't working until I realized it's not influenced by the keyboard shortcut...
Why does something like this make it to the front page of HackerNews? I'm surprised that it would get enough upvotes.
Doesn't work with Ctrl+W or with Tree Style Tab.
Does this classify as a dark pattern ?

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.

Also to note, I exited the window via the side edge, then closed from the tab bar and it didn't respond.
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.
Okay. That was easy.
I closed this tab on my iPad and nothing happens.
Middle mouse clicking to open the link in a new tab and then clicking on the tab to change to it fires the event. Not that useful in my opinion.