17 04 2009

js判断是否为弹出窗口

bigCat Posted in JavaScript - for Comments = 6

function suicide(){window.opener.focus();window.close();}\n if (window.opener == null) {\n window.location="/";\n } else { \n window.resizeTo(800, 500);\n setTimeout('suicide()', 10000);\n }

  1. MA JIA KUN says:

    阴损

  2. bigCat says:

    呃?何解?

  3. CurtisHoni says:

    snozcrd

  4. CurtisHoni says:

    qsrtnvf

  5. CurtisHoni says:

    htsjiow

  6. CurtisHoni says:

    pdrtguz

Host: (miao) | Word: Press | Code: HTML5