two filter only one can take place

paul_guo

New Member
I create my own filters in order to replace all the 'target=_blank' and 'target="_blank"' to 'target="_self"' and 'target=_self' in the web page,here is my filter
|http$replace=/target="_blank"/target="_self"/
|http$replace=/target=_blank'/target=_self/
but this filter has a bug ,only one of it will come into effect,the rule which i set above another would come into effect while another one doesn't.
I want to know why and how to deal with it
 

Blaz

Moderator & Translator
Staff member
Moderator
Currently only one $replace rule on a site is supported, it is being worked on supporting more $replace rules.

Also you should set the parameter ,important , so element hiding rules are not disabled.
 

paul_guo

New Member
I got know, and solve the problem,Thank you
Currently only one $replace rule on a site is supported, it is being worked on supporting more $replace rules.

Also you should set the parameter ,important , so element hiding rules are not disabled.
 
Top