Post Reply 
Filter Out 'autocomplete="off"'?
May. 07, 2006, 08:12 PM
Post: #1
Filter Out 'autocomplete="off"'?
Can BFilter be configured to remove 'autocomplete="off"' statements from web pages? Or is this something that will have to wait until header filtering is implemented? If it can be done, can someone please provide an example?

Thanks in advance...
Add Thank You Quote this message in a reply
May. 08, 2006, 06:36 AM
Post: #2
RE: Filter Out 'autocomplete="off"'?
It can be done with content filters:
Code:
[remove autocomplete=off]
search=/(<\w+[^>]*\s)autocomplete\s*=\s*["']?off["']?/
replace=$1
replacement_type=expression
if_flag=_HTML_OR_XHTML_
Save this code to a file without extension (no dots in the name), put it to your filters directory, then go to Tray Icon -> Configuration -> Filters, then do File -> Reload. Alternatively, just copy-paste each field to the GUI.
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: