JSFiddle - React, Tailwind, and code Playground
by sfoster
JavaScript
function blocker_init() {
// a function that is given data specifying what sites and paths to block
}
function blocker_test_url() {
// a function that is given a URL, and returns if it should be blocked or not.
}