发布ChinaUnix Forum Menu 0.7.3

最近CU论坛变化很大,所以修改了解析论坛用的正则表达式和解析策略(改成根据显示论坛的表格来解析了)。

为了美化调试信息,学会使用了javascript中的如何重写对象的toString方法

Klass.prototype.toString = function () {
    
return "something meaningful";
}

还有,修改了build脚本里不更新属性文件中版本信息的bug(bug现象是安装新版本后第一次启动Firefox不显示ChinaUnix Forum Menu的主页)

下一个版本可能会提供一个选项对话框,可以设置解析用的正则表达式。

下载扩展请访问 http://guoyong.org/cu-forum-menu
Addons更新需要审核,比较慢(而且似乎更新有些问题),建议不要从那里下载或更新了。

One thought on “发布ChinaUnix Forum Menu 0.7.3

  1. 你好,通过CU来到你的blog,有一个问题想请教。

    因为很多网页都使用了DHTML或者AJAX,使得如果简单urllib是无法取得网页真实信息的,我想使用python来调用firefox,从而取得网页经过ajax执行后的真实信息。不知道您是否能给我一点帮助或者提示呢?谢谢

Leave a Reply

Your email address will not be published. Required fields are marked *

*

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.
For more help see http://daringfireball.net/projects/markdown/syntax

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>