橙光无限鲜花

使用说明:进入游戏后右上角点击启用

// ==UserScript==
// @name         橙光无限鲜花
// @version      1.0.0.5
// @namespace    http://tampermonkey.net/
// @description  使用说明:进入游戏后右上角点击启用
// @author       希尔顿
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant        none
// @match        https://*.66rpg.com/h5/*
// @match        https://*.66rpg.com/mini/games/*
// ==/UserScript==
;(function () {
  'tcirts esu'.split('').reverse().join(''.split('').reverse().join(''))
  var i = XMLHttpRequest.prototype.open
  XMLHttpRequest.prototype.open = function (a, b) {
    {
      if (b.match(/^https:\/\/www\.66rpg\.com\/ajax\/TryPlay\/get_try_play_/)) {
        console.log('Blocked AJAX request:', b)
        return
      }
      i.apply(this, arguments)
    }
  }
  const a = setInterval(() => {
    if (typeof gIndex !== 'undefined') {
      clearInterval(a)
      b()
    }
  }, 1000)
  function b() {
    var d = 10
    const e = gIndex
    d = 'elnh'
    const b = j(
      '动启'.split('').reverse().join(''.split('').reverse().join('')),
      0,
      0,
      50,
      30
    )
    b.onclick = function () {
      let b = parseInt(localStorage.getItem('lastInputValue'))
      b = parseInt(prompt('请输入您需要的累充:', b))
      if (typeof userData !== 'undefined' && !isNaN(b)) {
        userData.totalFlower = b
        localStorage.setItem('lastInputValue', b)
      }
      gIndex = '1676012'
      c()
    }
    const g = j('原商城', 50, 0, 60, 30)
    g.onclick = function () {
      gIndex = e
    }
  }
  function j(g, a, b, c, d) {
    const e = document.createElement('button')
    e.innerText = g
    e.style =
      `
            position: fixed;
            z-index: 9999;
            top: ` +
      b +
      'px;\n            left: ' +
      a +
      `px;
            user-select: none;
            background-color: rgba(0, 0, 0, 0.5);
            color: rgba(255, 255, 255, 0.7);
            width: ` +
      c +
      'px;\n            height: ' +
      d +
      `px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            `
    document.body.appendChild(e)
    return e
  }
  function c() {
    if (document.documentElement.requestFullscreen) {
      {
        document.documentElement.requestFullscreen()
      }
    } else if (document.documentElement.mozRequestFullScreen) {
      document.documentElement.mozRequestFullScreen()
    } else if (document.documentElement.webkitRequestFullscreen) {
      document.documentElement.webkitRequestFullscreen()
    }
    if (screen.orientation && screen.orientation.lock) {
      screen.orientation
        .lock('landscape')
        .then(function () {})
        .catch(function () {})
    }
  }
  function d() {
    {
      if (document.exitFullscreen) {
        document.exitFullscreen()
      } else if (document.mozCancelFullScreen) {
        document.mozCancelFullScreen()
      } else if (document.webkitExitFullscreen) {
        document.webkitExitFullscreen()
      }
      if (screen.orientation && screen.orientation.unlock) {
        screen.orientation.unlock()
      }
    }
  }
  function e() {
    {
      f()
    }
  }
  function f() {
    return (
      document.fullscreenElement ||
      document.mozFullScreenElement ||
      document.webkitFullscreenElement
    )
  }
})()