Allow F12

Allow to open Dev Tools on some website.

< Allow F12 피드백

리뷰: 좋음 - 잘 동작함

§
작성: 2023-07-31

Works very well.

A suggestion though, you can have a collapsed trace (if you wish) by adding:

ref: https://superuser.com/a/1793657

if(window.console && console.trace) {
    var oldTrace = console.trace;
    console.trace = function(msg) {
        console.groupCollapsed('trace ' + msg || 'trace');
        oldTrace.apply(this);
        console.groupEnd();
    }
}

Then, line 89 (https://greasyfork.org/en/scripts/436250-allow-f12/code#:~:text=%3B-,console.trace) you add

console.trace(i); // hidden in collapsed group

friendly

YJSNPI개발자
§
작성: 2023-10-18

I'm improved it in latest version (v0.3.3), please upgrade and try it

댓글 남기기

댓글을 남기려면 로그인하세요.