May. 14, 2010, 11:34 AM
Hi,
I'm looking to convert proxomitron filters to work with GlimmerBlocker however I don't have much experience writing proxomitron filters and I was hoping that I could get some assistance with this task.
GlimmerBlocker uses xml to describe its rules like so
I hope to create a mapping between Proxomitron actions and GlimmerBlocker so I can write a converter program. Any assistance would be greatly appreciated
I'm looking to convert proxomitron filters to work with GlimmerBlocker however I don't have much experience writing proxomitron filters and I was hoping that I could get some assistance with this task.
GlimmerBlocker uses xml to describe its rules like so
Quote:<?xml version="1.0" encoding="UTF-8"?>
<glimmerblocker-rules>
<rule priority="2" host="img169.imagevenue.com" host-type="is" path="/img.php" path-type="is" query="image=" query-type="contains" type="modify" whitelist="1">
<comments><![CDATA[Skip "TOS" dialog.]]></comments>
<transform language="js" version="1" content-type="html"><![CDATA[replace(/checkSurfBegin\(\);/g, ";");]]></transform>
</rule>
<rule priority="2" host="interfacelift.com" host-type="is" path="/inc_NEW/style.css" path-type="is" type="modify" whitelist="1">
<comments><![CDATA[Hide ads]]></comments>
<transform language="js" version="1" content-type="css"><![CDATA[t += "\n/* GlimmerBlocker: */\n" +
"div.ad\n" + // ads are inline, and not loaded using JS.
"{ display: none; }\n";]]></transform>
</rule>
</glimmerblocker-rules>
I hope to create a mapping between Proxomitron actions and GlimmerBlocker so I can write a converter program. Any assistance would be greatly appreciated