add formtarget detect
Merge pull request #1239 from patrickkettner/formtarget

add formtarget detect