What is input blocking? I IZ GOOD PORGAMMER! Pressing CTRL-Enter rapidly triggers the "too fast" toaster
-
Make a post.
Press CTRL-ENTER twice really fast.
Post happens, but the toaster for "posting too fast" ALSO happens.
Come on-- greying out / disabling an input button on click/submit is Web Development 101 For Fucking Idiots ever since "omg how my credit card chage twice" was an issue in the mid-90s.
-
It's not my fault your browser doesn't support the
disabled
attribute on buttons.
-
Posting for testing porpoises.
Edit: @Lorne-Kates WOMM. Have you tried Chrome?
-
Ok, what the fuck
JavaScript: https://jsfiddle.net/9g7uosqc/0/
JQuery: https://jsfiddle.net/9g7uosqc/1/So much for a "compatibility library" making life easier for developers.
-
Science. Doing what we must, because we can.
ETA: Also works as expected on latest Firefox.
-
@ben_lubar said in What is input blocking? I IZ GOOD PORGAMMER! Pressing CTRL-Enter rapidly triggers the "too fast" toaster:
Ok, what the fuck
JavaScript: https://jsfiddle.net/9g7uosqc/0/
JQuery: https://jsfiddle.net/9g7uosqc/1/So much for a "compatibility library" making life easier for developers.
"... and now you have n+1 problems."
-
@ben_lubar oh wow. Yeah, the jQuery
.click()
method is ignoring thedisabled
attribute, and since the event handler was registered through jQuery, it fires.This only happens if you add the
click
handler with jQuery and trigger the.click()
method with jQuery, because that way jQuery knows the event handler exists, and fires it even though the button's disabled.Or, to summarize in tabular form:
Event added with .click() method triggered with When button is The event handler VanillaJS VanillaJS Enabled Runs VanillaJS jQuery Enabled Runs jQuery VanillaJS Enabled Runs jQuery jQuery Enabled Runs VanillaJS VanillaJS Disabled Does not run VanillaJS jQuery Disabled Does not run jQuery VanillaJS Disabled Does not run jQuery jQuery Disabled Runs For practical purposes, adding the event listener with an
onclick=""
attribute or triggering the button with the mouse will count as the same as VanillaJS in that chart. The event will run if the button's enabled and won't run if it's disabled.
-
Attempt
-
Testing
-
@anotherusername said in What is input blocking? I IZ GOOD PORGAMMER! Pressing CTRL-Enter rapidly triggers the "too fast" toaster:
Or, to summarize in tabular form:
I like using web technologies for application development because basic input patterns and control elements have all been implemented in a cross-platform, desktop-like manner.
edit: you really like posting tables here. do you manually write the HTML, or is that scripted?
-
@bb36e said in What is input blocking? I IZ GOOD PORGAMMER! Pressing CTRL-Enter rapidly triggers the "too fast" toaster:
edit: you really like posting tables here. do you manually write the HTML, or is that scripted?
You know there's a "View raw" option in the hamburger menu (), right?
Or if you're really lazy, just don't select anything and hit "quote"...
-
-
@bb36e geesh, you're impossible. I literally wrote a "View raw" option, @ben_lubar merged it in, and it's too much work for you just to use it...
I couldn't let the opportunity pass to brag about being the one who wrote that...
-
@anotherusername said in What is input blocking? I IZ GOOD PORGAMMER! Pressing CTRL-Enter rapidly triggers the "too fast" toaster:
I couldn't let the opportunity pass to brag about being the one who wrote that...
It's definitely handy! :D especially because some of our emotes are invisible if you're using a dark theme.
-
@bb36e said in What is input blocking? I IZ GOOD PORGAMMER! Pressing CTRL-Enter rapidly triggers the "too fast" toaster:
some of our emotes are invisible if you're using a dark theme
I wrote a userscript for that too. Lemme see if I can find it.
Oh, hey, speaking of which, do the new FontAwesome emoji show up properly on dark themes now:
-
@anotherusername yep! Though our custom images ( ) of course don't map to FA
-
@pie_flavor Let's see!
ETA: Nope. Chrome doesn't do a wrong thing.
-
@bb36e here it is...
https://what.thedailywtf.com/post/1130172
You can probably remove the one that targets
fa_
, since the FontAwesome icons don't need fixing anymore (but it wouldn't target them anymore either, I think).You should just be able to paste it in the custom CSS box in your account settings.
edit: nope, it won't work as written... hang on and I'll fix it...
-
@bb36e ok this should work:
.emoji[title=':back:'], .emoji[title=':copyright:'], .emoji[title=':curly_loop:'], .emoji[title=':currency_exchange:'], .emoji[title=':dark_sunglasses:'], .emoji[title=':end:'], .emoji[title=':eyeglasses:'], .emoji[title=':headdesk:'], .emoji[title^=':heavy_'], .emoji[title=':magnets_having_sex:'], .emoji[title=':manhole:'], .emoji[title=':moving_goal_post:'], .emoji[title=':mu:'], .emoji[title=':musical_note:'], .emoji[title=':notes:'], .emoji[title=':on:'], .emoji[title=':onion:'], .emoji[title=':pen_fountain:'], .emoji[title=':pendant:'], .emoji[title=':registered:'], .emoji[title=':soon:'], .emoji[title=':tm:'], .emoji[title=':top:'], .emoji[title=':wavy_dash:'], .emoji[title=':whoosh:'] { filter: invert(1); }
Put it in "Custom CSS" in your profile settings.
-
@anotherusername said in What is input blocking? I IZ GOOD PORGAMMER! Pressing CTRL-Enter rapidly triggers the "too fast" toaster:
I couldn't let the opportunity pass to brag about being the one who wrote that...
It's Open Saurce, so technically, we all wrote it. #ManyEyes
-
If this gets fixed, I'll be very disappointed. Dumping IE6 was the greatest step forward the web has done since Netscape Navigator, and submitting to one Canadian terrorist who refuses to update his years old browser feels like a huge step back.
-
@lorne-kates said in What is input blocking? I IZ GOOD PORGAMMER! Pressing CTRL-Enter rapidly triggers the "too fast" toaster:
@anotherusername said in What is input blocking? I IZ GOOD PORGAMMER! Pressing CTRL-Enter rapidly triggers the "too fast" toaster:
I couldn't let the opportunity pass to brag about being the one who wrote that...
It's Open Saurce, so technically, we all wrote it. #ManyEyes
Yes... but I wrote that little corner of it.
-
@gąska said in What is input blocking? I IZ GOOD PORGAMMER! Pressing CTRL-Enter rapidly triggers the "too fast" toaster:
If this gets fixed, I'll be very disappointed. Dumping IE6 was the greatest step forward the web has done since Netscape Navigator, and submitting to one Canadian terrorist who refuses to update his years old browser feels like a huge step back.
I did update it. FF22 -> FF28.
Fact remains: most of the stuff I find is broken because it's programmed dumbly. It breaks on other browsers, but not all. If it was programmed Not Dumbly, it'd work properly. My browser just happens to expose dumb programming betterer.
See the logic table posted earlier. It was the interaction between js and jquery's events and event listeners and dumbly-implemented HTML tag properties.
-
@lorne-kates said in What is input blocking? I IZ GOOD PORGAMMER! Pressing CTRL-Enter rapidly triggers the "too fast" toaster:
I did update it. FF22 -> FF28.
@Mozilla said in Release notes:
Version 28.0, first offered to Release channel users on March 18, 2014
That's still 23 months away from being acceptable. And counting.
-
@anotherusername said in What is input blocking? I IZ GOOD PORGAMMER! Pressing CTRL-Enter rapidly triggers the "too fast" toaster:
FontAwesome emoji
Oh, is that what the "fa_" prefix means on some of the emoji? I always wondered . . . but not enough to ask about it.
-
@bb36e said in What is input blocking? I IZ GOOD PORGAMMER! Pressing CTRL-Enter rapidly triggers the "too fast" toaster:
some of our emotes are invisible if you're using a dark them
Custom CSS setting
.emoji:not(.emoji-fontawesome){ background-color: #DDDDDD; }
(have to exclude fontawesome because it now renders in the same colour as text)
-
@gąska said in What is input blocking? I IZ GOOD PORGAMMER! Pressing CTRL-Enter rapidly triggers the "too fast" toaster:
@lorne-kates said in What is input blocking? I IZ GOOD PORGAMMER! Pressing CTRL-Enter rapidly triggers the "too fast" toaster:
I did update it. FF22 -> FF28.
@Mozilla said in Release notes:
Version 28.0, first offered to Release channel users on March 18, 2014
That's still 23 months away from being acceptable. And counting.
Last version to not have Astral Syphilis
-
@lorne-kates So why are you still using it then?
-
@pie_flavor said in What is input blocking? I IZ GOOD PORGAMMER! Pressing CTRL-Enter rapidly triggers the "too fast" toaster:
@lorne-kates So why are you still using it then?
Last version to
NOT
have Astral Syphilis
-
@lorne-kates Yes, I know. So why are you still using it then?
-
@lorne-kates said in What is input blocking? I IZ GOOD PORGAMMER! Pressing CTRL-Enter rapidly triggers the "too fast" toaster:
Astral Syphilis
-
@pie_flavor said in What is input blocking? I IZ GOOD PORGAMMER! Pressing CTRL-Enter rapidly triggers the "too fast" toaster:
@lorne-kates Yes, I know. So why are you still using it then?
Look, I know your mom has told you that having syphilis is a perfectly normal thing that just happens and is not a bad thing at all. But, you see, your mom is a liar. Having syphilis is bad. It's not something you want.
-
@lorne-kates software that doesn't work also isn't something you want.
-
@gąska said in What is input blocking? I IZ GOOD PORGAMMER! Pressing CTRL-Enter rapidly triggers the "too fast" toaster:
@lorne-kates software that doesn't work also isn't something you want.
Which is why I haven't downgraded past FF28.
-
@lorne-kates and found zillion bugs specific to your browser version.
Maybe I'm weird, but I never cared much about interface. As long as there's address bar somewhere near top, I'm okay with anything.
-
@gąska said in What is input blocking? I IZ GOOD PORGAMMER! Pressing CTRL-Enter rapidly triggers the "too fast" toaster:
@lorne-kates and found zillion bugs specific to your browser version.
E_RATIO_NOTFOUND. About the only "won't work on FF2x, and it's still because of our dumbshit code, wontfix" is pasting images directly into the decomposer.
I'll say it every time someone tries to blame my browser: point to those "zillions" of bugs. A bug that effects FF22 (now 28) and ONLY FF28, instead of people then trying that on a variety of browsers and going "oh shit it brokekek here too".
Maybe I'm weird, but I never cared much about interface. As long as there's address bar somewhere near top, I'm okay with anything.
There's no guarantee that address bar will be there on a random FF update. Or that there will be an address bar at all. Who knows, maybe this is the update FF decides the address bar is anti-Grumpy Cat, and that you can only use the Live Tilez Pocket Screen or whatever shit they came up with.
Not to mention that each update also:
- Breaks old interfaces, fucking up plugins that were otherwise stable
- Removes features without warning
- Ads in more advertising, tracking, and other privacy-invading anti-features.
All that on top of a UI that's actively hostile to the end user.
-
@lorne-kates you should update Firefox.
-
This post is deleted!
-
@pie_flavor said in What is input blocking? I IZ GOOD PORGAMMER! Pressing CTRL-Enter rapidly triggers the "too fast" toaster:
@lorne-kates you should update Firefox.
No.
-
@lorne-kates said in What is input blocking? I IZ GOOD PORGAMMER! Pressing CTRL-Enter rapidly triggers the "too fast" toaster:
All that on top of a UI that's actively hostile to the end user.
https://i.imgur.com/Vu4StWd.png
I see we have a Mozilla apologist here. Hi there. Go choke on your CEO's "not for profit $1M salary" cock and get syphilis.
-
AND I'M AN ALCOHOLIC
-
@anotherusername did you manage to completely bork the forum once by forging the post that your reply was in reply to?
-
@lorne-kates no, it wasn't completely borked.
Also I didn't forge the post that I was replying to... I just un-disabled the 'reply' button on it. And if you could see deleted posts, my reply would make sense.
-
loops are fun too
-
loops are fun too
-
@anotherusername Did you know that on the last-reply-replies bug, it actually affects the position of the scrobbler too? Oh wait, this post probably un-breaks that... Umm.. someone repro that glitch for me.