kernl API
    Preparing search index...

    Function defaultFirewallRules

    • The rules a shell starts with: everything the person granted is allowed without asking, and opening a link outside the shell asks every time.

      The grants layer already decided which domains an applet holds, so asking again for each of them would bury the one question that matters under a wall of prompts. A link leaves the shell, which no grant describes, so it is the one request that always asks (D-056).

      Returns PermissionRules

      Fresh rules; change them with kehto's setPermissionRule.

      const rules = defaultFirewallRules();
      rules.default; // 'allow'
      rules.operations['link.open']; // 'ask'