It crashed my browser. I am not kidding.
The script looks harmless enough, so it may be a bug in the Greasemonkey extension, possibly a conflict with Adblock.
Well it didn't crash mine, and I can only test so much, you know?
I guess it might be w-lfs-n's way of taking over the world. He failed to mention that.
First the web browsers of a subset of unfogged readers, tomorrow the Sudetenland!
So, on my browser (IE whatever) there's another post below this with the update, but when I try to leave a snarky comment on it ("Now if only he can write a script to prevent double posts") it says "No such entry." Is this a snark-blocker?
Double posted; that one's deleted, site is being rebuilt, which takes a couple of minutes.
I saw it too, and now it is gone. Bye-bye, updated post.
The update is also deleted, unless there's another rebuild in progress.
All this reminds me of a bit from To Say Nothing of the Dog, though to say which bit would spoil the plot. God, I suck, I shouldn't post this at all.
I object to the tone of the update. A crashed browser isn't the worst thing in the world.
I note that I use FF, but not Ben's script (or Greasemonkey), and w-lfs-n still made my browser crash just now.
Seriously: did anyone else try it, and did it fail for them too? Because this version works a lot better.
Wait, how does the second one work? What if I change the stylesheets?
It's not the stylesheets but the structure of the page you'd need to change. It works by selecting all of the comment divs on the page (identified by having the class "blogbody") that have as sub-tags an anchor whose inner text contains "ogged", and then changing the style so that they don't display.
When I went looking for your photo, w-lfs-n, I came across a number of posts on Python forums. These posts, IIRC, included questions. Now that I know you are not all knowing, I'm unwilling to be one of your test monkeys.
You think that's funny, don't you Ben?
By "change the stylesheets" I meant "change the names of tags in the stylesheets." Which would be easy to do, and would break your code.
SCMT: Since ogged basically told you how to get to my photo, I'm surprised you had to go looking for it.
But not too surprised.
The stylesheets are the files that end in "css". You would have to change the generated html too.
But it's true, that would break it. But not irrevocably. I can already envision another way to do it that would be based on the way comments are credited
But it was really just a learning exercise.
You're like, genuinely pedantic, aren't you? If I change the tags in the stylesheets, I'd also have to change the tags in the template that's used to generate the html.
w-lfs-n:
Build a script that plays an audio file of Colonel Klink saying, "w-lfs-n!" for moments when you zing me like that.
Yes, you would have to do so if you wanted things to work. But you wouldn't do so by changing the stylesheets (unless you have some sooper-k3wl stylesheet editor, I guess).
Of course, only an idiot would change the stylesheet and not change the template, which is why (the implication that your interlocutor is an idiot) people get annoyed by pedantry. Not that I want to shut down the blog or anything.
You're right, of course. It's not as if you're, say, SCMT.
Ogged, there's no need to explain to us how pedantry works. What do you take us for?
Build a script that plays an audio file of Colonel Klink saying, "w-lfs-n!" for moments when you zing me like that.
I like this immensely. If only we could all come up with absurd punishments for those who have annoyed us, and then expect to see them carried out. "Jim, your backseat driving has irked me too long! I'd like you to go into a stall in a very public restroom with lots of traffic, smear a hershey's bar across your face, flush the toilet, and emerge, whistling obliviously. Exit without washing your hands."
Chopper, where the hell did that come from? No, don't tell me.
I like the Klink idea; I even like it better than my Klink idea.
I think you have a promising career as a Vegas stage hypnotist, Chopper.
Sorry. I'm climbing the walls waiting on phone calls. It could be a long week.
That's awesome, apo. I saw, what's his name? Tom DeLuca? many years ago, and wondered about raunchier possibilities. Must be very funny.
That doesn't answer my question, Chop, but that was as per my request.
Aaargh, Chop, that sucks. Big-time. Hope you get one soon. Try to stay drunk till then.
ogged: I did try to answer your request by not directly answering your question. I'm a bit punchy today, hence the ramped up grossitude of pretty much every comment I've made.
Matt: Actually, I guess it's good stress. I'm interviewing for multiple jobs, and I'm trying to time everything correctly so that I don't overcommit before all options are suitably explored, while at the same time being sure to know when the time to take the jump is (at a certain point, you just ahve to commit, no looking back). There's a lot of juggling going on, both inside my head and out.
wondered about raunchier possibilities
ben - i installed it and it works. good on you, etc.
also, mysteriously, some of the horizontal lines separating comments have become double, and in chopper's case, triple. this is peculiar.
(is trying to figure out the rhyme and reason underlying this particular phenomenon...)
Heh. Uninstall that one and use the one linked in the main post.
(The second one removes all of ogged's comments but retains the horizontal lines.)
i was entertaining all sorts of theories such as primes, fibonacci sequences, none of which, i am afraid to say, panned out.
occam's razor, etc.
i think w-lfs-n was flirting with ogged. the old i-kick-you-because-i-like-you routine evolves, with age, and programming training, into mischievous greasemonkey scripts.
apo,
do you despair as much as i do? things are looking grim.
snees
Despair? I don't know so much about despair. I am awfully disappointed in a large chunk of my fellow citizens, who I really thought were better and smarter people than they are.