Page 1 of 1

关于<start>的使用限制

Posted: Oct 08 2009, 15:19
by tiramn
今天刚开始学习Proxomitron的使用方法,对其中match: <start> 比较感兴趣。
但是发现<start>并不是对所有地址都适用,百度也没有结果,不知道有哪位大大知道其中的原因或者有类似经验。
使用版本: Naoko 4.5 June版本 没有sidki扩展包。
match:"<start>"
replacement:"abc"
其他项目都为空。

测试页面:
http://www.tianya.cn/
页面源代码的最前方出现abc。(正常)

http://static.tianya.cn/js/global/__ty_vip.js
下载文件的最前方没有任何变化。(???)

谢谢。

Re: 关于<start>的使用限制

Posted: Oct 09 2009, 04:37
by Bonnie
没用过这<start>,不过看帮助文件
they simply insert the replacement text either at the beginning or end of a web page.
写的是作用于网页,而不是js文件。

Re: 关于<start>的使用限制

Posted: Oct 09 2009, 09:46
by phoenix
没错,<start>和<end>标记只作用于普通网页文件。
Scott wrote:Also filters that insert stuff to the start or end of a web page will only do so for "text/html" - otherwise it
tends to break javascripts and stylesheets.

Re: 关于<start>的使用限制

Posted: Oct 09 2009, 14:22
by tiramn
Bonnie wrote:没用过这<start>,不过看帮助文件
they simply insert the replacement text either at the beginning or end of a web page.
写的是作用于网页,而不是js文件。
明白了,万分感谢楼上2位大大的回复。
顺便修改了一下代码,寻找exe文件中
83FA028B55280F94C1串,
替换成
33C9028B5528FEC190
就可以去除<START>, <END>的限制了。

Re: 关于<start>的使用限制

Posted: Oct 09 2009, 22:44
by phoenix
tiramn wrote: 顺便修改了一下代码,寻找exe文件中
83FA028B55280F94C1串,
替换成
33C9028B5528FEC190
就可以去除<START>, <END>的限制了。
能否照 http://www.proxomitron.cn/rwin_patch 的格式说明下原理?