Greasy Fork is available in English.

Rescue Console

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

질문, 리뷰하거나, 이 스크립트를 신고하세요.
// ==UserScript==
// @name			Rescue Console
// @description		Rescues the console at website refresh to prevent overwriting by the website.
// @namespace		RescueConsole
// @author			Tobbe
// @version			1.1
//
// @include			*
//
// @run-at			document-start
//
// @grant			none
// ==/UserScript==

// Store the console to window.debugConsole to prevent overwriting by the website.
try {
    window.wrappedJSObject.debugConsole = window.console;
} catch(e) {
    window.debugConsole = window.console;
}