Avatar for Username

ძიება მხარდაჭერაში

ნუ გაებმებით თაღლითების მახეში მხარდაჭერის საიტზე. აქ არასდროს მოგთხოვენ სატელეფონო ნომერზე დარეკვას, შეტყობინების გამოგზავნას ან პირადი მონაცემების გაზიარებას. გთხოვთ, გვაცნობოთ რამე საეჭვოს შემჩნევისას „დარღვევაზე მოხსენების“ მეშვეობით.

Learn More

Removing History but not Bookmarks (Local files)

  • 2 პასუხი
  • 0 მომხმარებელი წააწყდა მსგავს სიძნელეს
  • 21 ნახვა
  • ბოლოს გამოეხმაურა Griffin Chastain

Hello,

I am a computer technician currently trying to write a small python script that will clear a users cache, cookies, and history in Firefox on a Mac.

From what I can tell, both the history and bookmarks for a user is saved in one file named "places" (specifically under "/Users/[username]/Library/Application Support/Firefox/Profiles/[jargon].default-release/places.sqlite")

Is there a way to clear just the history for a user, that doesn't go through the browser GUI? I would really like to avoid mixing CLT with Selenium or something of that sort with python.

Any information is welcome!

Thank you,

Hello, I am a computer technician currently trying to write a small python script that will clear a users cache, cookies, and history in Firefox on a Mac. From what I can tell, both the history and bookmarks for a user is saved in one file named "places" (specifically under "/Users/[username]/Library/Application Support/Firefox/Profiles/[jargon].default-release/places.sqlite") Is there a way to clear just the history for a user, that doesn't go through the browser GUI? I would really like to avoid mixing CLT with Selenium or something of that sort with python. Any information is welcome! Thank you,

გადაწყვეტა შერჩეულია

Ah thank you for the information, seems like I have some more things to learn!

EDIT: With that information as some direction, I was able to use a method from an Ubuntu forum where they navigated to the "places.sqlite" file in the terminal. Opened the file with Sqlite3 and removed the history table with "DELETE FROM moz_historyvisits;"

Seems like it worked like a charm!

პასუხის ნახვა სრულად 👍 0

ყველა პასუხი (2)

You can only remove history properly by running the appropriate SQLite statements.

გამოსადეგია?

შერჩეული გადაწყვეტა

Ah thank you for the information, seems like I have some more things to learn!

EDIT: With that information as some direction, I was able to use a method from an Ubuntu forum where they navigated to the "places.sqlite" file in the terminal. Opened the file with Sqlite3 and removed the history table with "DELETE FROM moz_historyvisits;"

Seems like it worked like a charm!

ჩასწორების თარიღი: , ავტორი: Griffin Chastain

გამოსადეგია?

დასვით კითხვა

უნდა შეხვიდეთ ანგარიშზე პასუხის დასაწერად. გთხოვთ, დასვათ ახალი შეკითხვა, თუ ჯერ არ გაქვთ ანგარიში.