Probleme with 'places.sqlite' -> 'moz_places' Can't retrieve the "real" $LAST_VISITED_URL ?
the last url in moz_places in places.sqlite are not the same as in my history tab I posted here Here is my `last-url.sh` #!/bin/bash rm -rf /tmp/db.sqlite … (read more)
the last url in moz_places in places.sqlite are not the same as in my history tab I posted here
Here is my `last-url.sh`
#!/bin/bash rm -rf /tmp/db.sqlite cp ~/.mozilla/firefox/*.default-esr/places.sqlite /tmp/db.sqlite ; LAST_URL=`sqlite3 /tmp/db.sqlite "select url from moz_places order by last_visit_date desc limit 1;"`;
echo $LAST_URL
My script keeps giving me wrong answer. For exemple, a stackoverflow.com url instead of the youtube.com one even if i reload the page.
I have only one `xxxxxx.default-esr` profile.
Screenshot examples: the "google test" is a brand new visited url, and the others were refreshed pages