Bonjour,
Proxomitron est utilisable directement avec ses paramètres par défaut. Mais c'est vrai que si l'on veut les modifier il faut un peu chercher et tâtonner.
Je ne parle pas ici de créer soi-même ses filtres dont il faut d'abord comprendre la syntaxe, ce qui n'est pas évident.
J'avoue m'y être un peu intéressé au début mais avoir vite abandonné.
Pour les curieux, quelques extraits du fichier Default.cfg, qui ne comprends que 707 lignes de texte:
##
## Proxomitron Config File
##
[Global]
...
[WinSizes]
Win.00 = 310:239:714:529
Win.01 = 198:155:602:445
Win.02 = 160:106:639:494
[Blocklists]
...
[HTTP headers]
In = FALSE
Out = FALSE
Key = "URL: Un-Prefixer (Out)"
Match = "[^\]+\w[^a-z]((http|ftp)(%3A|:)(%2F|/)[^&]+)\1"
Replace = "$JUMP($UESC(\1))"
In = FALSE
Out = TRUE
Key = "URL: Enable Keyword search (Out)"
URL = "[^./]+/(^?)&\w[a-z]&$JUMP(
http://www.google.com/search?q=\h)"
...
In = TRUE
Out = FALSE
Key = "Content-Type: Fix MIME types (In)"
Match = "text/*&$URL(https+://[^/]+*.([a-z0-9]+{2,5}(^?)&&$LST(MIME-List)))"
Replace = "\0"
In = FALSE
Out = FALSE
Key = "Content-Type: Show contents of .pac files (in)"
Match = "application/x-ns-proxy-autoconfig"
Replace = "text/plain"
...
[Patterns]
Name = "Banner Replacer"
Active = FALSE
Multi = TRUE
Bounds = "<a\s[^>]++href=*</a>"
Limit = 800
Match = "\0<img (\1border=\w|) \2 src=$AV(*) (\3border=\w|) \4"
"&(*(src|href)=$AV($LST(AdKeys)*)|"
"(*width=[#460-480] & *height=[#55-60])|"
"(*width=[#88] & *height=[#31]))*"
Replace = "\0<img \1 border=1 \2 src=http://Local.ptron/killed.gif \3 \4"
Name = "Banner Blaster (limit text)"
Active = TRUE
Multi = TRUE
Bounds = "<a\s[^>]++href=*</a>|<input*>|<ilayer*</ilayer>|<iframe*</iframe>|<object*</object>"
Limit = 900
Match = "(<(ilayer|iframe|object)*|\1<i(mg|mage|nput)*src=$AV(*)*>\3)"
"&(*(href|src)=$AV($LST(AdKeys)*)|"
"*http://*<i(mg|mage|nput)\s(*>&&"
"(*width=[#460-480]&*height=[#55-60]*)|"
"(*width=[#88]&*height=[#31]*)))"
"&(*alt=$AV((?+{18})\2*|\2)|$SET(2=Ad))"
Replace = "<center>\1<font size=1 color=red>[\2]</font>\3</center>"
Name = "Banner Blaster (full text)"
Active = FALSE
Multi = TRUE
Bounds = "<a\s[^>]++href=*</a>|<input*>|<ilayer*</ilayer>|<iframe*</iframe>|<object*</object>"
Limit = 900
Match = "(<(ilayer|iframe|object)*|\1<i(mg|mage|nput)*src=$AV(*)*>\3)"
"&(*(href|src)=$AV($LST(AdKeys)*)|"
"*http://*<i(mg|mage|nput)\s(*>&&"
"(*width=[#460-480]&*height=[#55-60]*)|"
"(*width=[#88]&*height=[#31]*)))"
"&(*alt=$AV(\2)|$SET(2=Ad))"
Replace = "<center>\1<font size=1 color=red>[\2]</font>\3</center>"
Il faut d'abord comprendre comment cela fonctionne avant de vouloir modifier soi-même, autrement que par les menus proposés.
@+