"Ultimate SBN" Script
Users expressed the need or want to customize their rink experience and I have an early development version of a script available for installation.
This is the very early workings of an idea I wanted to implement. The idea is you can specify users to "ignore" and users to "favorite."
What currently happens when you set a user to ignore:
Any posts by that user will be removed and replaced by text saying "ignored"
Entire comment trees replying to that user will also be removed.
Inline comments are ignored without effecting other replies.
Currently, Rec'd to Green comments will still show.
What currently happens when you set a user to a favorite:
Their Rec'd to Green posts stay like a normal Rec'd to Green comment
All other posts are highlighted a nice light Capitals red.
All of the above changes happen after the page loads, usually instantly depending on the size of the thread, and update automatically as users posts.
How to Install:
You'll need to install Firefox and the Firefox extension Greasemonkey. (This probably works in Greasemonkey for other browsers but I have not tested it.)
After those are installed you'll need to Install my Script
How to Configure:
You'll need to open the script to enter users to ignore or highlight. Notepad is all that is required.
Tools > Greasemonkey > Manage User Scripts
Select Ultimate SBN and then press the Edit button.
You'll see an ignores list and a favs list where you can add in users at lines 39 and 40. That's all there is to it.
There should also be a little monkey icon at the bottom of your browser that will shortcut you to these options. At anytime you can disable the script by clicking on the monkey icon or going into the above options and deselecting "Enabled"
You can also easily change the color of the favorite highlight by replacing the default "#ccff99" with the color of your choice. (It's now a light green by default instead of the red) Here is a list of web safe hex colors.
After you make a change and save the script you'll need to refresh any SBN pages you already had open to see the change take place.
Side notes:
This has not been tested extensively and has not been tested with more than a few users in each category.
This was basically done as a proof of concept and to see if it would be worth making it into a full blown extension.
SBNation support isn’t responsible for what may or may not happen when you run this script, so if you use it, you’re on your own. They don't have anything to do with this.
An extension would have links added under users names to set to a fav or ignored user, hide\show ignored posts, customize highlight color based on user, etc. Those are all things that could be developed into the current script form as well except a lot of functions like saving specific users would not be possible permanently.
Honestly, I don't see myself doing many major additions at anytime in the near future since it's overkill for how much work I would probably want to put into it considering I picked up scripting this stuff about a week ago.
If this FanPost is written by someone other than one of the blog's editors, the opinions expressed in it do not necessarily reflect those of this blog or SB Nation.
125 comments
|
24 recs |
Do you like this story?
Comments
While I personally probably won’t use it, this is excellent work Zephyr. This gets a rec from me because instead of just complaining about an issue you went looking for a solution.
"You ever use smelling salts, every time you type a bad blog?" Brooks Laich
I went back and re-read sample part after reading others comments about the colors. On second thought maybe I do want to test it. I won’t use the “ignore” function, but I will definitely test out the favorites function. Anything to add background colors/get rid off the white is good for me.
"You ever use smelling salts, every time you type a bad blog?" Brooks Laich
by Carl Putnam on Feb 10, 2010 12:06 PM EST up reply actions
Thanks, Zephyr. I was one of the ones who expressed interest in such a script/extension. I’ll give it a whirl for a while and let you know how things go.
↑ ↑ ↓ ↓ ← → ← → b a (select) start
It’s working nicely for me (though I changed from the pink to a light blue)
Japers' Rink: Hockey blogging from the most powerful city in the world
Yeah, I was thinking of doing the same. I may hack around with it a bit further as well, we shall see.
↑ ↑ ↓ ↓ ← → ← → b a (select) start
Please share any tweaks you make that others might dig.
Japers' Rink: Hockey blogging from the most powerful city in the world
(I might change "Ignored" to "Some dipshit’s worthless opinion")
Japers' Rink: Hockey blogging from the most powerful city in the world
(Btw, that’s a joke – I’d never ignore any of you fine folks)
Japers' Rink: Hockey blogging from the most powerful city in the world
—IGNORED—
Atta dinnin stick a who!
by Gould Old Days on Feb 10, 2010 5:10 PM EST up reply actions 2 recs
Yeah, I don’t think I like the light red\pink anymore. If people could provide feedback on what they think would be the best default color that would be helpful too.
I was looking at ccffcc, ccffff, ffffcc, and ccff99.
I look to the future because that's where I'm going to spend the rest of my life.
renstar, I didn’t realize you were an Alice Walker fan until I tried your color choice.
"You ever use smelling salts, every time you type a bad blog?" Brooks Laich
funny, it is more like cornflower than purple for me, but maybe thats cause my color management software is effing everything up
↑ ↑ ↓ ↓ ← → ← → b a (select) start
Who knows it might be on my end. I’m having troubles with it displaying the color only on some of my favorites and then when I went in and tried to add a couple of more people it now won’t work for anyone. I gotta check the code again, but something is odd. Is anyone else having trouble with names with spaces in them like Fehr and Balanced for example?
"You ever use smelling salts, every time you type a bad blog?" Brooks Laich
the comment above the names list says to use a %20 in place of the space. Some other characters may cause issues as well, so use the hex code from here to get that working.
↑ ↑ ↓ ↓ ← → ← → b a (select) start
so for example, Fehr and Balanced would be “Fehr%20and%20Balanced”
↑ ↑ ↓ ↓ ← → ← → b a (select) start
Thanks renstar. I owe you one.
What little basic and HTML code I’ve done over my lifetime should have had at least clued me that there was an obvious fix I was missing, but apparently not. I just fixed the code and it works great. I’m even using your cornflower/purple color which looks damn good.
"You ever use smelling salts, every time you type a bad blog?" Brooks Laich
And easy way to check the formatting for certain names is to click on their profile and examine the end of the URL.
"Dozens of people spontaneously combust each year. It's just not really widely reported."
by Laich It Or Lump It on Feb 10, 2010 2:00 PM EST up reply actions
Is anyone else having trouble with names with spaces in them
Yeah, I was having trouble adding this “Laich It or Lump It” fellow to my ignore list.
"Dozens of people spontaneously combust each year. It's just not really widely reported."
by Laich It Or Lump It on Feb 10, 2010 1:58 PM EST up reply actions
eeeeff is working great for me.
Atta dinnin stick a who!
by Gould Old Days on Feb 11, 2010 1:43 AM EST up reply actions
Why oh why would you not be there already?
Russian Machine very rarely breaks. Oh and f**k Brooks Orpik.
Opera ftw. It’s a highly underrated browser.
They laughed at Columbus, they laughed at Fulton, they laughed at the Wright brothers. But they also laughed at Bozo the Clown.
Can’t see how anyone can compete with the mozilla dev community and the 10,000 add-ons available. But that’s just me. From a plain old browser standpoint, Chrome is good.
Russian Machine very rarely breaks. Oh and f**k Brooks Orpik.
Interesting….I haven’t added any names to my “favs” list yet, but zephyr and JP are showing up in pink.
Btw, I would like to add that SBNation support isn’t responsible for what may or may not happen when you run this script, so if you use it, you’re on your own.
Japers' Rink: Hockey blogging from the most powerful city in the world
by J.P. on Feb 10, 2010 11:18 AM EST reply actions 1 recs
I’ll admit, I definitely did a search to find out who the ignored user was in the example.
"Dozens of people spontaneously combust each year. It's just not really widely reported."
by Laich It Or Lump It on Feb 10, 2010 12:16 PM EST up reply actions
Great work Zeph. I’m very impressed. I’ll definitely tinker with it when I get some time and hopefully teach myself some scripting in the process. Just curious, what language is it written in?
"Dozens of people spontaneously combust each year. It's just not really widely reported."
by Laich It Or Lump It on Feb 10, 2010 12:14 PM EST reply actions
Cool, thanks. I’ve done some javascript stuff before, so maybe I can do some meaningful tinkering.
"Dozens of people spontaneously combust each year. It's just not really widely reported."
by Laich It Or Lump It on Feb 10, 2010 12:23 PM EST up reply actions
While I rec’d and applaud your effort I won’t be using it.
(On Mike Green) He’s urban, you northern folk wouldn’t understand!
Thanks. It’s nice having people highlighted I think — it’s sort of like a personal way of rec’ing.
I doubt I’ll ever use the ignore feature but I have liked flying through threads today seeing easily what ThePeerless has to say on a subject.
But, that’s the nice thing, everyone has options now instead of bickering about fairly trivial things!
I look to the future because that's where I'm going to spend the rest of my life.
hey zephyr, is there a problem with using names that have spaces in them? def possible i screwed up somehow, but favorited names like “Ice Warrior” and “Bald Pollack” aren’t getting the pink treatment while names like “CP2Devil” and “zephyr” are.
Natty – renstar just answered that same question for me. See below.
the comment above the names list says to use a %20 in place of the space. Some other characters may cause issues as well, so use the hex code from here to get that working.
so for example, Fehr and Balanced would be "Fehr%20and%20Balanced"
"You ever use smelling salts, every time you type a bad blog?" Brooks Laich
if only i hadn’t ignored all his posts!
/kidding!
by Natty Bumppo on Feb 10, 2010 1:58 PM EST up reply actions
and a suggestion: it might be cool to have different groupings with different colors. like “classes” of colors. in particular i was thinking of making all the Rink editors one color and all my fav commenters another color.
by Natty Bumppo on Feb 10, 2010 1:57 PM EST reply actions 2 recs
Yeah, that would be pretty easy to do. What I need to do now that I have the concept down is to break the things down into functions and then perform different functions based on the local variables.
I look to the future because that's where I'm going to spend the rest of my life.
Z — does that mean you’re still tinkering with it?
Atta dinnin stick a who!
by Gould Old Days on Feb 10, 2010 5:27 PM EST up reply actions
Stuff like this is never done being worked on. Everyone here that installed it today already has an outdated copy.
I’m also hoping more people will collaborate and come up with lots of other cool features. The possibilities are really endless. Highlighting and ignoring it really just a tip of the ole’ iceberg.
Renstar just sent me a cool feature that I’ll be updating the code with later.
I look to the future because that's where I'm going to spend the rest of my life.
Stuff like this is never done being worked on.
Programmer’s Lament!
Or as my favorite artist once said, “my albums are never finished, they always seem to just escape” (or something to that effect).
Wicked cool stuff Z!
"I am... *grins* ... 'Nobody' "
- Odysseus
by war_capitals on Feb 14, 2010 10:15 AM EST up reply actions
Rec’d for the concept, but I prefer to read everyone’s posts. The color idea is pretty neat, though.
"Now wait a minute. This is just purely a social call. You know, just two adults getting a stew on, man."
by The Ghost of Bebop on Feb 10, 2010 2:34 PM EST reply actions
Suggestion (and maybe SBN already has a way to do this): The ability to “z” through posts that have been rec’d green would be pretty nice.
"Now wait a minute. This is just purely a social call. You know, just two adults getting a stew on, man."
by The Ghost of Bebop on Feb 10, 2010 2:37 PM EST reply actions
Like a “super z” key. Nice idea – drop ’em a line at support@sbnation.com and suggest it.
Japers' Rink: Hockey blogging from the most powerful city in the world
i also enjoyed kellobellow’s idea to have both a Z key that goes from top to bottom and a Y key to go through the comments by timestamp. will email.
by Natty Bumppo on Feb 10, 2010 2:47 PM EST up reply actions
I was wondering if anyone saw that, haha. (Or if everyone had decided to ignore me!! j/k) I think it would make it way easier to follow actual conversations you’ve missed, especially ones that made such a progression like that one.
"No Brooks Laich, no win. Know Brooks Laich, know win."
Here’s sort of a philosophical question on this point – would you (anyone) be more comfortable with the idea of this script if it didn’t have the “ignore” feature? Is the ability to ignore other commenters a good thing or something that fractures the community in an undesirable way?
Japers' Rink: Hockey blogging from the most powerful city in the world
I don’t know how I feel about this. I definitely like the idea of custom coloring pretty much every person, as that’d be neat, but ignoring some commenters kind of would ruin it for me. I might disagree with some people, but there’s always the chance that they say something I do agree with.
I guess I just don’t dislike anyone’s opinions enough that I don’t think that they’re worth seeing yet.
Familiar Rapports: Bald Pollack, F&B, Gould Old Days.
Lobbies: Osala, Perreault, Erskine, Pothier, Neuvirth, Flash.
Fan of: Mean Lars Backstrom, Line Mashing, Cake.
This is one of the only blogs I read that I probably wouldn’t use an ignore feature, there are no full time trolls here
Aim for the head baby Jesus
The script works for all of SBN. If you want to go over to another blog and not listen to MarioD troll you, there is now the option. If someone doesn’t want to ignore anyone they don’t have to. It’s listed as blank by default (as of sometime this morning.)
Personally, I don’t see how it philosophically changes anything as long as that option is actually an option. The fact that it’s not remotely permanent is part of that as well.
Also, the script I based this off of was basically just for ignoring posts on SBN so I just left it in there while building upon and adding other functions.
I look to the future because that's where I'm going to spend the rest of my life.
by zephyr on Feb 10, 2010 3:22 PM EST up reply actions 1 recs
Oh shit I’m highlighting MarioD. If I could figure out how I’d get MarioD google alerts.
Killer_Carlson and Steckel Me Elmo are like brothers to me. And when I say brothers I don't mean like actual brothers. I mean it like how black people use it, which is more meaningful, I think.
by Rob Parker on Feb 10, 2010 3:27 PM EST up reply actions 1 recs
Hahah
I’ll work on an automated twitter account for him that summarizes each of his posts in 140 char.
I look to the future because that's where I'm going to spend the rest of my life.
“You’re stupid, I’m right, go lick balls.”
Killer_Carlson and Steckel Me Elmo are like brothers to me. And when I say brothers I don't mean like actual brothers. I mean it like how black people use it, which is more meaningful, I think.
This is where I come down on it – I wouldn’t ignore anyone, but see no problem with allowing users to customize their experience as they see fit.
Japers' Rink: Hockey blogging from the most powerful city in the world
I’ve two semi-issues with it.
1) It’d really suck to be a social pariah, but I guess maybe you’d have earned it? I dunno.
2) What happens when someone asks a question, and someone they ignore answers, and a long conversation starts. I guess that’s more to be missed by the ignore-er. My thoughts – let’s say I ignore terpgrrl because I’m tired of her college park football stadium love, but then I make a post, she replies, and her reply is so solid that it’s rec’d and a whole conversation stems from it. I guess it’s “Use at your own risk,” but I think that’d suck.
Familiar Rapports: Bald Pollack, F&B, Gould Old Days.
Lobbies: Osala, Perreault, Erskine, Pothier, Neuvirth, Flash.
Fan of: Mean Lars Backstrom, Line Mashing, Cake.
As noted above, Rec’d to green posts are not ignored.
I have a feeling that there are about 5 people that will think the ignore function sucks because they are afraid people will ignore them, when in reality it has nothing to do with them.
Also, at anytime someone can click the monkey, refresh the page, and POOF everything is normal. This really isn’t a big deal.
I look to the future because that's where I'm going to spend the rest of my life.
Oh, I missed that. I really have no problem with it if people ignore me, but I know so little about scripts that I’m more hesitant about that.
I don’t see it as that big of a deal, thus why I said “Semi-issues.”
Familiar Rapports: Bald Pollack, F&B, Gould Old Days.
Lobbies: Osala, Perreault, Erskine, Pothier, Neuvirth, Flash.
Fan of: Mean Lars Backstrom, Line Mashing, Cake.
I have a feeling that there are about 5 people that will think the ignore function sucks because they are afraid people will ignore them, when in reality it has nothing to do with them.
If people are afraid other people will ignore them, they should take a minute to think about why other people might ignore them and adjust their behavior accordingly to a point where contributing members of the community would not want to dismiss their input across-the-board.
But WM’s point about missing out is certainly valid and, like he says, use at your own risk.
Japers' Rink: Hockey blogging from the most powerful city in the world
by J.P. on Feb 10, 2010 3:54 PM EST up reply actions 4 recs
I’m probably not going to be using the ignore feature. It is too easy to ‘z’ past anything I don’t feel like reading.
↑ ↑ ↓ ↓ ← → ← → b a (select) start
by renstar on Feb 10, 2010 3:09 PM EST up reply actions 1 recs
I’m categorically opposed to anything that turns the Rink into a popularity contest. Seeing as this script is private and only one user can see it, I have to qualms. However, I will never use the ignore feature beyond testing it out from a programmer’s perspective.
"Dozens of people spontaneously combust each year. It's just not really widely reported."
by Laich It Or Lump It on Feb 10, 2010 3:21 PM EST up reply actions
The latter, I don’t see ignoring users as productive.
(On Mike Green) He’s urban, you northern folk wouldn’t understand!
What do you see as a productive way for users to maximize their enjoyment of the comment sections?
Japers' Rink: Hockey blogging from the most powerful city in the world
I don’t know because everyone enjoys ti for different reasons. But it’s counter-productive If you ignore a user across the board you’re missing out on the the replies to that comment too, in a way it’s cutting off your nose to spite your face.
(On Mike Green) He’s urban, you northern folk wouldn’t understand!
although as zephyr points out, there is a nifty little monkey button in the bottom right corner if we ever want to illuminate a particularly interesting back-and-forth.
by Natty Bumppo on Feb 10, 2010 6:54 PM EST up reply actions
But how do you know if it’s interesting?
(On Mike Green) He’s urban, you northern folk wouldn’t understand!
Is that really something for anyone to care or worry about except the person putting people on ignore?
I look to the future because that's where I'm going to spend the rest of my life.
presumably you’d have the other person’s answers to help you figure it out. unless you’ve blocked both of them.
by Natty Bumppo on Feb 10, 2010 11:22 PM EST up reply actions
But if you block one person the entire chain is ignored.
(On Mike Green) He’s urban, you northern folk wouldn’t understand!
gotcha. sadly, the dealbreaker for me is that chrome works so much faster on my thinkpad than firefox. hopefully i can tinker and get it loading better.
by Natty Bumppo on Feb 11, 2010 1:35 AM EST up reply actions
But that isn’t your decision to make for others to decide who they should have to and who they shouldn’t have to tolerate. If they are wiling to risk any conversation that occurs to someone they ignore, that isn’t your issue nor should you take it upon yourself to be your issue.
If I find someone so incredibly annoying that I wish to ignore them and have even asked SBN for an ignore function, that is what I wish. With this script, I know what will happen in any thread and am willing to deal with that. My problem. But only other solution to avoid someone who I find annoying is to do what I have been doing, not enjoy the site I have been hanging out at for quite some time. I dont’ think that’s the answer either.
Ever get the feeling we are on a collision course with reality?
"They who would give up an essential liberty for temporary security, deserve neither liberty or security" -- Benjamin Franklin
by ang6666 on Feb 13, 2010 12:12 AM EST up reply actions
Not replying to you specifically (or anyone) but is the ignore function more for massive threads that get created of off topic dreck, or is it for individual users who you’re tired of? I can see how one is annoying and can make the site intolerable, and the other is just annoying.
Personally, I don’t need an ignore button to ignore the people who bug me. I just don’t reply to them.
Familiar Rapports: Bald Pollack, F&B, Gould Old Days.
Lobbies: Osala, Perreault, Erskine, Pothier, Neuvirth, Flash.
Fan of: Mean Lars Backstrom, Line Mashing, Cake.
by Whiter Mage on Feb 13, 2010 10:55 AM EST up reply actions
I don’t actually have anyone ignored. I just highlighted some people so when I get to huge Caps Clips I can scroll fast and find where I want to be. Firefox works much slower than Chrome so I’m usually using Chrome anyway.
Killer_Carlson and Steckel Me Elmo are like brothers to me. And when I say brothers I don't mean like actual brothers. I mean it like how black people use it, which is more meaningful, I think.
True enough. I’m thinking about doing that myself, but have to get back to my computer first.
Familiar Rapports: Bald Pollack, F&B, Gould Old Days.
Lobbies: Osala, Perreault, Erskine, Pothier, Neuvirth, Flash.
Fan of: Mean Lars Backstrom, Line Mashing, Cake.
by Whiter Mage on Feb 14, 2010 12:23 AM EST up reply actions
Actually I like this for the ignore function … I recently sent an email to SBN asking if they plan on adding that function to SBN. They replied no. So I’m very interested in this script for this very reason alone.
Ever get the feeling we are on a collision course with reality?
"They who would give up an essential liberty for temporary security, deserve neither liberty or security" -- Benjamin Franklin
by ang6666 on Feb 13, 2010 12:06 AM EST up reply actions
Great work zephyr, first off
While I do have some programming experience, I’m not savvy enough to write such things.
One thing though: When I “z” through comments, it skips my “fav” comments. Any way to fix that?
Ovechkin = Green Backs
Please update the script again. This was my fault because I made a change in the afternoon so it wouldn’t cut the color of the post in half but in doing so it made the Z key forget that the post hadn’t been read. So the 5 people that install it during that time will have that bug.
I look to the future because that's where I'm going to spend the rest of my life.
I don’t mind the color cut because the yellow shows me its new.
"You ever use smelling salts, every time you type a bad blog?" Brooks Laich
Ok, thanks a bunch.
Ovechkin = Green Backs
by red army line on Feb 10, 2010 3:57 PM EST up reply actions
Excellent stuff Z
But, that’s the nice thing, everyone has options now instead of bickering about fairly trivial things!
Rec’d for taking the bull by the horns and doing something — Will give it a try!
"Where can you go from there? Where? ... Nowhere. Exactly. What we do is, if we need that extra push over the cliff, you know what we do?"
Hey Z – another suggestion: you might want to create a separate preferences file. That way, when you update the script, we can all save our names and color preferences. Right now, if we reload, we lose all of our own customization.
Atta dinnin stick a who!
by Gould Old Days on Feb 11, 2010 1:40 AM EST reply actions 1 recs
Just for everyone's info
this seems to work on other SBN sites (that may be implicit in the title. I just wanted to explicitly state that.) Just add the site’s URL to the “included pages” section of the greasemonkey panel.
cxcxcxcxzzzzzzzzz
Thanks for this! Just what I wanted for Christmas … :)
Ever get the feeling we are on a collision course with reality?
"They who would give up an essential liberty for temporary security, deserve neither liberty or security" -- Benjamin Franklin
by ang6666 on Feb 13, 2010 12:14 AM EST reply actions
That works well for us. You get this script and we get the Cup.
"You ever use smelling salts, every time you type a bad blog?" Brooks Laich
HEY! I want the Cup for my birthday (it’s in June)!! so don’t jump so fast at that. :)
Ever get the feeling we are on a collision course with reality?
"They who would give up an essential liberty for temporary security, deserve neither liberty or security" -- Benjamin Franklin
by ang6666 on Feb 13, 2010 3:37 PM EST up reply actions
You’ll get nothing and like it.
"You ever use smelling salts, every time you type a bad blog?" Brooks Laich
by Carl Putnam on Feb 14, 2010 10:11 AM EST up reply actions
Curious if anyone else has experienced a serious Firefox performance degradation after installing greasemonkey and then zephyr’s “Ultimate SBN” script? Love the idea – using only to highlight certain people, not to ignore anyone – but I had to turn the greasemonkey off because it bogged down Firefox so badly. For example, trying to “z” key, arrow key, or even mouse scroll down through comments was almost impossible, hestitant, herky and jerky – after hitting one of those keys, ther would be a nearly one second delay before the action materialized on screen. Perhaps I need to download the latest version of zephyr’s script?
ah-VEECH-kin
I had the same problem. I rarely use Firefox so I don’t know if that’s normal or GreaseMonkey or what, but I’ve only been using it now when it’s a huge Caps Clip thread that I get to late. Trying to use it in an active thread is near impossible.
Killer_Carlson and Steckel Me Elmo are like brothers to me. And when I say brothers I don't mean like actual brothers. I mean it like how black people use it, which is more meaningful, I think.
Ah yes, now come to think of it, I may have first tried the script while in an active thread, one on which comments were coming in at a good pace. Perhaps the auto page refreshes combined with the script having to search through to do its coloring of favs / ignores just bogs the browser down too much. I’ll try again on an older post with fewer comments to see if the script works better.
ah-VEECH-kin

by 
































