Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Sync uBO settings between two (or more) browsers #1744

Closed
8 tasks done
aksarz opened this issue Oct 2, 2021 · 6 comments
Closed
8 tasks done

Feature Request: Sync uBO settings between two (or more) browsers #1744

aksarz opened this issue Oct 2, 2021 · 6 comments
Labels
duplicate This issue or pull request already exists

Comments

@aksarz
Copy link

aksarz commented Oct 2, 2021

Prerequisites

I tried to reproduce the issue when...

  • uBO is the only extension
  • uBO with default lists/settings
  • using a new, unmodified browser profile

Description

Hi,

I use LibreWolf and Ungoogled Chromium for daily tasks. In both I have uBO in medium blocking mode, so I constantly have to modify filtering list to unbreak sites.

Right now there is no way that changes made on Browser1 uBO settings reflects on Browser2 uBO settings.

A specific URL where the issue occurs

everywhere

Steps to Reproduce

  1. Open Browser1 and open a site that breaks with current uBO dynamic filtering list.
  2. Unbreak the site by changing dynamic rules.
  3. Open Browser2 and open the same site.
  4. You must change the rules again to unbreak the site.
  • Here labels 'Browser1' and 'Browser2' are used merely with an identification purpose. Real browsers (even more than 2) are interchangeable in this description.

Expected behavior

  1. uBO comes with an opt-in setting that says, approximately: "When you click on the Lock icon, current settings are made permanent and exported to a local file. Every time the browser starts, uBO will import the settings from this file". There is also the option to create/select this file.
    0.1 Both (or more) browsers in PC have this option enabled and point to the same file.
  2. Open Browser1 and open a site that breaks with current uBO dynamic filtering list.
  3. Unbreak the site by changing dynamic rules.
  4. After clicking the Lock icon, uBO saves the current settings and export them to a local file (ex. my-ublock-dynamic-rules-local-sync.txt)
  5. Open Browser2 and open the same site.
  6. The site is unbroken.
  • Why use local sync instead online sync?
    – My browsers have sync feature disable by default.
    – Even if they had it enabled and I used it, Firefox and Chromium-based browsers sync to different servers. Local sync would allow universal browser compatibility.
    – It's faster.
    – It saves bandwidth.
    – It's better for privacy.

  • Note that I suggest uBO to export settings to local file every time they are updated, but only import them when browser starts. It would be even better if there's a way that both browsers' uBO to be synced in real time, without a significant increase of resources.

Actual behavior

Described in Steps to Reproduce.

uBlock Origin version

1.37.2

Browser name and version

LibreWolf 92.0.1 (64-bit) and Chromium 89.0.4389.114 (Developer Build, ungoogled-chromium) (64-bit)

Operating System and version

Windows 10 Pro 1909

@gwarser
Copy link

gwarser commented Oct 2, 2021

Not all browsers allow add-ons to read files from disk (Firefox). Use custom filter list and host it where you like.

@gwarser
Copy link

gwarser commented Oct 2, 2021

Sync by external service was declined gorhill/uBlock#2468

@gwarser gwarser closed this as completed Oct 2, 2021
@gwarser gwarser added the duplicate This issue or pull request already exists label Oct 2, 2021
@aksarz
Copy link
Author

aksarz commented Oct 2, 2021

So, there is no way to sync settings from Firefox and Chromium-based browsers?

@uBlock-user
Copy link
Contributor

Use Back Up/Restore functionality present in settings pane.

@aksarz
Copy link
Author

aksarz commented Oct 2, 2021

That has to be made manually every time. Non-functional.

@Write
Copy link

Write commented Dec 6, 2021

WebDav support would be really awesome, but I assume it's considered as an 'External' service ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

4 participants