谈论 MS太贱了——关于firefox在live space无法发布日志的解决

 

引用

MS太贱了——关于firefox在live space无法发布日志的解决
刚刚用firefox发布日志,才发现竟然发布日志和保存为草稿两个按钮是灰色的
心想MS你要打击firefox也用不着这样吧,于是又一顿google,又让我找到了解决办法:

首先,你需要安装Firefox扩展 greasemonkey。这个扩展可以使你在加载一个页面的时候执行一段你自己的Javascript程序。

安装之后,将下面的程序拷贝到一个文本文件,并把扩展名改成 .user.js。(务必是.user.js,否则greasemonkey无法自动安装之)。

===脚本开始,拷贝时请不要包含这一行===
// ==UserScript==
// @name Enable Live Space Post Button
// @namespace http://ftofficer.spaces.live.com
// @description Enable Live Space Post Button
// @include http://*.spaces.live.com/*
// ==/UserScript==

function LiveSpace_enableButton(id) {
var button = document.getElementById(id);
if ( button ) {
var cls = button.getAttribute("class");
var clsNameEnd = cls.indexOf("spDisabled");
if ( clsNameEnd != -1 ) {
clsNameEnd–; // skip " " before spDisabled
var newCls = cls.substring(0, clsNameEnd);

button.setAttribute("class", newCls);
button.setAttribute("mi:state", "enabled");

var aNode = document.createElement("a");
aNode.id = id;
aNode.href = "#";
}
}
}

LiveSpace_enableButton("actionToolbarBlogPost");
LiveSpace_enableButton("actionToolbarSave");

===脚本结束,拷贝时请不要包含这一行===

然后将这个js文件拖放到Firefox窗口中,greasemonkey会弹出对话框询问是否安装,选择是,即可完成安装。

然后,去Live Space的“添加日志”当中看看吧。

如果看到“发布日志”和“保存为草稿”仍然没有启用的话,请看看greasemonkey当中配置的网直通配符是不是和你的网址一致,自己改改看看。在不行可以在这里回复。

音乐

    明天出发,随便写写,开学就没时间了。
    打开某人blog,发现居然听到了背景音乐。其实应该是一直都有的,只是我的音箱坏了很久,耳机后来也坏掉了,于是看了半个学期的默片。
    还有,现在拿WMA作背景音乐的不少,Firefox放不了。
    今天正好插了耳机,于是听到了。然后就听了一个半小时把所有歌听完了。还是有点机缘巧合的。

    用Gmail更新有点不爽,但是俺的Space死活不让俺发日志。发邮件给Live Space团队,告诉我如此这般这般,然而无效。现在有两种选择:要么用邮件更新,要么用Firefox+GreaseMonkey……

    假期窝在房子里写作文,期间出门不到十次。用这段时间证明了一件事情:没有微软,没有盗版软件,至少我可以活得好好的。
    余下的,就此按下不表。

China may relax Internet curbs during the Olympics: official

3 days ago

BEIJING (AFP) — China is debating whether to relax control of the
Internet during the Olympics, allowing access to banned websites such
as the BBC, a spokeswoman for the organising committee said Tuesday.

Plans
to tear down the so-called Great Firewall of China were being debated
and a decision was expected soon, said Wang Hui, head of media
relations for the organising committee.

"We are studying this now
based on suggestions of some journalists and a study of the experiences
of other countries, so during the Olympics there may be some changes,"
she said. "This is one of the ways the Olympics may promote progress in
China."

China tightly polices cyberspace and Chinese web surfers
see a stripped-down version of the Internet minus some news sites such
as the BBC and those belonging to human rights groups or any other
sites judged subversive by the country’s communist rulers.

Wang
said that changes were expected to be in place in time for the Olympics
for the 20,000 foreign journalists planning to cover the Games.

"I
believe you will be able to (access banned sites such as the BBC) but I
can’t give you a promise yet. The relevant government departments are
still working on it," she said.

It was unclear whether Chinese
citizens would benefit from the plan to reduce Internet oversight but
wider reporting freedoms introduced for foreign journalists here last
year have not been extended to domestic reporters.

From January
1, 2007, travel and interview restrictions were lifted on foreign
journalists working in China in line with the country’s undertaking to
provide free access to the country for the media before and during the
Games.