Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How backup/restore new RDM's device list?

  • 12 پاسخ
  • 3 have this problem
  • 9 views
  • آخرین پاسخ توسّط cor-el

more options

Hi,

In new RDM (Responsive Design Mode), how can I create backup of device list, or restore saved one? I need to create backup of my added devices.

Thanks.

Hi, In new RDM (Responsive Design Mode), how can I create backup of device list, or restore saved one? I need to create backup of my added devices. Thanks.

Modified by Mehdi

All Replies (12)

more options

I think that this data is stored in the IndexedDB database as permanent data. I'm not sure that you backup this data reliably, but you should find it in the storage folder in the profile folder.

  • storage\permanent\indexeddb+++fx-devtools
more options

cor-el said

I think that this data is stored in the IndexedDB database as permanent data. I'm not sure that you backup this data reliably, but you should find it in the storage folder in the profile folder.
  • storage\permanent\indexeddb+++fx-devtools

Thanks for the answer, but there was not any related data on "storage\permanent\indexeddb+++fx-devtools"

more options

This data is stored as BLOB data in the SQLite data database that you find in the idb folder I have this file:

  • indexeddb+++fx-devtools/idb/478967115deegvatroootlss--cans.sqlite
more options

cor-el said

This data is stored as BLOB data in the SQLite data database that you find in the idb folder I have this file:
  • indexeddb+++fx-devtools/idb/478967115deegvatroootlss--cans.sqlite

Thanks for the answer, I check all 7 tables data, but there was nothing useful and no different with "storage\permanent\indexeddb+++fx-devtools", can you please provide more details?

more options

I'm not sure about a "new" responsive design mode. Previously certain data was stored in preferences (prefs.js). Could you look at about:config and see whether it has your customized data, or only default/obsolete data?

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful.

(2) In the search box above the list, type or paste responsiveUI and pause while the list is filtered

  • devtools.responsiveUI.presets => does this list include items you've added?
  • devtools.responsiveUI.customHeight, devtools.responsiveUI.customWidth => may be unsaved settings
more options

After looking at MDN, it seems I don't have the new RDM because I have legacy extensions blocking multiprocess. Whoops.

more options

As I wrote above: This data is stored as BLOB data in object_data and SQLite Manager shows it as BLOB (size). You would have to save this data to a file to inspect it (it is 16 bit binary data).

more options

cor-el said

As I wrote above: This data is stored as BLOB data in object_data and SQLite Manager shows it as BLOB (size). You would have to save this data to a file to inspect it (it is 16 bit binary data).

That data is not exist for me!

more options

jscher2000 said

I'm not sure about a "new" responsive design mode. Previously certain data was stored in preferences (prefs.js). Could you look at about:config and see whether it has your customized data, or only default/obsolete data? (1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful. (2) In the search box above the list, type or paste responsiveUI and pause while the list is filtered
  • devtools.responsiveUI.presets => does this list include items you've added?
  • devtools.responsiveUI.customHeight, devtools.responsiveUI.customWidth => may be unsaved settings

Yes, in prev. RDM we could have own JSON as presets, I actually have a github repo for that. but in new one I could not find any related data about backup/restore presets.

Modified by Mehdi

more options

This data is stored as a [key,data] value pairs in the object_data table. You can see the key value as plain text in the screenshot and the data value as BLOB in the data column. Someone would have to create a WebExtension to access this data and convert it to readable format.

An example with BLOB shown as HEX data (export as SQL): ("1","X'306566777570706D742F6566776A6466742F6D7064626D'",null,null,"X'B0010000050178F1FF9E0000800400FFFF7B22637573746F6D223A5B7B226E616D65223A224305127820446576696365222C227769647468223A3830302C22686569676874223A36010DF03E706978656C526174696F223A312C22757365724167656E74223A224D6F7A696C6C612F352E3020284D6F62696C653B2072763A33302E3029204765636B6F2F010C202046697265666F782F010D48222C22746F756368223A747275657D5D7D0000'");

more options

cor-el said

This data is stored as a [key,data] value pairs in the object_data table. You can see the key value as plain text in the screenshot and the data value as BLOB in the data column. Someone would have to create a WebExtension to access this data and convert it to readable format. An example with BLOB shown as HEX data (export as SQL): ("1","X'306566777570706D742F6566776A6466742F6D7064626D'",null,null,"X'B0010000050178F1FF9E0000800400FFFF7B22637573746F6D223A5B7B226E616D65223A224305127820446576696365222C227769647468223A3830302C22686569676874223A36010DF03E706978656C526174696F223A312C22757365724167656E74223A224D6F7A696C6C612F352E3020284D6F62696C653B2072763A33302E3029204765636B6F2F010C202046697265666F782F010D48222C22746F756368223A747275657D5D7D0000'");

In my case the value column is empty, btw how you found out RDM store the data here? is there any document about that?

more options

I usually check the Bugzilla website and read comments in the source code at the DXR website if I'm curious how it works. In this case it is a bit cryptic how this works since key names and data values aren't readable (i.e. it is not all plain text, but also complex binary data).

  • 306566777570706D742F6566776A6466742F6D7064626D ->
    0efwuppmt/efwjdft/mpdbm
  • 7B22637573746F6D223A5B7B226E616D65223A224305127820446576696365222C227769647468223A3830302C22686569676874223A36010DF03E706978656C526174696F223A312C22757365724167656E74223A224D6F7A696C6C612F352E3020284D6F62696C653B2072763A33302E3029204765636B6F2F010C202046697265666F782F010D48222C22746F756368223A747275657D5D7D ->
    {"custom":[{"name":"C??x Device","width":800,"height":6?

ð>pixelRatio":1,"userAgent":"Mozilla/5.0 (Mobile; rv:30.0) Gecko/?? Firefox/? H","touch":true}]}


We could use an edit/backup/restore feature for the device settings. You currently can't make changes and as soon as you would resize the window then all other settings are reset.