Skip to content
This repository has been archived by the owner on Nov 15, 2017. It is now read-only.

Precedence in the matrix

Raymond Hill edited this page Jan 3, 2014 · 31 revisions

A defining feature of HTTP Switchboard is the precedence/graylisting/inheritance concept in the matrix.

A "graylisted" matrix cell (pale green or pale red) means the cell inherits its allow or block status from a higher precedence cell in the matrix.

This feature allows the user to whitelist or blacklist a whole group of cell with a single click on a higher precedence cell in the matrix. Here is the tree list of precedence/inheritance of the matrix:

  • The all cell (top-left corner of the matrix)
    • Types cells (cookie, css, img, etc.)
      • Specific type and specific domain names
        • Specific type and specific subdomain names
    • Domain name cells (wikipedia.org, facebook.com, wired.com, etc.)
      • Subdomain name cells (en.wikipedia.org, www.facebook.com, video.wired.com, etc.)
        • Specific type and specific subdomain names
      • Specific type and specific domain names
        • Specific type and specific subdomain names

Any explicit whitelist or blacklist status of a cell will cascade down through inheritance to the graylisted cells in the next level. Ultimately, this means that it is possible to control all the cells in the matrix with just the top-left all cell.

Now if you've understood the above tree list, you may have noticed that a single graylisted cell in the middle of the matrix may inherit from two different ancestors: the hostnames (left column) or the type (top row). It is up to the user to choose how this double inheritance works by disabling or enabling "strict blocking (on the Settings page).

[to do: many animated GIF to illustrate the above]

Clone this wiki locally