Flash cookies

Chat about just about anything else

Flash cookies

Postby emorrp1 on Mon Aug 24, 2009 6:00 pm

Hi, was anyone else aware of this: http://en.wikipedia.org/wiki/Local_Shared_Object
If you have a question that has been answered and solved, then please edit your original post and put a [SOLVED] at the end of your subject header
Hint - use a google search including the search term site:forums.linuxmint.com
emorrp1
Level 8
Level 8
 
Posts: 2322
Joined: Thu Feb 26, 2009 8:58 pm

Linux Mint is funded by ads and donations.
 

Re: Flash cookies

Postby thx1138 on Mon Aug 24, 2009 6:13 pm

Yes, since i used Bleachbit for the first time.
I'm pretty new to Linux (1 year, the last 6 months very happy with Mint and Puppy), so i was sure, that flash thingy was a windows problem. I was really surprised, how much time Bleachbit spent in Flash related directories.
User avatar
thx1138
Level 4
Level 4
 
Posts: 323
Joined: Thu Apr 30, 2009 8:42 pm
Location: Germany/NRW

Re: Flash cookies

Postby DrHu on Mon Aug 24, 2009 6:17 pm

User avatar
DrHu
Level 15
Level 15
 
Posts: 5911
Joined: Wed Jun 17, 2009 8:20 pm

Re: Flash cookies

Postby lexon on Mon Aug 24, 2009 9:17 pm

I have found flash cookies in two directories under .macromedia. One is #SharedObjects, the other is Sys. I delete them after every session. Flash Player re-creates the directories the next time I use Flash Player and inserts the new cookies. Works for me.

lexon
Lindows, Linspire, Freespire, Ubuntu, Mint 14 Mate
lexon
Level 5
Level 5
 
Posts: 652
Joined: Sat Jan 31, 2009 10:53 pm
Location: MA USA

Re: Flash cookies

Postby lexon on Mon Aug 24, 2009 10:21 pm

I found this Mozilla Add-On you might consider.
For those not familiar with the Better Privacy Add-on, it specifically finds Flash Cookies (LSOs) and deletes them, either manually or automatically when the browser closes.
I have yet to try this Add-On.
Also, don't forget to go into RichResults and set History to 0. The default in Firefox is 12 items in History even if you set Preferences to remove all items.

lexon
Last edited by lexon on Tue Aug 25, 2009 4:45 pm, edited 2 times in total.
Lindows, Linspire, Freespire, Ubuntu, Mint 14 Mate
lexon
Level 5
Level 5
 
Posts: 652
Joined: Sat Jan 31, 2009 10:53 pm
Location: MA USA

Re: Flash cookies

Postby Fred on Mon Aug 24, 2009 10:35 pm

I use tmpfs mounts to deal with this issue. 1st, I don't trust Fire Fox quit enough, and 2nd, some sites don't want to work right if you throw their cookies away as you get them. They want to see them on your drive while you are at their site.

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3357
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: Flash cookies

Postby linuxviolin on Mon Aug 24, 2009 10:38 pm

lexon, why add another plugin to Firefox when the solution given is so easy and permanent?
K.I.S.S. ===> "Keep It Simple, Stupid"
"Simplicity is the ultimate sophistication." (Leonardo da Vinci)
"Everything should be made as simple as possible, but no simpler." (Albert Einstein)
User avatar
linuxviolin
Level 8
Level 8
 
Posts: 2025
Joined: Tue Feb 27, 2007 6:55 pm
Location: France

Re: Flash cookies

Postby lexon on Mon Aug 24, 2009 10:43 pm

Fred wrote:I use tmpfs mounts to deal with this issue. 1st, I don't trust Fire Fox quit enough, and 2nd, some sites don't want to work right if you throw their cookies away as you get them. They want to see them on your drive while you are at their site.

Fred


Because I choose what I want. I have all my bookmarks. I have never, ever had any issues by clearing All Firefox data after closing Firefox. Preferences is set up so No data is retained.

lexon
Lindows, Linspire, Freespire, Ubuntu, Mint 14 Mate
lexon
Level 5
Level 5
 
Posts: 652
Joined: Sat Jan 31, 2009 10:53 pm
Location: MA USA

Re: Flash cookies

Postby lexon on Mon Aug 24, 2009 10:51 pm

