ublock scriptlet test

test

  1. // ==UserScript==
  2. // @name ublock scriptlet test
  3. // @namespace test
  4. // @version 1.1
  5. // @license MIT
  6. // @description test
  7. // @author gfish
  8. // @match *://*/*
  9. // @run-at document-start
  10. // ==/UserScript==
  11. /// test.js
  12. (function test() {
  13. console.log(JSON.stringify(Object.entries(window).map(([k,v]) => {return [k,v ? Object.keys(v) : undefined]})))
  14. })();