HostLoc自动登录

HostLoc auto Login

질문, 리뷰하거나, 이 스크립트를 신고하세요.
// ==UserScript==
// @name         HostLoc自动登录
// @namespace    https://greasyfork.org/users/91873
// @version      1.0.1
// @description  HostLoc auto Login
// @include      https://*.hostloc.com/*
// @include      https://hostloc.com/*
// @author       wujixian
// @grant        none
// @run-at       document-end
// ==/UserScript==
(function () {
  //将function函数赋值给onload对象
  window.onload = function ()
  {   
    document.cookie="hkCM_2132_widthauto=1;domain=hostloc.com;path=/;";
    document.querySelector("#lsform > div > div.y.pns > table > tbody > tr:nth-child(2) > td.fastlg_l > button").click();
  }
})();