linuxviolin wrote:lexon, why add another plugin to Firefox when the solution given is so easy and permanent?


I would only get the Add-On to try it out to let others know how it works. Some non techie people might like that path.

I saw the suggestion in the link but this symbolic link thingy does not make sense to me so I just use the GUI and go into the File Manager and delete the two directories. I do not have to bother with the Command Line. Works for me.

lexon
Lindows, Linspire, Freespire, Ubuntu, Mint 14 Mate
lexon
Level 5
Level 5
 
Posts: 652
Joined: Sat Jan 31, 2009 10:53 pm
Location: MA USA

Re: Flash cookies

Postby linuxviolin on Mon Aug 24, 2009 11:48 pm

lexon wrote:I saw the suggestion in the link but this symbolic link thingy does not make sense to me so I just use the GUI and go into the File Manager and delete the two directories. I do not have to bother with the Command Line. Works for me.

Ok but with the solution given you have not to delete the directories because there is nothing, the symbolic link prevents "the storage of data or the creation of empty [or not] (and potentially embarrassing) directories" :D
"I do not have to bother with the Command Line." Hmm, just copy and paste the command in a terminal and type Enter, it's "to bother"? :roll:

But as you said, you choose what you want. :-)

P.S.= I guess the Preferences of Firefox, even set to remove all items, don't remove these Flash "things".

For more information about what is /dev/null, see at : http://en.wikipedia.org/wiki//dev/null
K.I.S.S. ===> "Keep It Simple, Stupid"
"Simplicity is the ultimate sophistication." (Leonardo da Vinci)
"Everything should be made as simple as possible, but no simpler." (Albert Einstein)
User avatar
linuxviolin
Level 8
Level 8
 
Posts: 2025
Joined: Tue Feb 27, 2007 6:55 pm
Location: France

Re: Flash cookies

Postby lexon on Tue Aug 25, 2009 4:46 pm

lexon wrote:I found this Mozilla Add-On you might consider.
For those not familiar with the Better Privacy Add-on, it specifically finds Flash Cookies (LSOs) and deletes them, either manually or automatically when the browser closes.
I have yet to try this Add-On.
Also, don't forget to go into RichResults and set History to 0. The default in Firefox is 12 items in History even if you set Preferences to remove all items.

lexon


I have found out BetterPrivavy Add-On does not remove all the cookies. I removed BetterPrivacy Add-On.
I just delete the directory #SharedObjects and the directory Sys. Takes but a few seconds. Flash restores them next brower opening.
Works foe me.

lexon
Lindows, Linspire, Freespire, Ubuntu, Mint 14 Mate
lexon
Level 5
Level 5
 
Posts: 652
Joined: Sat Jan 31, 2009 10:53 pm
Location: MA USA

Re: Flash cookies

Postby linuxviolin on Tue Aug 25, 2009 5:19 pm

lexon, I'm sorry, I would not be too insistent but I really do not understand your refusal to apply this simple solution which also you would avoid the need to delete these directories at the Firefox close... But of course you do what you want. :D
K.I.S.S. ===> "Keep It Simple, Stupid"
"Simplicity is the ultimate sophistication." (Leonardo da Vinci)
"Everything should be made as simple as possible, but no simpler." (Albert Einstein)
User avatar
linuxviolin
Level 8
Level 8
 
Posts: 2025
Joined: Tue Feb 27, 2007 6:55 pm
Location: France

Re: Flash cookies

Postby mint123 on Fri Feb 25, 2011 12:22 am

Fred wrote:I use tmpfs mounts to deal with this issue. 1st, I don't trust Fire Fox quit enough, and 2nd, some sites don't want to work right if you throw their cookies away as you get them. They want to see them on your drive while you are at their site.

Fred



I figure it's better to dredge up an older thread than make a new one for this. How exactly do you assign the .adobe and .macromedia folders to tmpfs? Working with the code I used for the /tmp directory and Firefox cache, (tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0) would I change it to:

Code: Select all
tmpfs /home/USER/.macromedia tmpfs defaults,noatime,mode=1777 0 0
tmpfs /home/USER/.adobe tmpfs defaults,noatime,mode=1777 0 0


Is the "defaults,noatime,mode=....." part necessary? I don't know what this signifies even in the FF line.
mint123
Level 3
Level 3
 
