Skip to content
This repository was archived by the owner on Feb 20, 2023. It is now read-only.
This repository was archived by the owner on Feb 20, 2023. It is now read-only.

Import/Export bookmarks to local fileystem  #417

Closed
@yoasif

Description

@yoasif

Why/User Benefit/User Problem

  • If a user is using Fenix alone (without synced accounts), there is no backup of bookmarks if a user removes Fefix
  • Even if a user is using Sync, without a secondary machine "backing" up bookmarks, bookmarks will be lost if user removes Fenix
  • Users don't want to lose bookmarks

What / Requirements

As a user, I would like to be able to export bookmarks to my local filesystem and to later import them.

Acceptance Criteria (how do I know when I’m done?)

  • User can export bookmarks
  • User can import bookmarks, adding to existing bookmarks
  • Ideally, if identical bookmarks are present in the source and destination, bookmarks are merged

┆Issue is synchronized with this Jira Task

Activity

added this to the Backlog milestone on Feb 9, 2019
added
P3Some future sprint
and removed
P3Some future sprint
on Mar 30, 2019
modified the milestones: Backlog, Backlog (After MVP) on Mar 30, 2019
removed this from the Feature Backlog milestone on Jul 26, 2019
Poopooracoocoo

Poopooracoocoo commented on May 25, 2020

@Poopooracoocoo

this combined with #7325 would pretty much free you from your browser. It's the stuff of dreams 🤤

24 remaining items

mhammond

mhammond commented on Feb 16, 2022

@mhammond
Contributor

Take a look for yourself. Then, why are both of these issues still open?

Far out, please take a breath and read things carefully. The bugzilla link is about HTML exports, and clearly says JSON exports does include them. I'm not sure what other issue you are referring to, but this issue as written is correct. The comment I replied to was not.

hcet14

hcet14 commented on Jul 21, 2022

@hcet14

I'm annoyed with firefox. I use it for a very long time. It's a very good GNU(!) browser. I like the addons to move in the Internet as anonymous as possible.

This is my data and nobody should be allowed to access (GDPR https://en.wikipedia.org/wiki/General_Data_Protection_Regulation).

In former versions there was the possibility to mess with "browser.db" to save your bookmarks. Gone! (I want to move to a new ROM on my phone and want to save my bookmarks before, no chance)

Now you want to force me to use "Sync". I have no clue what you do with my data. So, I will never use it. Why is nobody telling us where the bookmarks are stored? I don't understand you! Why don't you give the users the option to save their(!) bookmarks?

I will not use firefox on my mobile in the future!

MicroBeast

MicroBeast commented on Jul 21, 2022

@MicroBeast

Why doing many hoops digging into internal system for browser.db while we can just save everything externally (offline) from start?

I save my bookmarks in encrypted Markdown Text (Passworded Archive also will do). And use Keepass to save all my Passwords. This won't be a big problem compared to digging system partition and a database file. Yeah, I've done that database grabbing long time ago, not worth it if it continue to increase-decrease.

I just don't save anything in any browser, at least not for long. Synced them on my Cloud Drive if needed and under my own choice.

hcet14

hcet14 commented on Jul 21, 2022

@hcet14

Synced them on my Cloud Drive

Thanks for the reply, but this is my wish:

I don't want to use any Internet storage, cloud, whatever you name it!

Where are my(!) bookmarks stored on my(!) storage of my(!) phone?

mhammond

mhammond commented on Jul 21, 2022

@mhammond
Contributor

They are stored in a sqlite file named places.db in the app's directory.

hcet14

hcet14 commented on Jul 21, 2022

@hcet14

They are stored in a sqlite file named `places.db

no, places.db is not existing here.

in the app's directory.

Which directory exactly?
/data/app ?

I'm rooted, oneplus 7 pro oos10.0.15GM27BA, fennec fdroid 86.1.1

mhammond

mhammond commented on Jul 21, 2022

@mhammond
Contributor

My mistake, it is called places.sqlite in the app directory. I can't give you the exact directory name until I return next week from travel so have access to my emulator. The filename is specified at https://github.com/mozilla-mobile/android-components/blob/b827bd3c9c90a315001be415380e8d748894017d/components/browser/storage-sync/src/main/java/mozilla/components/browser/storage/sync/Connection.kt#L74

jackyzy823

jackyzy823 commented on Jul 21, 2022

@jackyzy823

Location is /data/data/org.mozilla.fennec_fdroid/files/places.sqlite if you 're using f-droid's one.

And it is really weird that places.sqlite is outside of profile path ( `/data/data/org.mozilla.fennec_fdroid/files/mozilla/xxxx.default)
It will much hard to implement switching profiles like desktop's one in fenix (I know this feature is not on your roadmap)

There's a tool (https://github.com/mozilla-mobile/fennec-profile-manager) for old fennec which could export to/import from local filesystem. Android's sharedUserId and signing with the same key as Fennec make this tool work (so do not work for f-droid's one) . But its primary task is to make mozilla developer and tester to test migration from fennec to fenix easily.
It would be nice to have similar tool for fenix. (if we have no switching profiles feature , we could use this tool to do it manually )

Someone-G

Someone-G commented on Nov 22, 2022

@Someone-G

This is all done on purpose so that people are dependent on the "ecosystem". And it doesn't matter which one. They are all connected in one way or another. Google's ruling hand is deep in Mozilla's "dark place", so there's no point in asking and waiting.
Look for a browser that supports local import/export.

kbrosnan

kbrosnan commented on Dec 20, 2022

@kbrosnan
Contributor
kbrosnan

kbrosnan commented on Dec 20, 2022

@kbrosnan
Contributor

As part of #26855 this report has been moved to Bugzilla

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @mhammond@bbinto@yoasif@klint@kbrosnan

        Issue actions

          Import/Export bookmarks to local fileystem · Issue #417 · mozilla-mobile/fenix