Rescue Console

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

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
Tobbe
1日のインストール数
0
累計インストール数
209
評価
0 0 0
バージョン
1.1
作成日
2014/11/07
更新日
2017/11/09
大きさ
498バイト
ライセンス
不明
対象サイト
すべてのサイト

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.