Forum Thread

Middle clicking on some links on slickdeals.net now fails in Firefox 41.0

JohnTHaller 82 45 September 22, 2015 at 10:52 PM
It appears that slickdeals has some Javascript employed to track middle clicks on links on some pages. Firefox 41.0's popup blocker picks these up and blocks the middle clicks from functioning and shows an alert that a popup was blocked. Firefox is configured to open a link in a new window on middle click, which is fairly common.

On this example page: http://slickdeals.net/f/8111852-kingston-hyperx-fury-blue-8gb-2x4gb-ddr3-1600-desktop-memory-ram-24-g-skill-8gb-2-x-4gb-1333-laptop-memory-26-50-jet-com?&src=SiteSearchTest1a

Middle clicking on "KINGSTON HX316C10FK2/8 Kingston HyperX FURY Blue DDR3-1600 8GB(2x4GB)" produces the above-mentioned message.

This does not happen on other sites that have standard links without Javascript even when employing target=_blank to cause a new window/tab to open. This only appears to affect links on slickdeals that are using Javascript to employ click tracking like those in the story linked above.

19 Comments

1 2

Sign up for a Slickdeals account to remove this ad.

#2
I have the same problem
Reply Helpful Comment? 0 0
Joined Mar 2009
Schrödinger's Frog
17,336 Posts
2,025 Reputation
#3
I also noticed this.
Reply Helpful Comment? 0 0
Joined Oct 2004
1 Billion Dollars
348 Posts
1,156 Reputation
#4
I was just about to post this.... what is going on? Just started happening to me yesterday.....

And if I click allow popups for slickdeals, then when I click the middle button to open a new tab, it switches to that tab instead of opening it in the background, REALLY annoying......
Reply Helpful Comment? 0 0
#5
Same issue here, first noticed it today (on FF 40.0.3 and on FF 41). Ctrl+clicking still works, but focuses the new tab instead of opening it in the background.

Looks very similar to an issue that Discourse had:
https://meta.discourse.org/t/fire...er/7297/72
https://github.com/discourse/disc...2118/files
http://bbs.boingboing.net/t/disco...-tabs/7747
Reply Helpful Comment? 0 0
#6
Quote from JohnTHaller View Post :
It appears that slickdeals has some Javascript employed to track middle clicks on links on some pages. Firefox 41.0's popup blocker picks these up and blocks the middle clicks from functioning and shows an alert that a popup was blocked.
I had noticed the popup message started showing up and tabs not opening but hadn't looked in to the reason yet.

Yet another thing to block.

Thanks for the information.
Reply Helpful Comment? 0 0
Last edited by k84 September 23, 2015 at 10:03 AM
Joined Oct 2004
1 Billion Dollars
348 Posts
1,156 Reputation
#7
Quote from CAR912 View Post :
Same issue here, first noticed it today (on FF 40.0.3 and on FF 41). Ctrl+clicking still works, but focuses the new tab instead of opening it in the background.

Looks very similar to an issue that Discourse had:
https://meta.discourse.org/t/fire...er/7297/72
https://github.com/discourse/disc...2118/files
http://bbs.boingboing.net/t/disco...-tabs/7747
Wish I could open those links, but my popup blocker is blocking them............................................ please fix this SLICKDEALS
Reply Helpful Comment? 0 0
Joined Jan 2014
Administrator
107 Posts
41 Reputation
Admin
#8
We are working on a fix for this as we speak.
Reply Helpful Comment? 0 0

Sign up for a Slickdeals account to remove this ad.

Joined Mar 2009
Schrödinger's Frog
17,336 Posts
2,025 Reputation
#9
I had no idea this bug would annoy me so much! Turns out I always middle-click SD links.
Reply Helpful Comment? 0 0
#10
Quote from Frogstar View Post :
I had no idea this bug would annoy me so much! Turns out I always middle-click SD links.
This is driving me insane.

Quote from mlively View Post :
We are working on a fix for this as we speak.
Do you have any estimate on when a fix will go live?

In the meantime, adding this in a user script solves it...

Code:
document.addEventListener("click", function(e){ e.button===1 && e.stopPropagation() }, true);
Reply Helpful Comment? 0 0
Last edited by k84 September 24, 2015 at 01:13 PM
Joined Oct 2004
1 Billion Dollars
348 Posts
1,156 Reputation
#11
Quote from Frogstar View Post :
I had no idea this bug would annoy me so much! Turns out I always middle-click SD links.
Yea, really annoying.
Reply Helpful Comment? 0 0
Joined Jan 2014
Administrator
107 Posts
41 Reputation
Admin
#12
Quote from k84 View Post :
This is driving me insane.


Do you have any estimate on when a fix will go live?

In the meantime, adding this in a user script solves it...
Code:document.addEventListener("click", function(e){ e.button===1 && e.stopPropagation() }, true);
Quote from Frogstar View Post :
I had no idea this bug would annoy me so much! Turns out I always middle-click SD links.
Quote from NorthFace View Post :
Yea, really annoying.
Give it a try now, It should be fixed. Firefox is more finicky with what you can do in response to a middle click as opposed to a left click.
Reply Helpful Comment? 0 0
#13
Quote from mlively View Post :
Give it a try now, It should be fixed.
All good, even with the user script removed. Thanks.
Reply Helpful Comment? 0 0
Joined Oct 2004
1 Billion Dollars
348 Posts
1,156 Reputation
#14
Quote from mlively View Post :
Give it a try now, It should be fixed. Firefox is more finicky with what you can do in response to a middle click as opposed to a left click.
All good, thank you!
Reply Helpful Comment? 0 0
#15
Quote from mlively View Post :
Give it a try now, It should be fixed. Firefox is more finicky with what you can do in response to a middle click as opposed to a left click.
command+click does not open tab in background, it opens it in the foreground
Reply Helpful Comment? 0 0
Page 1 of 2
1 2
Join the Conversation
Add a Comment
 
Copyright 1999 - 2016. Slickdeals, LLC. All Rights Reserved. Copyright / Infringement Policy  •  Privacy Policy  •  Terms of Service  •  Acceptable Use Policy (Rules)  •  Interest-Based Ads
Link Copied to Clipboard