你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/6310-rescue-console,源站連結 點此以跳轉

Rescue Console

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

当前为 2015-03-09 提交的版本,查看 最新版本



點此查看下載連結位址https://update.greasyfork.org.cn/scripts/6310/40140/Rescue%20Console.user.js

安装此脚本?
作者
Tobbe
评分
0 0 0
版本
1.0
创建于
2014-11-07
更新于
2015-03-09
大小
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.