Posts: 133
Joined: Mon Jan 31, 2011 4:44 pm

Re: Flash cookies

Postby cxexa on Fri Feb 25, 2011 12:55 am

I make the two directories that hold this stuff Read-Only. I have not had any issues with this method. I check the directories every once in a while and they remain empty.

~/.macromedia/Flash_Player/macromedia.com/support/flashplayer/sys
~/.macromedia/Flash_Player/#SharedObjects/blahblahblah
User avatar
cxexa
Level 1
Level 1
 
Posts: 18
Joined: Sun Jul 25, 2010 9:04 am

Re: Flash cookies

Postby mint123 on Sat Feb 26, 2011 2:19 pm

[quote="cxexa"][/quote]

This seems to work fine for me too. Thanks!
mint123
Level 3
Level 3
 
Posts: 133
Joined: Mon Jan 31, 2011 4:44 pm

Re: Flash cookies

Postby linuxviolin on Sat Feb 26, 2011 3:12 pm

mint123 and cxexa. Usually tmpfs mount is /dev/shm (look in your fstab file) so, you just need to replace the two folders by two links to /dev/shm... :wink:

But just a warning. You should probably not touch to the .adobe folder but rather to the Flash_Player folder which is inside .adobe. As I said in this post:

About the .adobe folder, you should be quite careful. If you have the PDF Reader, Adobe Reader, for instance, you will have some useful folders in .adobe like: Acrobat and Linguistics. Maybe you should not touch to these folders, I guess... :roll: Like said a guy in a comment on the commandlinefu.com web page: "Adobe Acrobat Reader 9.0 stops working for me (Ubuntu 10.04 x64) after doing this" :!:


Or just use an app like BleachBit which clean all of these and more easily...
K.I.S.S. ===> "Keep It Simple, Stupid"
"Simplicity is the ultimate sophistication." (Leonardo da Vinci)
"Everything should be made as simple as possible, but no simpler." (Albert Einstein)
User avatar
linuxviolin
Level 8
Level 8
 
Posts: 2025
Joined: Tue Feb 27, 2007 6:55 pm
Location: France

Re: Flash cookies

Postby colyn on Sat Feb 26, 2011 4:37 pm

for i in ~/.adobe ~/.macromedia ; do ( rm $i/ -rf ; ln -s /dev/null $i ) ; done

Copy/paste and save the above line as a .xsessionrc in your /home directory. Notice the dot at the beginning.

You won't have any flash cookies to delete..
User avatar
colyn
Level 6
Level 6
 
Posts: 1027
Joined: Sat Aug 14, 2010 1:37 pm
Location: I'm right here..Can't ya see me?

Re: Flash cookies

Postby Ebere on Fri Apr 29, 2011 1:53 pm

colyn wrote:for i in ~/.adobe ~/.macromedia ; do ( rm $i/ -rf ; ln -s /dev/null $i ) ; done

Copy/paste and save the above line as a .xsessionrc in your /home directory. Notice the dot at the beginning.

You won't have any flash cookies to delete..



What exactly, does that do, colyn ?

"The true measure of a man is how he treats someone who can do him absolutely no good." ~Samuel Johnson (1709-1784)
Ebere
Level 3
Level 3
 
Posts: 114
Joined: Mon Apr 26, 2010 7:47 pm
Location: Index, Wa. The great northwet

Re: Flash cookies

Postby colyn on Fri Apr 29, 2011 9:48 pm

Ebere wrote:
colyn wrote:for i in ~/.adobe ~/.macromedia ; do ( rm $i/ -rf ; ln -s /dev/null $i ) ; done

Copy/paste and save the above line as a .xsessionrc in your /home directory. Notice the dot at the beginning.

You won't have any flash cookies to delete..



What exactly, does that do, colyn ?


Notice the /dev/null? This is the bottomless pit so to speak.. Flash cookies go into the pit never to be seen or heard from again.... :mrgreen:
User avatar
colyn
Level 6
Level 6
 
Posts: 1027
Joined: Sat Aug 14, 2010 1:37 pm
Location: I'm right here..Can't ya see me?

Linux Mint is funded by ads and donations.
 

Return to Open chat

Who is online

Users browsing this forum: No registered users and 4 guests