ublock scriptlet test

test

// ==UserScript==
// @name         ublock scriptlet test
// @namespace    test
// @version      1.1
// @license MIT
// @description  test
// @author       gfish
// @match        *://*/*
// @run-at       document-start
// ==/UserScript==
/// test.js
(function test() {
    console.log(JSON.stringify(Object.entries(window).map(([k,v]) => {return [k,v ? Object.keys(v) : undefined]})))
})();