Cloud storage
Pages 112
- Home
- 2014 07 22: µBlock and others: Blocking ads, trackers, malwares
- About "This other extension reports more stuff blocked!"
- About that CSS selector with "www.faceporn.net" in it...
- About the required permissions
- About this "your software" mindset
- Advanced settings
- Advanced user features
- Badware risks
- Behind the scene network requests
- Block more, way more
- Blocking mode
- Blocking mode: easy mode
- Blocking mode: hard mode
- Blocking mode: medium mode
- Blocking mode: nightmare mode
- Blocking mode: very easy mode
- Can you trust uBlock?
- Change log
- Cloud storage
- Compare: Memory footprint: what happens inside µBlock after installation
- Contributed memory usage: benchmarks over time
- Cosmetic filtering in µBlock: version 0.4.0.0 update
- Counterarguments
- Dashboard
- Dashboard: 3rd party filters
- Dashboard: Settings
- Dashboard: Whitelist
- Deploying uBlock Origin
- Disable hyperlink auditing beacon
- Does uBlock block ads or just hide them?
- Does µBlock block ads or just hide them?
- Does µBlock blocks ads or just hide them?
- Doesn't uBlock Origin add overhead to page load?
- DOM inspector
- Dynamic filtering
- Dynamic filtering examples
- Dynamic filtering (obsolete, need revision)
- Dynamic filtering: Benefits of blocking 3rd party iframe tags
- Dynamic filtering: Benefits of blocking 3rd party script and iframe tags
- Dynamic filtering: default deny
- Dynamic filtering: default deny: useful rulesets
- Dynamic filtering: disabling cosmetic filtering for the current site
- Dynamic filtering: Examples of usefulness of blocking 3rd party iframe tags
- Dynamic filtering: precedence
- Dynamic filtering: quick guide
- Dynamic filtering: rule syntax
- Dynamic filtering: to easily reduce privacy exposure
- Dynamic filtering: turn off uBlock everywhere
- Dynamic filtering: turn off uBlock everywhere except
- Dynamic filtering: turn off µBlock everywhere
- Dynamic filtering: Usefulness of blocking 1st party script tags
- Dynamic filtering: Usefulness of blocking inline script tags
- Dynamic URL filtering
- Element picker
- Experimental features
- Experimental filters
- FAQ
- Filter list licenses
- Filter lists from around the web
- Filter lists: gorhill
- Filter syntax extensions
- Firefox version: benchmarking memory footprint
- Firefox version: benchmarking memory footprint (2015 03 07)
- How to ...
- How to whitelist a web site
- Inline script tag filtering
- Launch and filter lists load performance
- Maintainership transfer of uBlock: post mortem
- Manually editing per site switches
- Memory footprint: what happens inside uBlock after installation
- Memory footprint: what happens inside µBlock after installation
- My answers to web store reviews where appropriate
- Myth: uBlock consumes over 80MB
- Myth: uBlock is just slightly less resource intensive than Adblock Plus
- Myth: µBlock consumes over 80MB
- Myth: µBlock is just slightly less resource intensive than Adblock Plus
- Notes on media coverage of uBlock Origin
- Notes on memory benchmarks, selfies
- Overview of uBlock's network filtering engine
- Overview of uBlock's network filtering engine: details
- Own memory usage: benchmarks over time
- Per site switches
- Prevent WebRTC from leaking local IP address
- Privacy policy
- Privacy stuff
- Procedural cosmetic filters
- Quick guide: popup user interface
- Reference benchmark
- Regular expression based filters
- Software known to have uninstalled uBlock Origin
- Static filter syntax
- Strict blocking
- Technical inaccuracies from around the web
- The logger
- The network request logger
- Tips and tricks waterfall
- Tools
- Tricks and tips
- Troubleshooting
- Tutorial: how to unbreak a site using the dynamic filtering pane
- uBlock and others: Blocking ads, trackers, malwares
- uBlock vs. ABP: efficiency compared
- Various videos showing side by side comparison of the load speed of complex sites
- What uBlock can and can not (currently) do
- What µBlock can and can not (currently) do
- Who care about efficiency, I have 8 GB and|or a quad core CPU
- Who cares about efficiency, I have 8 GB and|or a quad core CPU
- Why don't you accept donations?
- µBlock and others: Blocking ads, trackers, malwares
- µBlock version 0.8.5: many changes
- µBlock vs. ABP: efficiency compared
- Show 97 more pages…
Support for cloud storage started with uBlock Origin 1.1.0.0.
Cloud storage in uBlock Origin is supported through your browser's sync feature, as in Firefox Sync, or Chrome browser's Google account, i.e. through your browser's ability to synchronize extensions settings across multiple devices.
If your browser/environment does not support cloud storage, the feature will be disabled.
Using your browser's built-in sync ability means uBlock Origin does not need a remote server of its own, your browser's specific solution for syncing data will be used, assuming you enabled such feature in your browser.
In uBlock Origin, cloud storage support must be explicitly enabled by the user, from the Settings pane in the dashboard: check the "Enable cloud storage support" checkbox.
Once you enable cloud storage support, a new UI widget will be available in the dashboard for panes which support the export/import of settings to/from cloud storage:

