The Un-Official Proxomitron Forum
Prox filter editor issues - Printable Version

+- The Un-Official Proxomitron Forum (https://www.prxbx.com/forums)
+-- Forum: Proxomitron Config Sets (/forumdisplay.php?fid=43)
+--- Forum: Sidki (/forumdisplay.php?fid=44)
+--- Thread: Prox filter editor issues (/showthread.php?tid=1385)



Prox filter editor issues - whenever - May. 24, 2009 07:15 AM

edit by sidki: split from http://prxbx.com/forums/showthread.php?tid=1261&pid=12441#pid12441

<a> Remove: Ad Links 7.11.29 [sd] (d.2)

I always got a "Syntax Error" message box when I press the Test button in the test window. Does this mean the filter is never effective?


RE: sidki-config: Feb 13 2009 - sidki3003 - May. 24, 2009 07:54 AM

Probably. That can happen if you've edited the config file directly. Get a fresh copy from sidki_oob.ptron.


RE: sidki-config: Feb 13 2009 - whenever - May. 24, 2009 12:00 PM

The same thing happened on sidki_oob.ptron.

Is this the proper way to add in AdHosts.ptxt if want to remove a bad link like: <a href="http://www.badurl.com/">link text</a>
Code:
www.badurl.com        $TST(\3=.)
or:
Code:
www.badurl.com        $TST(\9=[/.])



RE: sidki-config: Feb 13 2009 - sidki3003 - May. 24, 2009 12:47 PM

(May. 24, 2009 12:00 PM)whenever Wrote:  The same thing happened on sidki_oob.ptron.

In that case i don't know what's broken for you. Usually you can trust me that i'm not distributing defunct filters. Wink


Quote:Is this the proper way to add in AdHosts.ptxt if want to remove a bad link like: <a href="http://www.badurl.com/">link text</a>

Neither one, because that link doesn't contain any img/input/image/embed tags. The filter name might be a bit confusing. It's just about linked objects, a.k.a. banners. In contrast to the "Remove: Ad Images" filter, which targets images that aren't linked.


RE: sidki-config: Feb 13 2009 - whenever - May. 24, 2009 02:13 PM

(May. 24, 2009 12:47 PM)sidki3003 Wrote:  In that case i don't know what's broken for you. Usually you can trust me that i'm not distributing defunct filters. Wink
I downloaded the http://sidki.proxfilter.net/prox-archive/prox-config-sidki-2009-02-13.zip again and the sidki_oob.ptron from the zip file is the same with my local copy. Could any one else check if you have the same problem?

Quote:Neither one, because that link doesn't contain any img/input/image/embed tags.
So, is there a option in your config to remove pure text ad links?


RE: sidki-config: Feb 13 2009 - sidki3003 - May. 24, 2009 02:30 PM

No, there isn't.

Regarding your "Syntax Error" i have *really* no clue (besides wild ones like your patched exe or Chinese input system), sorry. No Expression


RE: sidki-config: Feb 13 2009 - sidki3003 - May. 24, 2009 09:33 PM

I just had an idea. Maybe your system font is converting characters with accents to something else?
Snippet from the filter code:
publici(dad|te|té)|werbung|sponsored (by|links+)|a(dvertising|nzeigen+)(^?)

If so, then you would have the same problem with a couple of other filters, like "<div>... Remove/Hide: Ad Containers - Headers".

If that's the case then these filters are *not* broken for you, they only get mangled on edit/test, by the font. The Proxomitron GUI patch that i offer for download uses Andale Mono as preferred fixed font type (IIRC that change came from Henk's GUI).

Hopefully you don't have problems to edit/test those many filters beginning with øþø or similar, like "Top Sniff: Sel. File Types".


RE: sidki-config: Feb 13 2009 - whenever - May. 25, 2009 02:09 AM

(May. 24, 2009 09:33 PM)sidki3003 Wrote:  Snippet from the filter code:
publici(dad|te|té)|werbung|sponsored (by|links+)|a(dvertising|nzeigen+)(^?)
I can see above code correctly in a text editor with Western European (iso-8859-1) encoding selected, but not correctly in mizzmona's patched prox.
[attachment=445]

(May. 24, 2009 09:33 PM)sidki3003 Wrote:  If so, then you would have the same problem with a couple of other filters, like "<div>... Remove/Hide: Ad Containers - Headers".
No, I don't have problem with above mentioned filter. In deed, it has nothing to do with accents. It is because of mis-matched [] or (). I should have attached the snapshot earlier but I had thought you could reproduce that on your side, sorry Banging Head
[attachment=446]


RE: sidki-config: Feb 13 2009 - sidki3003 - May. 25, 2009 01:36 PM

That's the standard message if something in the editor isn't quite kosher.

Mona is using Andale Mono too:
Code:
109 DIALOGEX 0, 0, 324, 206
STYLE DS_FIXEDSYS | DS_CENTER | DS_CONTEXTHELP | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
CAPTION "HTML Webpage Filter Editor"
MENU 209
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
FONT 9, "ANDALE MONO"

You do have that font installed, right?


RE: sidki-config: Feb 13 2009 - whenever - May. 25, 2009 02:29 PM

Quote:You do have that font installed, right?
Yes, I do have that font installed. You can see from the accents_prox.png that the number zero has a dot in the center.


RE: sidki-config: Feb 13 2009 - whenever - May. 26, 2009 02:13 AM

Confirmed to be problem of mizzmona's PtronGUI patcher. The problem disappeared after using back the original version.


RE: sidki-config: Feb 13 2009 - sidki3003 - May. 26, 2009 09:34 AM

Ahh okay. Yet, not everyone using it seems to be affected.
Does the same problem appear with Henk's or my patch?


RE: sidki-config: Feb 13 2009 - whenever - May. 27, 2009 01:42 AM

I just tested your patch and it is not affected.


RE: sidki-config: Feb 13 2009 - sidki3003 - May. 27, 2009 08:59 AM

Thanks. Perhaps that's getting further attention at some point, so i'm going to split this topic now.