각종 팁&정보를 나누는 곳입니다.
누군가에게 도움이 된다 싶으시면 언제라도 포스팅 :)
글 등록하기 | 내글 관리하기 | 연재글 | 보관함
첨부파일 https://imweb.eond.com/webtip/162346


쿠폰을 어디서 구해서 입력하다 궁금해서 소스를 열어보니 아래와 같이 되어 있더군요.

위 링크 클릭하면 왼쪽 중간쯤에 "무료문자쿠폰 사용하기"라고 있는데,

거기에 다음 코드 입력하면 문자 그냥 들어옵니다 ㅋㅋ

CITY4F5G
TW3ZKR4N
CR2PR4N7
CR6WPR4N
EVERG3R5BP

파란은.. 참 단순한것 같아요 ㅋㅋ



function co_submit(){
 var leng = trim(document.all.co_num.value);
 if(leng.length < 1){
  alert("쿠폰번호를 입력하세요.!");
 }else{
  if((leng.substring(0,3) =='fa0' || leng.substring(0,3) =='fa1' || leng.substring(0,3) =='fa9') && leng.length == 10){
   var frm = document.coponfrm;
   frm.action = "/coupon.do?cmd=fa_coupon_submit";
   frm.submit();
  }else if(leng.substring(0,3) =='114' && leng.length == 8){ 
   var frm = document.coponfrm;
   frm.action = "/coupon.do?cmd=coupon_submit";
   frm.submit();
  }else if(leng == 'CITY4F5G' || leng == 'TW3ZKR4N' || leng == 'CR2PR4N7' || leng == 'CR6WPR4N' || leng == 'EVERG3R5BP'){
   var frm = document.coponfrm;
   frm.action = "/coupon.do?cmd=ci_coupon_submit";
   frm.submit();
  }else if(leng.length == 8){
   var frm = document.coponfrm;
   frm.action = "/coupon.do?cmd=coupon_submit";
   frm.submit();
  }else{
   alert("쿠폰 번호를 다시 확인해주세요.");
   document.all.co_num.value = "";
   document.all.co_num.focus();
  }

코멘트 1
접기/펴기 | 댓글 새로고침
  • 이온디
    CR2PR4N7 3회
    CR6WPR4N 3회
    까지 가능함 ㅠㅠ;
    오전 11:38
    댓글
 
 
Total 683 articles in 50 / 57 pages
번호 제목 제목 조회 수 날짜날짜
95 [MySQL] Mysql Join 해부(Left, Right, Outer, Inner Join) 154 2018/01/03
94 [리눅스서버] Ubuntu 16.04 | root 계정으로 로그인하기, root 계정으로 ssh 접속하기 91 2018/03/21
93 [리눅스서버] Ubuntu php7.0-fpm 세팅 중 오류 76 2018/03/25
92 [리눅스서버] mysql strict mode 끄기 888 2018/03/29
91 nginx https redirect www to non-www 231 2018/04/04
90 [Nginx] nginx-redirects-http-to-https-and-www-to-non-www 79 2018/04/21
89 [Nginx] https가 아닐 경우 https로 리다이렉트하는 방법 파일 170 2018/04/25
88 [Nginx] [Nginx] Rewriterule 서브 도메인 입력시 하위 디렉토리로 이동하기 501 2018/05/15
87 [MySQL] MySQL 사용자 테이블 생성 및 연결하기 93 2018/06/24
86 [기타] 비밀글 G Suite - 0 2018/07/26
85 [리눅스서버] ./configure : /bin/sh^M : bad interpreter [duplicate] 파일 145 2018/07/29
84 [리눅스서버] [쉘스크립트] 새로운 데이터베이스 테이블 생성 및 유저 연결 쉘스크립트 568 2018/07/29

해시태그 디렉터리

오늘의 핫게시물