SDMB Style Tweaker/Fixer (Userscript)

:rolleyes: :eek: :smiley:

I didn’t know about the old smilies. Works on Stylish, thanks very much!

Nice work, BigT.

  • Does the font still appear bigger in posts, or am I just imagining things?
  • Also, I think I like that you kept the red “Go to first new post…” tabs on a forum screen. I’ve never used those before - maybe because I just didn’t really notice them.
  • Any way to make the “you’re subscribed to this thread” checkmark be a little more noticeable?

Thanks BigT! Between this, changing the font size and blocking some cruft, things are looking normal again.

I also had to install tampermonkey, it didn’t work in greasemonkey for me either.

Same for me.

Thanks, BigT. Your script is going to make my SDMB experience much better. I especially like the absence of the blue bars between posts.

Much better than previously. You done good, BigT.

Hey, BigT, the new skin has also messed up the Code and Spoiler tags. See cmyk’s post for an example of the Spoiler and phungi’s post for the Code.

Anything you can do with them?

This is the first time I’ve used one of these script thingies myself, and, well done BigT. This fixes the bulk of my annoyances on my desktop. Like buh-bye stupid blue bars, and, hey, shit actually lines up on the right with the Join Date/Location/Posts field!

I wound up with a horrible headache last night, and, while it’s better, it’s still in that “taking it easy” phase, so I’m not working it today. But thanks for the feedback!

Most of my changes will work in Stylish, too. I may make it myself, but if I don’t, just go the the source page and copy the parts between the addStyle(and) lines to a new Stylish file. (You may need to leave out the one about moving the top arrow. I think I left enough comments to make this easy to find.)

Really weird that people need Tampermonkey. I didn’t, but I also use the ESR version of Firefox ((based on Firefox 52) on my Linux machine (which is the only place I actually use Firefox anymore). And it works just fine there. Too many addons I use there are going to break when Firefox 57 comes out.

If a lot of people are running into the problem, I guess I’ll look into it. Or, at least, put it on the list of things to look into.

Hey, this is MUCH better. Thanks!

Great job, BigT.

Ah. Got it. The script was running too early in Firefox, before there even was a <head> tag to attach the style to. As this might be fixed in future versions of both engines, I’ve added logic to try again if it fails the first time.

In multiple page threads, the page numbers are shown at the bottom right of each page. Before the board’s update, there was a color difference between the page I’m on and the next page, which seems to have gone away with the update. Now, I have to hover over the page numbers to determine if there is a new page after the one that I am on. The page numbers are ALL gray now (in Chrome).

I don’t know how you did what you did BigT, but can I fix this myself, or do you have to fix it?

On the subject of fixing things, will further fixes that you make update automatically to what I have now? Or will I need to download a newer version of the script?

Again, well done!

I downloaded Telerik Fiddler once to work around a Javascript problem at another site, though I’m not using it anymore. (Confusions might outweigh benefits.) I don’t want to endure the time and trauma(!) of downloading yet another tool just to improve the interface here very slightly. Nevertheless: Kudos to BigT !

I glanced at an SDMB page just to see what .css it loaded (I was vaguely thinking of firing up Fiddler to change the highlighting color), but found much css in-line. (This seemed odd.) I’d ask where the pale-green highlighting color is set, but my high-priority To-Do list is already very long. :eek:

They should, but how often your script checks for updates depends on the Userscript engine.

I should have already put in something for the change you mentioned. I unbolded the other page numbers. You may want to force an update by installing it again, to make sure that it’s not something I still need to fix (or improve).

I’ll put this on my list of things to look into.

I can’t tell you where it’s set, but I can tell you how to go about changing it.

You need to change the values of the CSS selector ::selection . To override previous settings, you may need to set each option with !important: e.g. ::selection { background: gray !important; } .

If you need to do this in JavaScript, you’ll need to basically add an inline style tag:

var style = document.createElement('style');
style.textContent = 
    '::selection { /*your changes here*/ }';
document.head.appendChild(style);

That is how my script does most of what it does.

Yes, that’s JavaScript, not PHP. I used the PHP tag so it would have fancy highlighting

I decided to work on this, since it’s higher priority. Should be fixed in version 0.5.95, which is currently the latest.

Probably the easiest way to force a manual update is to just install the script again.

My code is also hopefully commented well enough that anyone who wanted to fix this on the actual server side could use my fix. It’s just CSS.

Make that 0.5.96, due to bad version control. (I lost the fix I made for Greasemonkey, and had to add it back.)

Thank you for the update, BigT!

What Dr. Crap said.