bfilter noob
Aug. 27, 2008, 10:29 AM
Hi. I'm trying to create some simple filters that remove some plain text elements from specific pages. Basically I want to turn some indirect links into direct links by removing the bold parts of oldadress.com/out.php?newurl from the page source.
![[Image: bfilterdc6.jpg]](http://img504.imageshack.us/img504/7582/bfilterdc6.jpg)
(I set the URL to * for testing purposes btw)
The above does not work, but I'm totally new to this so I thought maybe there are too many characters that need to be escaped. So I changed the filter to replace the plain word "blog" (because there are lots of occurrences of that word on that page). Oddly enough, now the word blog gets replaced on all pages I visit but the one I want!
I am not sure if it's okay to tell the site as it is a pron site. If this is not ok, maybe I could ask generally: what can make a simple text replacement filter NOT work on one page when it is working on others?
Thanks!
PS: BTW, I did enable the filter, hit reload, emptied the cache, etc.
![[Image: bfilterdc6.jpg]](http://img504.imageshack.us/img504/7582/bfilterdc6.jpg)
(I set the URL to * for testing purposes btw)
The above does not work, but I'm totally new to this so I thought maybe there are too many characters that need to be escaped. So I changed the filter to replace the plain word "blog" (because there are lots of occurrences of that word on that page). Oddly enough, now the word blog gets replaced on all pages I visit but the one I want!
I am not sure if it's okay to tell the site as it is a pron site. If this is not ok, maybe I could ask generally: what can make a simple text replacement filter NOT work on one page when it is working on others?
Thanks!
PS: BTW, I did enable the filter, hit reload, emptied the cache, etc.
