Author Topic: HighLite list ?  (Read 3984 times)

chriscangr

  • Newbie
  • *
  • Posts: 2
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • Email
HighLite list ?
« on: March 06, 2002, 12:21:18 AM »
Hello to all.
I'm a new Proxomitron user.
I need a filter that check the pages where I visit also if it locates a word or words that will exist in my (highlight list)...  it makes highlight. Any ideas?
Thanks for your help.

 

cj.

  • Full Member
  • ***
  • Posts: 135
    • ICQ Messenger -
    • AOL Instant Messenger - smithchasmel8
    • Yahoo Instant Messenger - chasmel8@yahoo.com
    • View Profile
    • Email
HighLite list ?
« Reply #1 on: March 06, 2002, 06:55:36 AM »
Hello chriscangr, and welcome!!!

I hadn't seen such a filter, but if I come across one I shall post it here or direct you to another board. Perhaps one of the script writers can create on for you. Actually I am quite sure they can.
-cj.-
______

Arne

  • Administrator
  • Hero Member
  • *****
  • Posts: 778
    • ICQ Messenger - 1448105
    • AOL Instant Messenger - aflaaten
    • Yahoo Instant Messenger - arneflaa
    • View Profile
    • http://
    • Email
HighLite list ?
« Reply #2 on: March 06, 2002, 06:59:54 AM »
He could use the "Bad Word" filter and build on it. It has the function of finding words in  a list, and then in stead of blocking it could just bold it or something, coloring it red ...



Best wishes
Arne
Imici username: Arne
Best wishes
Arne
Imici username= Arne

cj.

  • Full Member
  • ***
  • Posts: 135
    • ICQ Messenger -
    • AOL Instant Messenger - smithchasmel8
    • Yahoo Instant Messenger - chasmel8@yahoo.com
    • View Profile
    • Email
HighLite list ?
« Reply #3 on: March 06, 2002, 07:36:04 AM »
Well Arne now you are thinking as I was thinking of the same filter. I hadn't used it nor do I have any current use for it, but if chriscangr wants to give it a go here is the link http://asp.flaaten.dk/pforum/topic.asp?TOPIC_ID=86
-cj.-
______

Arne

  • Administrator
  • Hero Member
  • *****
  • Posts: 778
    • ICQ Messenger - 1448105
    • AOL Instant Messenger - aflaaten
    • Yahoo Instant Messenger - arneflaa
    • View Profile
    • http://
    • Email
HighLite list ?
« Reply #4 on: March 06, 2002, 07:41:52 AM »
Nice, you found it :-) I don't use it either, since I can imagine it will slow down surfing pretty much when a filter has to look at all the words on each page.



Best wishes
Arne
Imici username: Arne
Best wishes
Arne
Imici username= Arne

chriscangr

  • Newbie
  • *
  • Posts: 2
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • Email
HighLite list ?
« Reply #5 on: March 09, 2002, 08:31:08 PM »
Hello there,
Thanks  cj. for your welcome. For me too, the first idea was born from the "naughty filter"
I'm thinking that it will be usefull when I look for a word, i.e. GOOGLE--->proxN41 , the search engine shows us at least 10 results.  Now, some of these 10 sites are full of words with result to spend a lot of time searching.  With this filter, which I have in mind, everything it will be easier.  
Arne, in this particular use, the list will be permately empty and when we will be looking for something more dificult, we will put one or two words in the list. Therefore it will not be a matter of speed surfing.
Am I exagerated?

Of course  I'm not going to ask proxomitron to fix... coffee for me... :-)
Thanks again.

 
 

xartica

  • Newbie
  • *
  • Posts: 38
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • Email
HighLite list ?
« Reply #6 on: March 09, 2002, 08:59:36 PM »
The "BadWord" filter referred to above is slow because of its leading wildcard.
When writing filters, the goal should be to make it fail (NOT match) as soon as possible.

Below is a (fast) webfilter I wrote for a slightly different purpose.
It will ALMOST do what you want ~~ match against visible text and flag "keywords".

I say "almost" because it BRACKETS matched keywords with underscore characters, rather than actually inserting html tags in an attempt to highlight the text.
It does this because I haven't been able to figure out a BOUNDS or $NEST
argument that will prevent the filter from matching/replacing within TAGS, scripts, etc. (which would be a baaaaad thing)


Name = "word flagged when Keyword found"
Active = TRUE
Multi = " TRUE
Match = "(([^=])(s|   |[-\=:>'[(;?/.",]))1($LST(Naughty)([a-z-]+|))2"
Replace = "1______2______"


=============
long-winded explanation of the filter logic:

The core idea here is to match starting at beginning-of-words only.
          (Selectively ennumerating valid "leading" chars
           makes the filter quite a bit faster.)
In the match string, valid starting points (characters) are ennumerated as:
      s|   |[-\=:>'[(;?/.",]
in other words, a "word" can ONLY begin following a SPACE or TAB character,
or a dash, a backslash, a forward-slash, an equal sign, a colon...

(extra backslashes in it because some of the chars need to be "escaped")

So, the filter won't perform a lookup in your blocklist until it reaches one
of the "valid" characters. YOU MAY WANT TO ADD/DELETE "VALID"
CHARACTERS, INSTEAD OF USING EXACTLY THOSE I'VE LISTED.
 Yep, the filter only is SUPPOSED TO match from beginning-of-word;
 This special handling is due to how we (I) have defined a "word".

The tail-end argument
    ([a-z-]+|)
Is there to accomodate the replacement... and to enable you to use
word STEMS as blocklist items. (I wrote it this way for use in
a porn filter ~~ so that one blocklist item like "fat(-|s|ass|)"
can cover a lot of ground.) YOUR BLOCKLIST CAN ALSO CONTAIN
HYPHENATED WORDS, AND MULTIPLE WORDS (PHRASES).

=========Example:==========
That ending argument serves the purpose of including any extra, end-of-word,
characters in the match... but STILL allowing the match to return TRUE if
there aren't any extra ~~ if the word found in-page EXACTLY matches a
blocklist word.  Example: Put "curd" on a blocklist line, and the filter will
match 'curd', 'curdhead', 'curd-head', and 'CurdsRUs'.
It will not (by design) match "thecurd".
---------------------------


=============FOR FURTHER DEVELOPMENT===========
Here's my attempt at a "nested" version of the matchstring.
It didn't work as expected.

Match =
"$INEST(>,([^=])(s|   |[-\=:>'[(;?/.",])1($LST(Naughty)([a-z-]+))2,<)"

I'VE NEVER SEEN A PROX FILTER THAT IS CONSTRAINED TO MATCHING
ONLY *VISIBLE* TEXT WITHIN A PAGE, AND WOULD GREATLY APPRECIATE
ANY HELP TOWARD ACCOMPLISHING THIS.
===============================================



 
 

xartica

  • Newbie
  • *
  • Posts: 38
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • Email
HighLite list ?
« Reply #7 on: March 11, 2002, 01:10:31 AM »
The following is a general rule, but is especially
relavent to use of the filter I posted above.


IF YOU WANT TO INCLUDE COMPOUND WORDS,
HYPHENATED WORDS, AND MULTIPLE WORDS (PHRASES)
IN YOUR BLOCKLIST:

##############################################
# TO MATCH RUN-TOGETHER COMPOUND WORDS,
# AS WELL AS THOSE SEPARATED BY A DASH,
# A SPACE, OR EVEN SPACE+DASH+SPACE
# just put (-| ) between the two halves, like this:
#         compound (-| ) word
##############################################


 
 

Iquestor

  • Newbie
  • *
  • Posts: 1
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • Email
HighLite list ?
« Reply #8 on: July 01, 2002, 04:08:35 PM »
well I don't know if this can help, it a C++ program with source code, the method used might be tranferable

Web Highlighter
April 9, 2002
Where Did I Read That?

By Patrick Philippot  
 
 
 



Web Highlighter lets you attach highlighting, notes, and links to any Web page viewed with Microsoft Internet Explorer 4.0 or later. Simply select the text you want to highlight and right-click to invoke the Web Highlighter menu. You can customize highlighting styles by changing the font type, font color, and background color. After highlighting a text area, you can attach notes and links. Notes will display as InfoTips when you hover the mouse over the highlighted area. If you attach a link, clicking in the highlighted area will bring you to the specified URL.

When you close and then return to an annotated page (a page with highlights and possibly notes or links), your highlights will still be there, even though Web Highlighter doesn't change the original Web page in any way. Annotations are stored locally in an XML file. You can export selected annotations to an XML file to share them with other users running Web Highlighter.

Web Highlighter runs under Microsoft Windows 95, 98, Me, NT 4.0, 2000, and XP; it requires Internet Explorer 4.0 or later and MSXML 3.0 SP2. The installation program checks your MSXML version and provides a link for updating it if necessary. The Microsoft Visual C++ 6 source code for Web Highlighter is provided with the utility for those interested in seeing how it works. Note that PC Magazine programs are copyrighted and cannot be distributed, whether modified or unmodified. Use is subject to the terms and conditions of the license agreement distributed with the programs.
 
http://www.pcmag.com/article2/0,4149,3114,00.asp


TEggHead

  • Jr. Member
  • **
  • Posts: 93
    • ICQ Messenger - 21893433
    • AOL Instant Messenger -
    • Yahoo Instant Messenger - eljarec
    • View Profile
    • Email
HighLite list ?
« Reply #9 on: July 09, 2002, 10:42:44 AM »
Chris,

quote:

I'm thinking that it will be usefull when I look for a word, i.e. GOOGLE--->proxN41 , the search engine shows us at least 10 results.  Now, some of these 10 sites are full of words with result to spend a lot of time searching.  With this filter, which I have in mind, everything it will be easier.  



i.e. Google...?

Sooooo....you never saw that little grey word beneath most of all results saying 'Cached'?
I do know you never clicked on it, otherwise you would not have asked what you asked....

But, since not every site offers this feature, filtering non-html is not much different than filtering html...just reverse the bounds.

Bounds = "$NEST(>,<)"
Match = "*$LST(HiLite)*"

Don't expect it to be fast though...

Have Fun
JarC



 
 

hpguru

  • Sr. Member
  • ****
  • Posts: 257
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • http://lightning.prohosting.com/~hpguru/
    • Email
HighLite list ?
« Reply #10 on: August 24, 2002, 11:43:29 PM »
Hi chriscangr!

I see it's been a few months since you posted your message so I don't know if you're still around but perhaps this will help.

It isn't a Proxomitron solution but you should try Hilitext. It's a free utility which allows you to highlight text just about anywhere. You just enter the keyword(s) and click Go and it highlights the word where it finds them and works with most applications. When you're done for the moment you can just click Stop and Hilitext will minimize to the System Tray or you can right click its tray icon to close it. You can get it at

http://www.fanix.com/hilitext/

Hope you like it!


Facing each other,
a thousand miles apart.

Edited by - hpguru on 25 Aug 2002  00:44:42
Facing each other,
a thousand miles apart.