阅读:1739回复:0
帮我看看这条mason规则
大家帮我看看,这个规则对吗。用来替换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> |
|