Voca Test Cheat Mode7

allzol

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Voca Test Cheat Mode7
// @namespace    http://tampermonkey.net/
// @version      0.2
// @description  allzol
// @author       You
// @match        https://chamstudyland.com/vokok/desktop/login.php
// @icon         https://www.google.com/s2/favicons?sz=64&domain=chamstudyland.com
// @license MIT
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    // Your code here...
    function login1() {
        var id = $("#id").val();
  var pw = $("#pw").val();

  $.get('../../cham_admin/cham_login_check.php?id='+id+'&pass='+pw, function(result){
    if(result=="<"){
      alert("아이디와 비밀번호를 다시 확인해주세요.");
    }else if(false){
      alert(result.slice(4));
    }else{
      var current_url = document.location.href;
      if(current_url.includes("develop")){
        $.post('../lib/update_data.php?type=login_develop&config='+id, function(result){});
      }else{
        $.post('../lib/update_data.php?type=login&config='+id, function(result){});
      }
      // if(id='tony8795') id='yyyy';
      // alert(url);
      $.get('../lib/set_login_session.php?user_id='+id, function(result){
        location.href = url;
      });
    }
  }, 'text');
    }
    window.login = login1;
})();