Important: Even if cloud storage support is enabled, it will work if and only if you actually enable sync support in your browser -- as uBlock itself does not connect to any remote server, your browser does this through its own sync feature, if you enabled such feature.
Your uBlock Origin settings are precious, and in order to prevent any automated browser's syncing task to cause precious local data (or cloud data) to be mistakenly overwritten, the chosen solution in uBlock Origin is to never ever export to/import from cloud storage without the user expressly asking uBlock Origin to do so.
So essentially, the sync feature in uBlock is implemented as a global clipboard (through cloud storage) to where settings are copied to/pasted from, and only you decide when to export/import.
The granularity of uBlock settings regarding cloud storage support is straightforward: one dashboard pane = one dedicated cloud storage entry. This way it is possible for a user to use cloud storage for specific panes, and not for others. Given that cloud storage is limited by browser vendors, one can choose to not persist one specific pane to the cloud.
The import/export of cloud storage data in a pane works strictly at the UI level, i.e. when you import cloud storage data, it will fill in the pane's UI as if you entered the data yourself: depending on the pane, you will still have to validate/commit the imported data.
Tip: if you hold the Shift key when clicking the "Import from cloud storage" button, uBlock will import and merge with the current pane settings (as opposed to overwriting the pane current settings).
If ever an export operation causes the cloud storage capacity limit to be reached, typically the cloud storage providers will refuse the operation, and the data on the cloud storage will be left unchanged. This is what I have observed with Chromium-based browsers.
If you do not have a syncing account with your browser vendor, I have observed that the cloud storage feature can still be used as a local clipboard to save a pane settings. Might be convenient sometimes, but please do not use cloud storage as a replacement for uBlock Origin's backup feature. It is recommended you back up your settings regularly, this is especially true for those who have extensive custom static filters, custom rules, whitelist directives.
Important: Some browsers offer the ability to use a passphrase for their sync feature, in order to enable end-to-end encryption of the data stored for sync purpose (example). It is strongly suggested to make use of such passphrase.
Caveats
Cloud storage services offered by specific browser vendors have their own limitations and quirks -- and this is out of control of uBlock.
Chromium-based browsers
- Various size limits: for example, on Chrome storage space limit is 102,400 bytes.
- Various limits on the number of operations per unit of time.
- See
chrome.storageAPI for more technical details.
Firefox browsers
- I have observed that too large amount of per-pane data will cause a warning in the browser console (> 8K).
-
A new installation of uBlock Origin will cause cloud storage data to be blanked.
- Update: Reportedly fixed in BZ#753289, included in Firefox 43.0
- See: https://discourse.mozilla-community.org/t/how-to-sync-preferences-of-a-bootstrapped-extension-via-sync/3024.
- But since uBlock Origin won't automatically import settings from the cloud storage, this will not cause any lost of local settings. However, you will have to push again your settings to the cloud storage.
- There is not much doc about this for Firefox, so there might be undocumented limitations yet to be found.
- It appears Firefox for Android can't sync extensions settings (correct me if I am wrong).
- Other Firefox-related platform:
- I have no clue whether this new feature will work for other brands of Firefox-based browsers.

