Post Reply 
sidki's config set: previous
Mar. 27, 2004, 05:33 AM
Post: #46
 
I have been using Proxomitron since the time popups started to get annoying. But I have never really delved into the workings of the filter systems. So please understand where I am coming from if I seem like a neophyte.

Sidki's filter set is very stupendous, it must be hard to get your filters to work for all the messy code out there. Smile! But I have ran into a predicament with some sites that should be coded well but don't work well with the filters. :P And I did what Sidki suggested in the first post to turn off some of the debug filters. I am running JakxPack IV with Sidki' set and I have tested all of these in both Opera and Firefox and they all return the same result except the last one:

1) Tucows doesn't work: http://www.tucows.com/preview/231121.html
I get everything up until the category listing which would be "Windows > System and utilities > File encryption > Advanced Encryption Package 2004 Professional", everything after that is blank except for the nagivation bar at the bottom.

2) MozillaZine forum's navigation bar doesn't work: http://forums.mozillazine.org/
The navigation boxes on the right side doesn't work at all, all I see is two little rectangle boxes.

3) Dictionary.com's search: http://dictionary.reference.com/search?q=nonpareil
This last one is very strange. If I type in a correctly spelled word one after another, it will work. But if I type in a mispelled word, I won't get any results of the corrections and I can't look up anymore words even if I type in the correct spelling. So the only remedy I found was to clear the cache where then I can start using the dictionary again but the cycle will repeat if I type in a mispelled word... (*Note: The thesaurus works perfectly...)

4) There's another one with JavaScript and it only breaks in Firefox but it's a private site so I will just paste the code here. The site has tables like this:
Quote:<tr bgcolor="#7DB6F0" onmouseout="mOut(this,'#7DB6F0');" onmouseover="mOvr(this,'#E7E9CF');" onclick="popup('2950')"><td height="18" valign="middle"> NASA Seeks New Frontier in Jet Engines</td></tr>
And this is the script for the mouse events:
Quote:<script language="javascript">
<!--
function mOvr(src,clrOver)
{
if (!src.contains(event.fromElement))
{
src.bgColor = clrOver;
src.style.cursor = 'hand';
}
}

function mOut(src,clrIn)
{
if (!src.contains(event.toElement))
{
src.bgColor = clrIn;
src.style.cursor = 'default';
}
}

function popup(id)
{
var newurl="view.asp?id="+id
window.location=newurl
}

-->
</script>
So the problem is that everytime I move my mouse over one of these table elements (they are really links), I keep getting " &#8226; JS Error: event is not defined" added after the little bar appended by your script and eventually... it fills up the screen. And the table background doesn't get changed either but that's probably a Firefox problem...

Thanks for your time. Smile!
Add Thank You Quote this message in a reply
Mar. 27, 2004, 06:28 AM
Post: #47
 
Hi "~Seikatsu~",
Welcome to the FORUM!
Cheers Glad You are Here. Smile!
I fired up FireFox and clicked on the links. No Problem here. I'm running Xp with IE 6 browser. You might try downloading and running "SafeXP" to take care of those error messages. It turns error messages off. "Click Here"
Best Wishes,
"~JaK~" [smoke]
Add Thank You Quote this message in a reply
Mar. 27, 2004, 06:05 PM
Post: #48
 
Hi Seikatsu,

Seikatsu Wrote:1) Tucows doesn't work: http://www.tucows.com/preview/231121.html
I get everything up until the category listing which would be "Windows > System and utilities > File encryption > Advanced Encryption Package 2004 Professional", everything after that is blank except for the nagivation bar at the bottom.
Uh-oh, that's a bug - thanks! Big Teeth
Right-click the Proxomitron tray-icon -> Edit List -> AddCommentPairs (*.ptxt needs to be set to open in an editor).
Look for...
Code:
(^(^- ))$NEST(- (ad(v(er|)t| : \w| -| space| server))\1, ?+{20}*,
  - ((end(e|s|)( of| :|))|/) $TST(\1)) ?++{0,160}- >  $SET(2=d10: )
... and replace it with
Code:
- (ad(v(er|)t| : \w| -| space| server))\1 ?++{0,80}- >
  $INEST(- $TST(\1), ?+{20}*,- ((end(e|s|)( of| :|))|/)\4 $TST(\1))
  - $TST(\4) $TST(\1) ?++{0,160}- >    $SET(2=d10: )

Quote:2) MozillaZine forum's navigation bar doesn't work: http://forums.mozillazine.org/
The navigation boxes on the right side doesn't work at all, all I see is two little rectangle boxes.
That's by design. There is a link on the upper left: "Toggle Original Layout". If you don't want that, disable "MozillaZine: Alternate Display 4.02.10 (toggle) [s] (d.s)".

Quote:3) Dictionary.com's search: http://dictionary.reference.com/search?q=nonpareil
This last one is very strange. If I type in a correctly spelled word one after another, it will work. But if I type in a mispelled word, I won't get any results of the corrections and I can't look up anymore words even if I type in the correct spelling. So the only remedy I found was to clear the cache where then I can start using the dictionary again but the cycle will repeat if I type in a mispelled word... (*Note: The thesaurus works perfectly...)
And another bug! Edit "AddCommentPairs.ptxt" again - this time look for...
Code:
Advertising.com[^a-z/] ?+{20}*(,|end) (Advertising.com)\1 ?++{0,30}-- >    $SET(2=a02: )
... and replace it with
Code:
- Advertising.com[^a-z/] ?+{20}*(,|end) (Advertising.com)\1 ?++{0,30}-- >$SET(2=a02: )

