Dear blakeyrat. I fixed the css. Signed The Desktop View
-
Userscript. I'm sure you could adapt it to a bookmarklet. Iterates through each stylesheet, and changes the min/max width requirements so that everything is desktop.
// ==UserScript== // @name tdwtf forum - restore desktop // @namespace Lorne // @include https://what.thedailywtf.com/topic/* // @version 1 // @grant none // @runat document-end // ==/UserScript== var $ = unsafeWindow.jQuery; $(window).load(function() { FixStyleSheets(); //setTimeout(FixStyleSheets, 500); //$(window).on('action:app.load', function(event, data) //{ // //}); }); function FixStyleSheets() { // Get all stylesheets for ths docuemnt var s = [].slice.call(document.styleSheets); // Iterate through each one for(var ixs = 0; ixs < s.length; ixs++) { sheet = s[ixs]; if(sheet!=null && sheet.cssRules != null && sheet.cssRules.length > 0) { // Get all cssRules for this stylesheet ss = sheet; var r = [].slice.call(sheet.cssRules); // iterate through each rule for (var ixr = 0; ixr < r.length; ixr++) { var rule = r[ixr]; // If this rule has a Media query, we're interested in it if(rule != null && rule.media != null && rule.media && rule.media.length > 0) { if(rule.conditionText != null) { // If this rule is Max-Width, it is targeting desktop // Reduce this to 1px, so that everything above 1px if(rule.conditionText.indexOf("max-width") > -1) { //console.log("replacing max-width"); rule.media.mediaText = "(max-width:1px)"; } else if(rule.conditionText.indexOf("min-width") > -1) { //console.log("replacing min-width"); // If this rule is Min-width, it is lase targeting desktop. Make it trigger for all sizes. rule.media.mediaText = "(min-width: 1px)"; } } } } } } }
-
@Lorne-Kates Ok, but that removes the ability to toggle the behavior on and off unlike the one I proposed in the bug tracker.
Still, whatever, as long as we get SOME fix installed here.
-
@blakeyrat if it's a userscript you can just enable/disable it and refresh the page.
-
@anotherusername I don't even know what a "userscript" is, or how to install one.
I just want the fucking forum to work.
-
@blakeyrat It must be nice to have a dream.
-
@blakeyrat said in Dear @blakeyrat. I fixed the css. Signed The Desktop View:
what a "userscript" is, or how to install one.
Yeah, apparently the gained popularity somewhere somehow, but it took a bit of research to find out that they're actually just user-provided javascript files that get added to pages programmatically (or injected, not sure which is more accurate).
There are apparently addons like "GreaseMonkey" and "TamperMonkey" or stuff like that that let you easily add these userscripts and manage them.
-
@blakeyrat said in Dear @blakeyrat. I fixed the css. Signed The Desktop View:
I don't even know what a "userscript" is, or how to install one.
-
@blakeyrat said in Dear @blakeyrat. I fixed the css. Signed The Desktop View:
@Lorne-Kates Ok, but that removes the ability to toggle the behavior on and off unlike the one I proposed in the bug tracker.
Still, whatever, as long as we get SOME fix installed here.Whoa there, easy with the gratitude. People will think you've gone soft.
-
@flabdablet I didn't ask.
The bug is in the forum software. Nothing I install on my machine can fix the bug.
-
All of you seem to be under the misapprehension blakey wants to know how to install this. He doesn't. He just wants the web to work right by default. And on this matter I agree with him.
-
@blakeyrat said in Dear @blakeyrat. I fixed the css. Signed The Desktop View:
I didn't ask.
Ahh.....back to normal.
-
@PleegWat said in Dear @blakeyrat. I fixed the css. Signed The Desktop View:
He just wants the web to work right by default.
HAHAHAHAHAHAHAAHA--- Oh wait, you're serious.
Well, at least you can dream, right? Keep those hopes soaring in the sky!
-
@Tsaukpaetra why change the web if you can change your mind?
-
@blakeyrat said in Dear @blakeyrat. I fixed the css. Signed The Desktop View:
The bug is in the forum software. Nothing I install on my machine can fix the bug.
The forum server offers your machine some software to run. There is no law that says you have to run only exactly what's offered.
-
@flabdablet Typical flabs, completely ignoring everything about the post he replies to.
-
@flabdablet said in Dear @blakeyrat. I fixed the css. Signed The Desktop View:
@blakeyrat said in Dear @blakeyrat. I fixed the css. Signed The Desktop View:
The bug is in the forum software. Nothing I install on my machine can fix the bug.
The forum server offers your machine some software to run. There is no law that says you have to run only exactly what's offered.
I'm afraid you don't understand. @blakeyrat's computer isn't turing-complete.
-
@blakeyrat said in Dear @blakeyrat. I fixed the css. Signed The Desktop View:
@Lorne-Kates Ok, but that removes the ability to toggle the behavior on and off unlike the one I proposed in the bug tracker.
Still, whatever, as long as we get SOME fix installed here.
Gee, I'll just go right ahead and invest a dozen hours making you a fully usable tool with a GUI, rather than a quick fix that addresses your immediate complaint of "I can't fucking use the forum with a half-sized window or a zoom".
You're welcome, shitface.
-
-
@Lorne-Kates The problem is there's a bug in NodeBB. I want the bug fixed. The code sample above is great, but it does not fix the bug in NodeBB.
So. Call me a shitface if you want, but my position here has never wavered, nor do I have any idea why you're surprised at it.
-
@blakeyrat said in Dear @blakeyrat. I fixed the css. Signed The Desktop View:
@Lorne-Kates The problem is there's a bug in NodeBB. I want the bug fixed. The code sample above is great, but it does not fix the bug in NodeBB.
So. Call me a shitface if you want, but my position here has never wavered, nor do I have any idea why you're surprised at it.
Yes, you filed that bug. And it's been sent to the NodeBB devs. And it'll be done by Smarch the 32nd,
¯\_(ツ)_/¯
o'clock PM (UTC).So in the meantime, rather than being stuck with an "unusable" forum in shrunken windows, this provides temporary relief.
You are aware of the difference between a patch and a fix, right?
Also, I shouldn't have called you shitface. I meant to call you a "tit-shitter", but my keyboard has some sticky keys from all your tit shit.
-
@Lorne-Kates said in Dear @blakeyrat. I fixed the css. Signed The Desktop View:
So in the meantime, rather than being stuck with an "unusable" forum in shrunken windows, this provides temporary relief.
Except it doesn't because I don't run userscripts.
-
@blakeyrat said in Dear @blakeyrat. I fixed the css. Signed The Desktop View:
@Lorne-Kates said in Dear @blakeyrat. I fixed the css. Signed The Desktop View:
So in the meantime, rather than being stuck with an "unusable" forum in shrunken windows, this provides temporary relief.
Except it doesn't because I don't run userscripts.
The run one. Greasemonkey for chrome is a thing. Or minimize the js and turn it into a bookmarklet. Y'know-- things that are solved problems for anyone on any browser to run custom javascript. Unless you're a luddite who refuses to use technology because idiot reasons.
-
@Lorne-Kates You know, I can kind of see his point. Say what you like about @blakeyrat, but he has principles and he sticks to them.
Of course, many of those principles boil down to "I will defend to the death my right to be an Internet drama queen" and that's what makes him such fun to tweak every now and then. Offering solutions to a @blakeyrat complaint and watching the ensuing fireworks just never gets old.
-
@flabdablet said in Dear @blakeyrat. I fixed the css. Signed The Desktop View:
"I will defend to the death my right to be an Internet drama queen"
Mental image: Blakey with tutu and tiara. Which actually made me LOL.
-
@Lorne-Kates said in Dear @blakeyrat. I fixed the css. Signed The Desktop View:
idiot reasons.
"Idiot reasons" such as "this is a shittily designed system, I shouldn't have to run additional software to make its generated pages sorta kinda work"?
Where is the @Lorne-Kates who wrote epic rants about the awful design decisions of Discourse, and what have you done to him?
-
@tufty said in Dear @blakeyrat. I fixed the css. Signed The Desktop View:
@Lorne-Kates said in Dear @blakeyrat. I fixed the css. Signed The Desktop View:
idiot reasons.
"Idiot reasons" such as "this is a shittily designed system, I shouldn't have to run additional software to make its generated pages sorta kinda work"?
Where is the @Lorne-Kates who wrote epic rants about the awful design decisions of Discourse, and what have you done to him?
NodeBB has at least improved since the initial launch, and the devs are doing work on it to make it better.
Put another way: I'm filing bugs, because I know they'll at least be addressed. Sort of. In time.
-
@blakeyrat said in Dear @blakeyrat. I fixed the css. Signed The Desktop View:
The bug is in the forum software. Nothing I install on my machine can fix the bug.
It is not a bug. It is fully expected and desired behavior by the devs.
In this case, the problem lies between the keyboard and chair.
-
@Polygeekery said in Dear @blakeyrat. I fixed the css. Signed The Desktop View:
In this case, the problem lies between the keyboard and chair.
The behaviour might be expected, but it's still stupid.
Even Discourse got this mostly right.
-
@Polygeekery I think that behavior is fine for something like an informational brochure site about a vacuum cleaner, which might even make it a sensible default for that CSS framework.
But on this site, going into "mobile mode" removes or hides a large percentage of the features. It's a completely different (and significantly worse) user experience that desktop users who are on full-featured machines with physical keyboards and pointing devices are simply never going to want.
What's more amazing to me is that the NodeBB developers don't agree with that assessment. And, for example, didn't implement the CSS in such a way that the behavior could be toggled on and off. (Which is only a few additional lines; it's trivial.) If they'd just added a toggling selector to the @media CSS rules, individual sites could decide for themselves whether or not they could toggle the behavior, using a very simple bit of JS.
Then again, the NodeBB developers apparently put roughly zero thought into any aspect of the UX, so I'm not sure why I'm surprised.
-
@blakeyrat said in Dear @blakeyrat. I fixed the css. Signed The Desktop View:
But on this site, going into "mobile mode" removes or hides a large percentage of the features.
It is not "mobile mode". It is "low resolution mode" and you are artificially putting it in to that state and bitching about it. Increase your browser width a tiny amount and the problem is gone. Problem solved
Or, be a cockhole and bitch about it. Your choice.
-
@blakeyrat said in Dear @blakeyrat. I fixed the css. Signed The Desktop View:
don't agree with that assessment.
I thought they DID agree, and were working on splitting the css @media queries into different files so they could be toggled?
-
@Polygeekery said in Dear @blakeyrat. I fixed the css. Signed The Desktop View:
@blakeyrat said in Dear @blakeyrat. I fixed the css. Signed The Desktop View:
But on this site, going into "mobile mode" removes or hides a large percentage of the features.
It is not "mobile mode". It is "low resolution mode" and you are artificially putting it in to that state and bitching about it. Increase your browser width a tiny amount and the problem is gone. Problem solved
That's what gets me about this. We're talking about all these workarounds like userscripts and installing third-party addons when the obvious and easiest workaround is to JUST RESIZE YOUR FUCKING WINDOW.
-
@Lorne-Kates said in Dear @blakeyrat. I fixed the css. Signed The Desktop View:
I thought they DID agree, and were working on splitting the css @media queries into different files so they could be toggled?
News to me.
-
@The_Quiet_One said in Dear @blakeyrat. I fixed the css. Signed The Desktop View:
That's what gets me about this. We're talking about all these workarounds like userscripts and installing third-party addons when the obvious and easiest workaround is to JUST RESIZE YOUR FUCKING WINDOW.
Then the fucking text reflows and the paragraphs are too fucking wide. As I've said a fucking billion times. Tell me how to resize my window without creating ridiculously-wide paragraphs.
I'm sorry I'm such a freaking mutant that I want to use desktop mode on a desktop computer. HOW CRAZY OF ME.
-
@blakeyrat said in Dear @blakeyrat. I fixed the css. Signed The Desktop View:
Tell me how to resize my window without creating ridiculously-wide paragraphs.
Make your window literally 3 pixels wider. It makes the paragraphs less wide because the avatars get their own column.
-
@The_Quiet_One said in Dear @blakeyrat. I fixed the css. Signed The Desktop View:
the obvious and easiest workaround is to JUST RESIZE YOUR FUCKING WINDOW.
YMBNH, @blakeyrat cares not for such logic, or unsolicited advice. He is the Hispanic chick from "White Men Can't Jump" talking about being thirsty.
-
@Polygeekery said in Dear @blakeyrat. I fixed the css. Signed The Desktop View:
unsolicited advice
You're right. He doesn't want help. He wants it to work like he expects it to. This is too much to ask for. One day he'll accept it, and become a happier rat for it.
-
@blakeyrat said in Dear @blakeyrat. I fixed the css. Signed The Desktop View:
I'm sorry I'm such a freaking mutant that I want to use desktop mode on a desktop computer. HOW CRAZY OF ME.
There is no "desktop mode" or "mobile view" on responsive designs. There is only degradation of features as resolution is reduced.
Stop lying. You know you are lying. You lying liar.
-
@ben_lubar said in Dear @blakeyrat. I fixed the css. Signed The Desktop View:
Make your window literally 3 pixels wider. It makes the paragraphs less wide because the avatars get their own column.
But then he wouldn't have anything to bitch about.
-
@Tsaukpaetra said in Dear @blakeyrat. I fixed the css. Signed The Desktop View:
He wants it to work like he expects it to even when he puts artificial constraints on it to make it do what he doesn't want it to, because he is a cockhole. This is too much to ask for.
FTFY
-
@blakeyrat said in Dear @blakeyrat. I fixed the css. Signed The Desktop View:
Tell me how to resize my window without creating ridiculously-wide paragraphs.
Oooh ooh ooh that's a request for information! And I even have that information!
But I'm not going to tell you what it is, because I already did, like weeks ago.
-
@ben_lubar he is probably using windows key plus arrow to put it at half the screen.
resizing again would be an extra step, and my guess is that this is what is annoying him
the simplest fix would be to make smaller paragraphs when the window is maximized, I think you could consider it
-
@ben_lubar said in Dear @blakeyrat. I fixed the css. Signed The Desktop View:
Make your window literally 3 pixels wider. It makes the paragraphs less wide because the avatars get their own column.
Jesus Christ, are you an amnesiac? We had this exact conversation like 3 days ago.
Look, the bug is simple: I am on a desktop computer. It has desktop computer capabilities. It is not a low resolution device. It does not have a touchscreen, or an on-screen keyboard. I don't want to see a version of the site optimized for a low resolution device and a touchscreen, as that does not apply to me.
-
@fbmac said in Dear @blakeyrat. I fixed the css. Signed The Desktop View:
the simplest fix would be to make smaller paragraphs when the window is maximized, I think you could consider it
I'm not maximizing a browser window regardless. I use an OS based around the concept of windows. Very few applications are optimized for use when maximized; web browsers certainly aren't.
-
@blakeyrat it is a low resolution window. are my previous assumptions correct?
-
@fbmac Only if your previous assumptions are "fbmac is the dumbest motherfucker on Earth and doesn't know the difference between resolution and size".
Of course the irony here is that mobile devices in general have significantly higher resolution than desktops; my Fire tablet is something like 720p on a 7" screen. My phone is IIRC 900p on a 5.5" screen. Unless I got my 4k monitor fired up, the 1080p on a 24" screen viewed from 3 feet can't compare.
You can't fucking tell the resolution of a device by looking at the size of a window. WINDOWS CAN BE ANY SIZE. If you weren't aware of this, please get the FUCK out of software development and go, I dunno, haul trash or something.
-
@blakeyrat You're right, it's not a low resolutuion mode. It's a small viewport mode. The assumption is that when viewing in a smaller window you'd rather have a more compact view than need to scroll to see everything, or shrink everything down to a tiny size.
The bug is that the small window size changes lots of stuff in the layout, removes useful functionality and is generally a bit shit. Arguably, this really cut down view should be available on properly tiny screens, but a 5" phone or half a desktop window should definitely be a lot closer to the full size layout.
Discourse was actually OK at this. In a half width window you had the same view but without all the whitespace, making is nicer to look at than in a fullscreen window
-
@Jaloopa said in Dear @blakeyrat. I fixed the css. Signed The Desktop View:
The assumption is that when viewing in a smaller window you'd rather have a more compact view than need to scroll to see everything, or shrink everything down to a tiny size.
That assumption would be stupid and wrong even if the browser's zoom function didn't break it utterly.
Like I've said a billion times, if I'm on a desktop computer I only want to see the "desktop" view. Ever. I concede someone else (like a moron) might want the "mobile" view, so I'm ok making it toggle-able. But currently it's just permanently wrong all the time.
-
@blakeyrat You post good ideas and ruin them by adding some insults into them (stupid, moron, etc)
would using "em" instead of "px" in the media queries fix it?
-
@fbmac said in Dear @blakeyrat. I fixed the css. Signed The Desktop View:
You post good ideas and ruin them by adding some insults into them (stupid, moron, etc)
How it behaves now is pretty stupid though.