detect iframe then open new window
Merge pull request #10 from fanzeyi/front

detect iframe then open new window