Post Reply 
“Remove: Ad Scripts - Noscript” behaving
Oct. 27, 2010, 06:21 PM (This post was last modified: Oct. 27, 2010 06:22 PM by JJoe.)
Post: #2
RE: Remove: Ad Scripts - Noscript behaving
(Oct. 27, 2010 04:09 PM)whenever Wrote:  Is this a designed behaving of the filter? Using a keyword inside a script block to remove a noscript block, and all script blocks above it?

No, I don't think so. The filter uses a match in the noscript block to remove the noscript block and the chain of script blocks that precede it.

(Oct. 27, 2010 04:09 PM)whenever Wrote:  vBulletin_init(); is needed for the "Thread Tools" drop down menu to work so I have to add below entry but it would leave the noscript code unblocked:

Code:
www.mobileread.com/forums/            $SET(0=i_noscr:2.)

Same problem in http://prxbx.com/forums/showthread.php?t...8#pid14978 , iirc.
Exception entry would leave noscript web bug.

I've been pondering the possibilities. Ideas?

As proof, following filter removes list match for "<script> Remove: Ad Scripts - Noscript" by only changing quant to quan in the noscript block.

Code:
[Patterns]
Name = "<script> Remove: Ad Scripts - Noscript  show behaviour"
Active = TRUE
Multi = TRUE
Limit = 20000
Match = "((<Script*</script> )+)\1<noscript*/noscript>$STOP()"
Replace = "\1<noscript>"
          "<a href="http://www.quancast.com/p-13lWtv_C89CCg" target="_blank"><img src="http://pixel.quanserve.com/pixel/p-13lWtv_C89CCg.gif" style="display: none;" border="0" height="1" width="1" alt="Quancast"/></a>"
          "</noscript>"
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Remove: Ad Scripts - Noscript behaving - JJoe - Oct. 27, 2010 06:21 PM

Forum Jump: