hill
狐狸大王
狐狸大王
  • UID4423
  • 注册日期2005-03-26
  • 最后登录2020-09-09
  • 发帖数344
  • 经验131枚
  • 威望0点
  • 贡献值90点
  • 好评度3点
  • 社区居民
  • 忠实会员
阅读:1739回复:0

帮我看看这条mason规则

楼主#
更多 发布于:2010-09-02 18:31
大家帮我看看,这个规则对吗。用来替换tweetphoto的链接。
不懂代码,不知道为什么无效,我用ff4b4.
<mason>
Charset=gb2312
Author=tiramn
Created=2009/11/18
Updated=
Version=1.00
Website=http://blog.sociz.com/tiramn/
Comment=
Description=tweetphono
Usage=安装mason扩展后将此js文件拖入firefox窗口
Url=^http://tweetphoto\.com/.*
</mason>
<parts>
part1=.@@@L3
</parts>
<part1>
function _masonRedirect(spec){
return "http://beihecha.info/001/http://tweetphoto.com/" + spec.replace(/^http:\/\/.*\.tweetphoto\.com\/(.*)/i, "$1");
}
</part1>
游客

返回顶部