Can I Recover Firefox and Tor Bookmarks?
In fact, you just have to copy the folder "firefox" and all its content. This folder is located in the hidden folder ".mozilla" of your personal folder (/home/username/).
On another operating system (Linux, Mac or Windows), you just have to launch Mozilla Firefox once. Then close it and copy the profile folder (xxxxxx.default) from the "firefox" backup folder in the corresponding "firefox" folder for your platform. After that, I recommend you to edit "profiles.ini" and replace the "Path" value by the name of the profile folder copied instead of overwriting that file with the one from the backup.
On Windows 7/8/8.1, you'll find "firefox" folder (containing profiles) in "C:\Users\username\AppData\Roaming\Mozilla\".
That's what I use very often to do the contrary (migrating from Windows or Mac to Linux).
P.S.: Please note that you may have to replace add-ons which are designed for Linux by the ones designed for your platform.
Related videos on Youtube
![NineCattoRules](https://i.stack.imgur.com/gDkaD.jpg?s=256&g=1)
NineCattoRules
Updated on September 18, 2022Comments
-
NineCattoRules almost 2 years
My request PHP file elaborates some Ajax POST
data
:POST data
data[0][id]:359 data[0][position]:1 data[1][id]:321 data[1][position]:2 data[2][id]:354 data[2][position]:3
Request.php
if(isset($_POST['data'])) { if(isset($_SESSION['username']) && isset($_SESSION['password'])) { $verify = $loggedIn->verify(); if($verify['username']) { $Profile = new Profile(); $Profile->db = $db; //Call my function $messages = $Profile->setOrder($_POST['data']); } } }
Profile.php
function setOrder($post) { var_dump($post); foreach($post as $item) { return "Area ID ".$item["id"]." and person located ".$item["position"]."<br />"; } }
My function returns nothing and the dump of
$post
is as belowarray(3) { [0]=> array(2) { ["id"]=> string(3) "359" ["position"]=> string(1) "1" } [1]=> array(2) { ["id"]=> string(3) "321" ["position"]=> string(1) "2" } [2]=> array(2) { ["id"]=> string(3) "354" ["position"]=> string(1) "3" } }
Inside my function I can
dump
correctly something likevar_dump($post[0]["id"]);
so why myforeach
loop is empty?-
Golboth about 10 yearsIf you don't see the graphical login screen, you might be facing some problems with the drivers used for your graphic card. Trying another one might be a solution. In some very rare cases, I replaced the graphic card which was badly supported by another cheap one very well supported...
-
Peter Rakmanyi over 6 yearsTry to
var_dump($item);
inside the loop. Maybe it will reveal something. -
CD001 over 6 yearsYou're not actually telling your
foreach()
to output anything, merelyreturn
- which will assign that string to$messages = $Profile->setOrder($_POST['data']);
and terminate the loop. -
Sebastian Brosch over 6 yearsyou don't loop because
return
breaks the loop -
Peter Rakmanyi over 6 yearsI missed the
return
. Do you want toecho
?
-
-
Andy Ibanez about 10 yearsWish I knew that so I could have configured this when my Linux box worked.
-
Uttam Pal about 10 yearsOh, sorry I missed the point that you cannot log in.
-
Uttam Pal about 10 yearsAll your firefox settings are there in the hidden ~/.mozilla directory. There within this you'll also find a directory called "bookmarkbackups" that contains time to time backup of all your bookmarks as *.jason files. Hope that helps.
-
Andy Ibanez about 10 yearsThanks, I will give this answer a go as soon as I start settings things up again. Add-ons are not a problem since I never used them.