xe 설치 도메인은 self 처리를 하되 그 외 도메인일 경우 blank 처리를 할 수 있을까요?

혹시 수정 사용하시거나 알고 계시면 팁 부탁드립니다.

 

  • ?

    약간의 힌트를 드리자면 이 정도쯤 됩니다. 정확한 건 저도 모릅니다.

     

            content = content.replace(//g, '>');            
            content = content.replace(url_regex, '<a href="$1" target="_blank">$1</a>');
            $(textNode).before(dummy);
            $(textNode).replaceWith(content);
            params[0] = dummy.next('a');
            dummy.remove();
  • profile
    Double'U'님 자료가 도움이 될지 모르겠네요.
    https://xetown.com/index.php?mid=xepoint&page=6&document_srl=219736
  • profile ?
    Double'U'님 애드온이면 해결되실거예요. 제가 쓰고 있는 애드온인데
    사이트내 주소는 이동이되고 그외에는 자동으로 새창으로 잘 띄워줍니다.