您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Rescues the console at website refresh to prevent overwriting by the website.
Some pages like Ikariam just overwrite the browser console. To be able to use the console in your script, there must be a copy stored somewhere else. The only functionality of this script is to store the window.console
to window.debugConsole
. Now you can either overwrite the normal console in your script again with the debug console or use the debugConsole instead.
But be aware, that everyone who has not installed this script has no debugConsole, so that the script might fail. Also it might be the case that some of the functions you use are not provided by the console they use. To solve this problems, you can have a look on my solution: Debugging implementation using debugConsole.