Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Ďalšie informácie

code for bat file delete cookies

more options

Can anyone tell me the code for a bat file that when clicked will have the same effect my going tools/options/privacy/show cookies/remove all I want to be able to remove all cookies without having top do it manually and maybe put the bat fil on a schedules.

I know how to make the file in notepad but do not know the code. Thanks

Can anyone tell me the code for a bat file that when clicked will have the same effect my going tools/options/privacy/show cookies/remove all I want to be able to remove all cookies without having top do it manually and maybe put the bat fil on a schedules. I know how to make the file in notepad but do not know the code. Thanks

Všetky odpovede (10)

more options

Hi

We do not provide developer level help here, but I recommend you ask your question at Stack Overflow or reading the docs at Mozilla Developer Network.

I noticed that your copy of Firefox s out of date. I strongly recommend you update your copy or Firefox to make sure that you have the latest security and stability fixes, as we as new features that have been released. You can read more about how to update here.

I hope this helps, but if not, please come back here and we can look into a different solution for you.

more options

thanks. I am late updating ff as i do not want to have to undo the changes they often make. have ff as i want it

more options

Firefox stores cookies in a database file named cookies.sqlite. I do not think a BAT file could do anything except delete the entire file. Such a file removal should occur ONLY when Firefox has been fully shut down; running it on an arbitrary schedule when Firefox is still running seems likely to cause crashes, or at least chaos with open sites.

If you want to remove unneeded cookies promptly, consider using an add-on. For example, you could take a look at this one:

https://addons.mozilla.org/firefox/addon/self-destructing-cookies/

more options

jscher2000 said

Firefox stores cookies in a database file named cookies.sqlite. I do not think a BAT file could do anything except delete the entire file. Such a file removal should occur ONLY when Firefox has been fully shut down; running it on an arbitrary schedule when Firefox is still running seems likely to cause crashes, or at least chaos with open sites. If you want to remove unneeded cookies promptly, consider using an add-on. For example, you could take a look at this one: https://addons.mozilla.org/firefox/addon/self-destructing-cookies/
i have that addon it only works when the site tab is closed. I often delete cookies manually with no crash. i want something like winpatrol that deletes them to a schedule but do not want win patrol
more options

There's a difference between using built-in features or interfaces of Firefox to cleanly remove cookies, and removing the entire database file. I still don't recommend deleting the file on a schedule.

Maybe there's another extension that will help?

Also, a bit faster than using the Options page would be the "Clear Recent History" dialog (History menu or Ctrl+Shift+Delete). Just make sure not to clear anything you don't want to clear -- expand the Details panel to uncheck data you want to preserve.

more options

jscher2000 said

There's a difference between using built-in features or interfaces of Firefox to cleanly remove cookies, and removing the entire database file. I still don't recommend deleting the file on a schedule. Maybe there's another extension that will help? Also, a bit faster than using the Options page would be the "Clear Recent History" dialog (History menu or Ctrl+Shift+Delete). Just make sure not to clear anything you don't want to clear -- expand the Details panel to uncheck data you want to preserve.

thanks is there any quicker way to get to clear recent history?

more options

FIREFOXED said

is there any quicker way to get to clear recent history?

Not that I'm aware of. Maybe using an add-on button?

more options

jscher2000 said

FIREFOXED said
is there any quicker way to get to clear recent history?

Not that I'm aware of. Maybe using an add-on button?

ok thanks. Winpatrol deletes cookies on a schedules and no crash. I don't know how that works though

more options

I suppose you do realise you may use Firefox in a Private Browsing mode. Also you may set Firefox to do effectively the same thing automatically or to remove cookies at close down. See

Unfortunately right now with Fx44 may not be the best time to try that, Fx44 does have known bugs relating to clearing information at closedown.

more options

FIREFOXED said

Winpatrol deletes cookies on a schedules and no crash. I don't know how that works though

If I were developing such a thing, I would get the code to open a SQLite database and clear a database table and build that into the program.

Tried Google?

https://www.google.com/search?q=sqlite+command+line+batch+file