Rescue Console

Rescues the console at website refresh to prevent overwriting by the website.

当前为 2014-11-07 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Tobbe
评分
0 0 0
版本
1.0
创建于
2014-11-07
更新于
2014-11-07
大小
416 字节
许可证
暂无
适用于
所有网站

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.