Particle icon indicating copy to clipboard operation
Particle copied to clipboard

Huge Click Radius

Open SingularityRS opened this issue 10 years ago • 10 comments

I've noticed this after constantly opening random videos when I know I haven't hovered my cursor over the video's title.

Here: http://i.imgur.com/mIdMc0Y.png

As you can see, the click radius is huge (cursor turned to a hand to indicate it's click-able) on this page for some reason. This results in me misclicking on videos.

This appears to be a chrome-specific issue. It only appears on this specific page (when searching for videos).

Firefox does not have this problem. The hand cursor only appears when you hover over the title of a video as it should.

Edit: Looks like uninstalling it and reinstalling it fixed it.

SingularityRS avatar Aug 22 '16 01:08 SingularityRS

Glad to hear you worked it out, if it happens again and you find a way to replicate with YT+ enabled please let me know.

ParticleCore avatar Aug 22 '16 02:08 ParticleCore

For me this happens all the time (on firefox), and whenever I right click or even do a middle click to scroll (or to open in a new tab) it just opens the video in the same tab. It's so annoying...

But this has been happening for a long time now. It's probably because youtube made the links tied with the div, (btw, I don't have this new material layout they keep talking about, I've seen it and I don't like it.)

pep0w avatar Aug 22 '16 12:08 pep0w

@q1k Make sure this is not something caused by YT+ by disabling it, it could be a YouTube change for touchscreen interface they have been/were testing (larger click areas = easier to use with fingers).

I can't replicate this on Firefox and Chrome, but I remember having it happening to me a few times.

ParticleCore avatar Aug 22 '16 13:08 ParticleCore

Well, I just disabled YT+ in Firefox and Chrome, searched for videos and all of them are fully clickable so this is a YouTube change. Not only in search results but in any page where videos are listed in list layout (subscriptions, for example). So this is not caused by YT+, in fact I think I included a change to reduce the click area for this exact reason.

ParticleCore avatar Aug 22 '16 13:08 ParticleCore

Yes, I just confirmed that I included this change so that the blacklist and/or pop-out buttons could work properly without opening the video when the buttons are clicked. This is the trigger YouTube uses for the large clickable area, which the script removes automatically: https://github.com/ParticleCore/Particle/blob/master/src/Userscript/YouTubePlus.user.js#L1077

Which means that the large clickable area is perfectly normal and it is a YouTube decision, but it should only be present when blacklist and pop-out modes are disabled, since the line I linked is connected to those two features.

ParticleCore avatar Aug 22 '16 13:08 ParticleCore

Well I don't need the blacklist and I don't use pop-out, so can you disable this large clickable area anyway, maybe through an option?

pep0w avatar Aug 22 '16 14:08 pep0w

You can have either of them enabled without having to use it and you will get the behavior you want. I am not interested in making this a dedicated feature. I am sorry but this was a way to make those features work, not the other way around, it might even stop doing that soon with the upcoming major YouTube layout change.

ParticleCore avatar Aug 22 '16 14:08 ParticleCore

OK, I guess I'll be blacklisting accidentally. Thank you :disappointed:

pep0w avatar Aug 22 '16 14:08 pep0w

It does not have to be blacklist, I clearly said "either of them". If you are worried you might blacklist channels by mistake then enable pop-out mode instead and your only worry will be opening videos on a dedicated window by mistake.

ParticleCore avatar Aug 22 '16 16:08 ParticleCore

I hid them with stylish :grinning:

the css for anyone else that might need it:

.yt-lockup-dismissable .yt-uix-menu-container.yt-lockup-action-menu, /* remove YT hide button on the right side */
.blacklist.ytplus_sprite, /* YT+ blacklist */
.popoutmode.ytplus_sprite /* popout */ {
  display: none !important;
}

pep0w avatar Aug 22 '16 16:08 pep0w