Skip to content

Latest commit

 

History

History
55 lines (37 loc) · 1.27 KB

README.md

File metadata and controls

55 lines (37 loc) · 1.27 KB

Search Blocker

Supported Sites

Features

block rule candidates

Get Started

  1. Install Tampermonkey on your browser
  2. Click this URL to install script.

Rule Syntax

# this is comment

foo.example.com

# also blocks foo.example.com
example.com

# block if 'foobar' appears in title
$intitle('foobar')

# mixed
example.com$intitle('foobar')

Development

python tools/tampermonkey.py header > platforms/tampermonkey/header.js
python tools/tampermonkey.py matches > platforms/chrome/matches.json

npm run build

python tools/tampermonkey.py wrapper --path dist/search-blocker.user.js > platforms/tampermonkey/wrapper.user.js