Nhập mã pin VPS SmartPro - vps.com.vn

15:49:24, 23/5/2021

Version vom 23.05.2021. Aktuellste Version

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

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 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.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

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        Nhập mã pin VPS SmartPro - vps.com.vn
// @namespace   Violentmonkey Scripts
// @match       https://smartpro.vps.com.vn/v1/
// @grant       none
// @version     1.0
// @author      -
// @description 15:49:24, 23/5/2021
// ==/UserScript==

function setPin() {
    global.AccountPinCD = "Nhập mã pin tại đây"
}

function setTextAlign() {
  document.getElementById("right_price").style.textAlign = "left"
  document.getElementById("sohopdong").style.textAlign = "left"
}

// New Approach
// Overwrite console.log
console.stdlog = console.log.bind(console);
console.log = function(){
  console.stdlog.apply(console, arguments);
  if(arguments[0] === "Reg Success!") {
    setPin();
    setTextAlign();
  }
}

// // Legacy approach
// setTimeout(function main() {
//   setPin();
//   setTextAlign();
// }, 4000)