Quote:4) There's another one with JavaScript and it only breaks in Firefox but it's a private site so I will just paste the code here. The site has tables like this:
<snip>
As probably has become apparent by now i'm not exactly a JS specialist [lol], but IIRC the "event" object is IE proprietary.
Actually you will see JS errors quite often with Gecko browsers. To turn that off, disable "Error Messages to Footer 3.12.08 (ie moz endhdr never) [s] (d.1)".
Note: Such errors also happen if you don't filter the page -- You just don't see them, unless you have the JS console open.
Also, if there is demand i can add a "don't show errors" bypass section for those heavily error-loaded sites.


PS: If you get the feeling that this config is too complicated, i would recommend JD's config set. It is not only very good, but JD also pays much attention that it is easy to understand and to handle for people new to Proxomitron's language.
I would miss your bug reports tho Big Teeth

sidki
Add Thank You Quote this message in a reply
Mar. 27, 2004, 07:56 PM
Post: #49
 
Hmmmmm, . . .I'm wondering why I didn't experience the problem! I think I'll check to see if I've got a browser "leak" somewhere, . .

Later "Guys",
"~JaK~~"
Add Thank You Quote this message in a reply
Mar. 27, 2004, 08:05 PM
Post: #50
 
Hey Jak, i think you didn't see the "Ad-Comment" bug on that dictionary.com page because it is dynamically generated. I needed to hit reload a couple of times to see it. Very tricky! [lol]

Thanks for jumping in,
sidki
Add Thank You Quote this message in a reply
Mar. 28, 2004, 02:29 AM
Post: #51
 
I uploaded a zip with the bugfixes so far, an updated readme, and optional files.
D/L link and more details are in the first post.
Add Thank You Quote this message in a reply
Mar. 28, 2004, 03:01 AM
Post: #52
 
Thanks Sidki for the bugfixes Smile! And that "MozillaZine: Alternate Display 4.02.10 (toggle) [s] (d.s)" filter is great! I thought that "Toggle Original Layout" was a MozillaZine.org code. Hehe, silly Me. I am sorry if I looked ignorant asking for fixes which were already intentional, I should have gone through the filters more carefully...

I have used JD's filter set since last September, but I think it's too strict on some sites I visit especially when I use Opera/Firefox and I think I need to try something new anyways. Your filter is a great alternative that is a bit more 'laxed but still has that "secure" feeling to it.

I will keep reporting in bugs as I see them. Smile!
Add Thank You Quote this message in a reply
Mar. 28, 2004, 05:06 AM
Post: #53
 
Ummm..., is it possible to request another translation than Google's automatic web translation page because it's only limited to Italian, French, Spanish, German, and Portuguese... Maybe you coul use Google's Language Tools or Altavista's Babel and make it into a translation toolbar on the top set as the key "t" like in JD's set..
Add Thank You Quote this message in a reply
Mar. 28, 2004, 06:29 AM
Post: #54
 
Nevermind....
Add Thank You Quote this message in a reply
Mar. 28, 2004, 12:19 PM
Post: #55
 
Google came in handy because it's the only engine with auto-recognition.
For other languages i suggest bookmarklets. Here is what i use (language -> English).
Add Thank You Quote this message in a reply
Mar. 28, 2004, 01:51 PM
Post: #56
 
The Geobytes site-specific filter was broken:
Code:
[Patterns]
Name = "Geobytes: Clean up IP Locator Page     4.03.28 [s] (d.s)"
Active = TRUE
URL = "www.geobytes.com/iplocator.htm"
Limit = 8000
Match = "<(link)\2*>$SET(styled=)"
"|<!-- (msnavigation)\2 -- >*(<div align=$AV(left)> <form)\3$SET(comment=)"
"|<a href="http://www.geobytes.com/(FAQ)\2*from the WHOIS data.\s"
"|<p> <a href="(TagsHeaders)\2*</p>"
"|(valign="top">)\1 <table*Check (out Geobytes)\2*</table>"
"|<p>This map was (dynamically generated)\2*(^(^</body>))"
"|<p><font (size)\2="2">*(^(^</body>))"
"|<!-- BEGIN GEOBYTES GEOREPORTS CODE*END GEOBYTES (GEOREPORTS CODE)\2 -- >$SET(comment=)"
Replace = "\1\r\n<!-- PROX-S: Removed by Geobytes Cleaner (\2) -->\r\n\3"
Add Thank You Quote this message in a reply
Mar. 29, 2004, 12:46 AM
Post: #57
 
Is anybody able to download that bookmarklet attachment? I keep getting sent to this:
Quote:<script type="text/javascript">document.location="http://www.cheatandwin.com/~proxo/
forums/index.php?act=Attach&type=post&id=389&sniffed:html";</script>
Add Thank You Quote this message in a reply
Mar. 29, 2004, 02:23 AM
Post: #58
 
Join the crowd...
I haven't been able to download from this site since day one...
Add Thank You Quote this message in a reply
Mar. 29, 2004, 02:38 AM
Post: #59
 
Here is an offsite link Smile!
Add Thank You Quote this message in a reply
Mar. 29, 2004, 06:02 AM
Post: #60
 
Hmmmm, still... Google's automatic translation page is only limited to Italian, French, Spanish, German, and Portuguese. But if I must, because I thought it would be useful in your filter set, I could always get the code for the toolbar from JD's filter set which has a broader range to pick from and seemed more convenient right at the top... Big Teeth
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: