Back to News
Advertisement
Advertisement

⚡ Community Insights

Discussion Sentiment

38% Positive

Analyzed from 1248 words in the discussion.

Trending Topics

#cursor#something#mouse#pointer#text#don#right#hijacking#focus#https

Discussion (51 Comments)Read Original on HackerNews

venzaspaabout 3 hours ago
Not nearly as nasty as scroll hijacking so the page moves at a different speed than what I've instructed it to move at. Or pastejacking - when you're trying to copy a piece of text and the page makes you grab an entirely different string to what you'd highlighted and selected.
T_Potatoabout 2 hours ago
Oh when you open an app to do a task and you get 5 new pop ups asking you to let them show you the new tool. Like, no. I don't have the bandwith right now. i'ld love to look at them but you chose the worse time. And then you can never go back to see what the tutorial was on the new feature.
smallmancontrovabout 2 hours ago
Focus-stealing, too! Especially bad with Microsoft products. I can picture exactly what happened: a thousand complaints of "I lost a window in the heaping mess of open work on my desktop" each turned into a ticket to add Just One More focus steal until the first minute of a Microsoft-powered desktop's existence is various projects fighting in a brawl to repeatedly steal focus from one another.

It was a major win for the internet that it took this power away from the application layer.

datenyanabout 2 hours ago
I have often thought about trying to figure out whatever Win32 API is responsible for focus stealing and neuter it down to something akin to

  void steal_focus_when_user_is_least_expecting() {
    // stub, much better :)
  }
It is the single most frustrating desktop computing experience.
dleslieabout 1 hour ago
Not just frustrating, it's a security hole. Stealing focus means a user may expect to be typing a password but find it's inputted somewhere they did not expect.
bluGillabout 1 hour ago
Problem it isn't an API, it is just unexpected consequences of how a few things work. Fixing this just isn't easy as the simple attempts will break even more than the frustrating thing you are trying to fix - and thus be worse.

That said, Microsoft should have fixed this long ago - it is hard but a few people can do it given a few years to work through all the special cases.

newscombinatorYabout 2 hours ago
I'd add preventing text selection, right-clicking or pasting from the clipboard to the list. I hate when websites do that.
stvltvsabout 2 hours ago
Especially egregious when preventing pasting into a password field. Do they want me to have a weak password so that I can manually type it in instead of pasting it from a password manager?
michaelcampbellabout 2 hours ago
There's an old, but good, set of browser plugins called "don't fuck with paste" that helps a little, at least.
antiframeabout 2 hours ago
Setting dom.event.clipboardevents.enabled in about:config to false will prevent sites from messing with cut and paste.
LorenDBabout 2 hours ago
Brave actually added a force paste option recently for such cases.
shultaysabout 2 hours ago
Spacebar hijacking, it is how I scroll webpages
LorenDBabout 2 hours ago
Or right-click hijacking. e.g. Discord's web app, where I might want to right click a link in a message to copy it. But instead, Discord forces their own right-click menu with no such option.
cmiles74about 2 hours ago
Slack does this with links (they all point to Slack instead of the URL in the message) and it drives me nuts.
pezgrandeabout 2 hours ago
Same in Discord, crappy apps.
matteasonabout 2 hours ago
Google's design blog has a particularly egregious version of this: https://design.google/

The mouse blob morphs into the background of any buttons you hover over, which is technically impressive but annoying in practice

reddaloabout 1 hour ago
Wow, so much for "Google Design". It's probably one of the worst designed pages I've seen recently.
sozforexabout 2 hours ago
wow, this is one of the worst pages I've seen
rukshnabout 1 hour ago
Wow i didn't know Google did this as well, that's pretty sad.
juancnabout 2 hours ago
My other pet peeve is sites that override text selection and add a popup or something.

I select long text when I'm reading, I use it for focus and to keep track where I was if I need to switch to some other task in the middle.

In general, excessive customization is a net negative if it breaks expectations.

kotaKat42 minutes ago
Don't forget if you copy and paste it you end up with extra bullshit you didn't copy...

Read more at: http://example.troll/lolyoufellforit.html

juancn7 minutes ago
Ohh you also made me think of those forms that disable paste!
clickety_clackabout 2 hours ago
I remember when the internet was wild, young and fun, and this was something people did all the time. If you’re building Salesforce or SAP or Microsoft Word you should avoid it, but if you’re making a fun and weird website you should go to town.
thesuitonymabout 2 hours ago
Yeah, it's not really that it's difficult and AI has made it easier. It's super easy, it's just anybody who knows what they're doing learned that it's bad decades ago.

Vibe coding didn't make it easier to change the cursor, it made it easier for incompetent people to write software.

tostiabout 1 hour ago
Those overgrown webapps do indeed avoid changing the pointer. But the back button is their special place to go to town with. Businesses pay enormous amounts of money for a piece of crap that breaks the effing back button.
xnxabout 2 hours ago
I can count on my left hand the number of acceptable times to change my cursor motion or shape. This is one: https://neal.fun/cursor-camp/
chrismorganabout 2 hours ago
Your choice of wording made me wonder if you have a different number of fingers on left and right hands.
frereubuabout 3 hours ago
> For example it can be as simple as this, to something completely unacceptable as this.

I can't see any difference between these in terms of UX - I got annoyed just looking at them.

dspillettabout 2 hours ago
The bad example has significant lag compared to the good.

Also, except when the pointer is over something, it isn't actually a pointer so you might not be able to position it precisely onto something. While trying to position it over something small⁰ it is going to cover the target making the process partially guesswork.

--------

[0] ignoring for a moment that something so small is likely bad UX in itself, like the single-pixel¹ border drag targets and scrollbars found on many things these days

[1] see similar discussions over in the thread about older UIs at https://news.ycombinator.com/item?id=48104428 for this and related issues - even when we have far fewer pixels on the screen a single pixel wide/tall/both target was often considered bad form.

sys_64738about 1 hour ago
Try using RISC OS on the Archimedes if you want some really obnoxious mouse pointer hijacking.
gjvc1 minute ago
[delayed]
nfbsabout 2 hours ago
I find it a bit surprising that there is no option in a browser to stop this kind of behavior. There is even a suggestion on mozzila.org.

With this option placed it would just be another 'fun thing' you don't need to mind.

manarthabout 2 hours ago
The cursor icon is useful as an indicator of function - e.g. the "I" styled character over text (where you can select/highlight then copy), and the "hand" icon to indicate a link.

Being able to change the cursor to indicate a behaviour can be beneficial, especially with dynamic DOM elements.

Going rogue with mouse cursor icons is a UX minefield though, and it's usually done without any UX assessment of the impact.

nfbsabout 1 hour ago
Ah, yes. I'm sorry. I think i was not precise enough.

This is certainly a wanted feature. I meant the ability for a website to change the cursor on its behalf, regardless of elements used or objects on the site. Context sensitive behavior on elements is something that should not be affected with said option.

noivabout 2 hours ago
Lol, once made a game hiding mouse pointer temporarely when users did not behave :)
Benderabout 3 hours ago
ublock may be able to help, perhaps something like

    ##*:style(cursor: auto !important)
Does anyone have a site to test it on?
Benderabout 2 hours ago
Looks like that one changes the pointer with javascript. I guess the only options are to not permit Javascript which breaks the site or use Reader View. Cntrl+Alt+R in Firefox.
michaelcampbellabout 2 hours ago
Ouch, that is awful.
T_Potatoabout 2 hours ago
I use a very large mouse cursor because I hate when I have to search for the thing. Sometimes during meetings I get brain dead comments about it. I make it bigger in spite when I get a comment about it. Then in meetings they complain that they can't find their mouse pointer.... /rant
Advertisement
teddyhabout 2 hours ago
> For example, making it slightly tilted because it was easier to draw on old screens.

No. Some older systems actually had straight pointers. The slightly tilted design is, I assume, a result of wanting to point to something while still being able to see what is to the immediate left of the pointer; useful for left-to-right text.

vintagedaveabout 1 hour ago
The best video on mouse cursors I've seen, by Posy: https://www.youtube.com/watch?v=YThelfB2fvg

It doesn't exactly answer the question, but I -- someone who doesn't watch video and wants text, articles -- have watched this video twice over. It's worth it :)

vintagedaveabout 1 hour ago
In fact, I'll post on HN, it's so good. https://news.ycombinator.com/item?id=48108704
AlienRobotabout 2 hours ago
That's not "hijacking your mouse pointer" that's just changing the cursor.

Absolutely change my cursor. But to something that looks cool, like a dragon or a sword. Not to a circle.

tostiabout 2 hours ago
This. Hijacking the pointer in the browser is also possible. There are webgl games that do it.
sixothreeabout 2 hours ago
Edge browser repositions your mouse cursor when you use the built-in screenshot tool.
crestabout 2 hours ago
Instant tab closed.
spacebaconabout 3 hours ago
Unless it’s Ratty
timw4mailabout 3 hours ago
Wait...what year is it again?
smallmancontrovabout 2 hours ago
Wake up babe, it's 1999 and you need to install Yahoo Toolbar into Netscape Navigator to avoid the dreaded Y2K bug!
Theodoresabout 3 hours ago
I like it how the author says how busy he is and how he finally snatched a few minutes out of this busy life to bring us this edict: don't hijack mouse pointers, or else!

What next, don't use blink or marquee elements?

Or else!

Standard issue cursors are not that great in all environments, sometimes making the cursor massively big or doing other daft things to it make sense. It is all about context and golden rules don't help.