您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Allows the user to view the hit idle game cookie clicker in an iframe with no problems.
// ==UserScript== // @name Frames Shmames For Cookie Clicker // @namespace https://cbass92.org // @license MIT // @match *://orteil.dashnet.org/* // @grant none // @version 1.0 // @author Cbass92 // @description Allows the user to view the hit idle game cookie clicker in an iframe with no problems. // ==/UserScript== setTimeout(doSomething, 500); function doSomething() { if (document.getElementById("offGameMessage").innerHTML == '<div class="title">Oops. Wrong address!</div>' + '<div>It looks like you\'re accessing Cookie Clicker from another URL than the official one.<br>' + 'You can <a href="//orteil.dashnet.org/cookieclicker/" target="_blank">play Cookie Clicker over here</a>!<br>' + '<small>(If for any reason, you are unable to access the game on the official URL, we are currently working on a second domain.)</small></div>' ) { Game.Load(function () { Game.Init(); if (firstLaunch) Game.showLangSelection(true); }); } else { setTimeout (doSomething, 500) } }