喜好

侧边栏菜单中有一个新项目“首选项”At the moment, it provides two options: a menu to choose a default font size, and a checkbox to display referrer listingsHowever, like any preferences system, over the course of the next few years it will expand to several hundred options.

The font size switcher addresses the number-one complaint about 万博manbetx贴吧’s design: that the body font is “too small”This stemmed from the fact that (1) I specify the default font size using px (a CSS unit of measurement that corresponds, more or less, to screen pixels); (2) one popular browser won’t let users resize text specified using px; and (3) that browser happens to be used by 90-95 percent of the world.

Rather than offer only a small/medium/large triumvirate of font size options, this site’s switcher allows you to choose any size from 10–16 px, or to use the default size specified in your browser’s preferences(Implementation note, of potential interest to web nerds:Rather than switching between multiple style sheets, I’m still using just one screen-media style sheet, but which is partly assembled on-the-fly using PHP tomfoolery.)

Making the referrer listings a preference, off by default, solves a few problemsThe main one is that it acts as a gentle countermeasure against spammersIf you pay attention to DF’s referrer listings, you may notice the daily appearance of “referrers” which quite obviously are not actually linking to this site, the vast majority of these forged referrers coming from our good friends in the pornography industry.

推荐人垃圾邮件是不断增长的家庭手工业The point of it, however, is indirectI don’t think these scum bags have any interest or hope that 万博manbetx贴吧 readers are particularly likely to click a link to “gay-hitchhiker.top-porn-sites.net” (not made up); what they’re trying do to is gain a bit of谷歌汁基本理念是:

  1. 万博manbetx贴吧 is at least somewhat respected by the major search engines.
  2. These search engines spider DF and take note of the sites I link to.
  3. Thus, a link to a porno site in my referrer listings will be noted and given some iota of PageRank value by search engines.

我不是说这实际上适用于垃圾邮件发送者In fact, I strongly suspect the major search engines — Google, Yahoo, and MSN in particular — have some anti-spam defenses in place to counter this sort of chicanery.

But regardless, by no longer listing referrers by default, search engine spiders will no longer see any of these linksThis will have no preventive effect whatsoever to keep the spammers out, but it guarantees they won’t benefit from their scum-bag behavior.

格鲁伯vs.尼尔森

Humility almost, but not quite, prevents me from directing your attention to Andrei Herasimchuk’s “大师诉博客”, wherein yours truly is pitted against Jakob “Two Wide Columns of Text Are Better Than One” Nielsen.

以前: Sundry'Spray-On'澄清和更正
下一个: 哭狼