Post Reply 
A proper way to put code before </head> tag
Dec. 14, 2010, 02:45 AM
Post: #11
RE: A proper way to put code before </head> tag
(Dec. 13, 2010 04:09 AM)OZO Wrote:  If I get your point correctly, from the perspective of an easy way to add new filters in future official sets (if necessary) the best way to do it now (and in this particular case, to make this IE6 exception) is to use "Exceptions-U.ptxt" rather then to put corresponding filter into "default.cfg". Right?

lol, I'm not sure.

If you publish a cfg file that looks something like

Code:
[Blocklists]
List.test = "..\lists\test.txt"

[HTTP headers]
In = FALSE
Out = TRUE
Key = "! : New-HTTP-header"
URL = "Maybe some stuff here"
Match = "Maybe some stuff here"
Replace = "Maybe some stuff here"

[Patterns]
Name = "a web filter"
Active = TRUE
URL = "Maybe some stuff here"
Bounds = "Maybe some stuff here"
Limit = 256
Match = "Maybe some stuff here"
Replace = "Maybe some stuff here"

This may allow people to add the package to their set automatically via the "Merge-O-Matic". The "Merge-O-Matic" opens after you select "Merge config filters" under "File" on Proxomitron's main screen. It can merge properly formated data to the user's current cfg from a file or the clipboard. If they like, they save their new cfg. However, the merged filters may need to be moved.

The alternative is to require editing Exceptions-U.

Having written the above, I think I would require editing Exceptions-U. It looks like too few people will need this for it to take up space in the header filters. Those that do will learn how to use the set. Those that don't could add it commented out.

HTH
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
RE: A proper way to put code before </head> tag - JJoe - Dec. 14, 2010 02:45 AM

Forum Jump: