• Stars
    star
    353
  • Rank 120,322 (Top 3 %)
  • Language
    JavaScript
  • License
    GNU General Publi...
  • Created about 2 years ago
  • Updated 9 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

uBO Lite home (MV3)

uBO Lite

Get uBO Lite for Firefox Get uBO Lite for Chromium Get uBlock Origin Lite for Microsoft Edge

Description

uBO Lite (uBOL), a permission-less MV3 API-based content blocker.

uBOL is entirely declarative, meaning there is no need for a permanent uBOL process for the filtering to occur, and CSS/JS injection-based content filtering is performed reliably by the browser itself rather than by the extension. This means that uBOL itself does not consume CPU/memory resources while content blocking is ongoing -- uBOL's service worker process is required only when you interact with the popup panel or the option pages.

uBOL does not require broad "read/modify data" permission at install time, hence its limited capabilities out of the box compared to uBlock Origin or other content blockers requiring broad "read/modify data" permissions at install time.

However, uBOL allows you to explicitly grant extended permissions on specific sites of your choice so that it can better filter on those sites using declarative cosmetic and scriptlet injections.

To grant extended permissions on a given site, open the popup panel and pick a higher filtering mode such as Optimal or Complete.

uBOL's popup panel: no permission

The browser will then warn you about the effects of granting the additional permissions requested by the extension on the current site, and you will have to tell the browser whether you accept or decline the request:

uBOL's popup panel: browser warning

If you accept uBOL's request for additional permissions on the current site, it will be able to better filter content for the current site:

uBOL's popup panel: permissions to inject content

You can set the default filtering mode from uBOL's options page. If you pick the Optimal or Complete mode as the default one, you will need to grant uBOL the permission to modify and read data on all websites:

uBOL's options: Default filtering mode

The default ruleset corresponds to at least uBlock Origin's default filterset:

  • uBlock Origin's built-in filter lists
  • EasyList
  • EasyPrivacy
  • Peter Lowe’s Ad and tracking server list

You can add more rulesets by visiting the options page -- click the Cogs icon in the popup panel.

Keep in mind this is still a work in progress, with these end goals:

  • No broad host permissions at install time -- extended permissions are granted explicitly by the user on a per-site basis.

  • Entirely declarative for reliability and CPU/memory efficiency.

Changelog

See Releases section.

Previous releases can be found in Releases section of uBlock repo.

Issues

All uBO Lite-related issues (including filter-related ones) go here.

Admin policies

uBOL exposes settings to be defined by administrators through managed storage:

noFiltering

An array of hostnames (string) for which no filtering will occur.

disableFirstRunPage

A boolean which if set to true will prevent uBOL's first-run page to be opened.

Frequently asked questions (FAQ)

See Wiki.