关于5/24的所有......

sidki config set的配置、使用,新手入门首选

Moderator: phoenix

ddbb
Moderator
Posts: 425
Joined: Jan 07 2008, 13:30

Re: 关于5/24的所有......

Post by ddbb »

:lol:

确实可以的........

这句厉害...........

可是没看懂语法.........恩........先死记下来吧.......... :?
User avatar
phoenix
Site Admin
Posts: 529
Joined: Dec 29 2007, 16:27

Re: 关于5/24的所有......

Post by phoenix »

sidki3003 wrote: Sidki 2009-05-24 Alpha 4:
  • Several changes to run smoothly on openSUSE, especially in Konqueror.
  • Several changes in the *.js files, to make them editable by Linux utf-8 editors.
  • Added 43unite's "Proxomitron via Wine on Linux" help file.
  • Numerous modifications, discussed elsewhere in this subforum over the past weeks.
  • Scattered code corrections, list entry removals/additions.
  • If you're using the config's general CSS for your own filters: I've renamed all classes/IDs starting with Prox/ProX/prox to Pr0x/Pr0X/pr0x, in order to avoid (intentional or accidental) collisions with page code.
http://sidki.proxfilter.net/prox-archiv ... -alpha.zip
User avatar
phoenix
Site Admin
Posts: 529
Joined: Dec 29 2007, 16:27

Re: 关于5/24的所有......

Post by phoenix »

使用 Sidki 2009-05-24 Alpha 4 规则包的朋友,如果 Log-Rare.log 中有记录,能否打包传上来?

我会提交给 sidki ,便于他改进规则。
ddbb
Moderator
Posts: 425
Joined: Jan 07 2008, 13:30

Re: 关于5/24的所有......

Post by ddbb »

我都忘了我用的是不是aplha 4 了
Last edited by phoenix on Oct 12 2009, 09:37, edited 1 time in total.
Reason: 为保护隐私,移除附件
Bonnie
Moderator
Posts: 165
Joined: Oct 05 2008, 01:27

Re: 关于5/24的所有......

Post by Bonnie »

(^(^</head>))只能被一个规则匹配吗?好像勾上多重匹配也不行?
User avatar
phoenix
Site Admin
Posts: 529
Joined: Dec 29 2007, 16:27

Re: 关于5/24的所有......

Post by phoenix »

Code: Select all

[Patterns]
Name = "Not Not Test 1"
Active = TRUE
URL = "www.baidu.com/"
Limit = 500
Match = "(^(^</title>))"
Replace = "What is$STOP()"

Name = "Not Not Test 2"
Active = TRUE
URL = "www.baidu.com/"
Limit = 500
Match = "(^(^</title>))"
Replace = " Proxomitron!$STOP()"
Attachments
not_not_test.png
not_not_test.png (6.93 KiB) Viewed 8587 times
Bonnie
Moderator
Posts: 165
Joined: Oct 05 2008, 01:27

Re: 关于5/24的所有......

Post by Bonnie »

谢谢,测试了下应该是正常的。
red
Posts: 99
Joined: Mar 09 2010, 16:25

Re: 关于5/24的所有......

Post by red »

ph,修改后的Remove/Hide: Ad Containers - Headers 09.06.27 [sd] (d.3 l.3),是否是ad这样的字符串不会被判定为广告
http://www.sangfor.com.cn/forum/read.php?tid=1742 依然被过滤
User avatar
phoenix
Site Admin
Posts: 529
Joined: Dec 29 2007, 16:27

Re: 关于5/24的所有......

Post by phoenix »

目前的检测逻辑是,如果 ad 前面没有字符,或者是这些字符 [%20-%40%5b-%60%7b-%7e] ,则判定为广告。你说的例子符合没有字符的情况。

你可以在 AdKeys-S 中将那个论坛帖子的 class 值保护起来。
red
Posts: 99
Joined: Mar 09 2010, 16:25

Re: 关于5/24的所有......

Post by red »

谢ph,已经明白

Code: Select all

# protect being hit by filter "Remove/Hide: Ad Containers - Headers"
www.sangfor.com.cn/forum/read.php?tid=1742 	  $SET(sAdKey=.f14.)$SET(sAdKeyR=<!--protect-->)
Post Reply