From the category archives:

Code

I just put together a quick Greasemonkey script that will select the “Notify me of follow-up comments via email” checkbox by default when leaving a comment on an IntenseDebate-powered blog or website.

Apparently some people still like email. It’s ok Rick, we still love you, although some sort of intervention may be in order.

You can download the script from userscripts.org. Feedback is welcome either on this post or as a comment on userscripts.

{ 3 comments }

I read several blogs that use Blogger as their software platform, and in what shouldn’t come as a surprise to anyone, I leave comments using OpenID. I got tired of having to always change the comment identity selection away from my Google ID, so I wrote a greasemonkey script that does it automatically by selecting the identity option to use OpenID instead of the default.

You can download the script from userscripts.org. Feedback is welcome either on this post or as a comment on userscripts.

Selecting the OpenID identity on Blogger

[tags]blogger, openid, greasemonkey, comments[/tags]

{ 2 comments }

It’s OPML Thursday!

May 8, 2008

What? You didn’t know today was OPML Thursday? Neither did I, until I threw that up there in the title of this post.

I figured that the especially RSS-geeky among you might care to peruse my current Google Reader OMPL file. I think I removed all personal/private/incriminating feeds. Hopefully.

How about you? What’s in your reader?

[tags]opmlthursday, opml[/tags]

{ 1 comment }

I spent far too much time last night on a problem that should have been obvious. It was a sign my CSS skillz are a bit rusty. Here’s how the problem presented itself: I was updating a website for a client and one of the desired results was that links would change color on mouseover using the a:hover selector. Nothing too crazy there. In fact, that code was already in the partially-complete stylesheet that I’d been given by the client.

As we wrapped up changes to the website, there was an odd issue with the styling of the links. We had two groups of links, and in each group, some of the :hover styling would be shown, and some wouldn’t. It was pretty random. Where things got even weirder, but I started to get a clue as to what was going on, was when the client reported they had the same problem on their end, but it was different links that were working or not. What would make it different between computers? A browser cache. And if it’s a browser cache, it might have something to do with :visited. Aha.

Order matters in CSS. After looking at the stylesheet it hit me: the definition for a:hover was above that for a:visited. As a result, the :visited styling kept getting applied and overrode the :hover styling. As soon as I rearranged the CSS, the formatting performed as desired.

Remember: in CSS, order matters.

[tags]css[/tags]

{ 0 comments }