Roadblock for Mac
Examples
Below are examples on how to manually add custom rules.
To block videos on "www.example.com", create a new "Block Content" custom rule and do the following:
- Leave the "Filter" empty
- Select "Specific" in "Resources" and select "Media"
- Add the website www.example.com to "Websites"
To block the URL "http://www.example.com/image.png", create a new "Block Content" custom rule and do the following:
- Enter the URL in the "Filter" as follows: http://www.example.com/image.png
To block URLs ending with the file type ".png", create a new "Block Content" custom rule and do the following:
- Enter the file type in the "Filter" as follows: .png
- Press the button next to the "Filter" and choose "Ends with filter" in the URL section
To allow videos on "example.com" including its subdomains "www.example.com" and "videos.example.com", create a new "Allow Content" custom rule and do the following:
- Leave the "Filter" empty
- Select "Specific" in "Resources" and enable "Media"
- Add the website example.com to "Websites" and enable "Include Subdomains"
To allow the URL "http://images.example.com/image.png" on "www.example.com", create a new "Allow Content" custom rule and do the following:
- Enter the URL in the "Filter" as follows: http://images.example.com/image.png
- Add the website www.example.com to "Websites"
To hide images, create a new "Hide Content" custom rule and do the following:
- Leave the "Filter" empty
- Enter the following in the "Selector": img
To hide links in a webpage that has a specific term in it (e.g., hello), create a new "Hide Content" custom rule and do the following:
- Leave the "Filter" empty
- Enter the following in the "Selector": a[href*="hello"]