Private browsing

Tips and Tricks for Networking

Moderator: jkerr82508

User avatar
Snorkasaurus
Berserk
Posts: 587
Joined: 30 Dec 2013, 19:19
Contact:

Re: Private browsing

Postby Snorkasaurus » 07 Oct 2014, 14:16

Good call v60... I am not a Chrome/Pepper user so I didn't even think of that.
S.

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Private browsing - normal cookies

Postby viking60 » 09 Oct 2014, 13:45

If you want to manually check out the normal cookies on your system you can do a:

Code: Select all

locate "cookie"
in Linux You will be surprised how many there are +1

To check out Chromium cookies you could do something like this

Code: Select all

locate "cookie"| grep chromium


In Windows you can do something like this:
    * Click on 'Windows Explorer'
    * Select the 'Search' button on the tool bar
    * Enter “cookie” into the search box field for 'Folders and Files'
    * Choose 'My Computer' in the 'Look In' drop down menu
    * Click on 'Search Now'
    * Select and open the folders that are retrieved
    * Click to highlight any cookie file
    * Click the 'Delete' key to erase the cookie file

These cookies can be influenced by your browser settings including being deleted so this is not dramatic. Unlike the flash cookies; these are "honest" cookies.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
Snorkasaurus
Berserk
Posts: 587
Joined: 30 Dec 2013, 19:19
Contact:

Re: Private browsing

Postby Snorkasaurus » 09 Oct 2014, 14:07

My solution for cookies is to use the CSLite addon for SeaMonkey. I set SeaMonkey to block all cookies by default, I set CSLite to block all cookies by default on startup (in case I forget to turn off global temporary cookie acceptance), and CSLite provides a nice easy way to add exceptions. That way, the only cookies on my drive at any time are from domains that I specifically made exceptions for. CSLite also provides a better "cookie management" interface than SeaMonkey's [and FireFox's] crappy "Data Manger".
:smug

S.

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Private browsing

Postby viking60 » 11 Mar 2015, 13:26

Since Opera has been taken over by Google you cannot start Opera with

Code: Select all

opera --newprivatetab
anymore (I have edited the first post).
You need to start the private tab from the menu after you have started Opera now.

Also Opera now uses pepper flash to place flash cookies in:
~/.config/opera/Pepper Data/Shockwave Flash
so to remove it you need to do a:

Code: Select all

rm -R -f ~/.config/opera/Pepper?Data/Shockwave?Flash


My aliases for removing flash cookies so far are:
For Chromium:

Code: Select all

alias removepepper='rm -R -f ~/.config/chromium/Default/Pepper?Data/Shockwave?Flash/'

For Opera

Code: Select all

alias removeopera='rm -R -f ~/.config/opera/Pepper?Data/Shockwave?Flash'


And the one that combines it all - including mozilla - contain the two above:

Code: Select all

alias removeflash='rm -R -f ~/.macromedia/Flash_Player/; removepepper;removeopera;'

This alias removes all my flash cookies for all my browsers (Firefox Chromium and Opera).

To brutally remove all the flash-cookies on your home you can simply do a:

Code: Select all

find  -name '*.sol' -delete
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
dedanna1029
Sound-Berserk
Posts: 8780
Joined: 14 Mar 2010, 20:29
Contact:

Re: Private browsing

Postby dedanna1029 » 27 Mar 2015, 23:45

Ugh. Trying to remember what I did here in this thread without having to scroll a might on the phone.

TBH, I never did understand this private browsing stuff. IMHO there's nothing private online any more with the NSA and GCHQ snooping about.

Guess I'll scroll... *sigh

Edit: Ah, I see it. Will have to remember to skip this one until I have my computer back up again.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Private browsing -Vivaldi

Postby viking60 » 19 Oct 2015, 14:04

There is a new browser called Vivaldi based on the Chrome source. This browser hides its flash-cookies in yet another location:

Code: Select all

~/.config/vivaldi/Default/Pepper Data/Shockwave Flash

So I added a new alias to my list:

Code: Select all

alias removevivaldi='rm -R -f ~/.config/vivaldi/Default/Pepper?Data/Shockwave?Flash'

but since I use "removeflash" to remove all super cookies I also added it there

Code: Select all

alias removeflash='rm -R -f ~/.macromedia/Flash_Player/; removepepper;removeopera;removevivaldi'


here is a list of all my remove flash cookies so far:

Code: Select all

alias removeflash='rm -R -f ~/.macromedia/Flash_Player/; removepepper;removeopera;removevivaldi'
alias removepepper='rm -R -f ~/.config/chromium/Default/Pepper?Data/Shockwave?Flash/'
alias removeopera='rm -R -f ~/.config/opera/Pepper?Data/Shockwave?Flash'
alias removevivaldi='rm -R -f ~/.config/vivaldi/Default/Pepper?Data/Shockwave?Flash'


As you can see removeflash contains the aliases removepepper, removeopera and removevivaldi and contains the Firefox flash cookie removal.
Naturally you can remove only the vivaldi supercookies by running "removevivaldi" but "removeflash" takes them all.

After a

Code: Select all

removeflash

then

Code: Select all

find ~/ -name '*.sol'
turns up nice and empty.

Edit:
If you want to use the alias as part of a cron then you need to replace ~/ with /home/USER
Cron jobs are particular about the full path...
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
dedanna1029
Sound-Berserk
Posts: 8780
Joined: 14 Mar 2010, 20:29
Contact:

Re: Private browsing

Postby dedanna1029 » 19 Oct 2015, 15:22

For the sake of those running Windows for whatever reason, how would they do it?

Thanks.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
Snorkasaurus
Berserk
Posts: 587
Joined: 30 Dec 2013, 19:19
Contact:

Re: Private browsing

Postby Snorkasaurus » 19 Oct 2015, 17:01

For Windows (tested on Win7) you can use these batch commands:

Code: Select all

cd %appdata%\Macromedia\Flash Player\#SharedObjects
for /d %%s in (*) do rmdir /s /q %%s
cd %appdata%\Macromedia\Flash Player\macromedia.com\support\flashplayer\sys
for /d %%s in (*) do rmdir /s /q %%s

Applications using flash [your browser] must not be open when running these commands or the files will be locked and the batch file will be unable to delete them. I find putting this in a bat file placed in your startup directory works nicely.

s.

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Private browsing

Postby viking60 » 19 Oct 2015, 18:14

Well that does only take care of the Mozilla browsers (Firefox) by the looks of it?
Not Chromium (Pepper) Opera and Vivaldi?

@dedanna
Maybe you can go to ~/ ("My Documents" or something) in cygwin and delete all flash cookies with

Code: Select all

find  -name '*.sol' -delete
:?:
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
Snorkasaurus
Berserk
Posts: 587
Joined: 30 Dec 2013, 19:19
Contact:

Re: Private browsing

Postby Snorkasaurus » 19 Oct 2015, 18:40

viking60 wrote:Well that does only take care of the Mozilla browsers (Firefox) by the looks of it?

You could do:

Code: Select all

cd \
for /r %%s in (*.sol) do del "%%s"

Though that leaves behind some directories named after the sites that set them (which in my mind is a minor information disclosure issue).

s.

User avatar
dedanna1029
Sound-Berserk
Posts: 8780
Joined: 14 Mar 2010, 20:29
Contact:

Re: Private browsing

Postby dedanna1029 » 19 Oct 2015, 20:13

viking60 wrote:@dedanna
Maybe you can go to ~/ ("My Documents" or something) in cygwin and delete all flash cookies with

Code: Select all

find  -name '*.sol' -delete
:?:

I'll give it a try, thanks.
The thing is, Cygwin on this thing, I'd have to tell it specific directories in C:\ to find them in...

/c/whatever.

Cygwin pretty much just sees itself otherwise. Perhaps there's a recursive option for "find" so I could tell it to search all of /c/.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
dedanna1029
Sound-Berserk
Posts: 8780
Joined: 14 Mar 2010, 20:29
Contact:

Re: Private browsing

Postby dedanna1029 » 19 Oct 2015, 20:22

Snorkasaurus wrote:For Windows (tested on Win7) you can use these batch commands:

Code: Select all

cd %appdata%\Macromedia\Flash Player\#SharedObjects
for /d %%s in (*) do rmdir /s /q %%s
cd %appdata%\Macromedia\Flash Player\macromedia.com\support\flashplayer\sys
for /d %%s in (*) do rmdir /s /q %%s

Applications using flash [your browser] must not be open when running these commands or the files will be locked and the batch file will be unable to delete them. I find putting this in a bat file placed in your startup directory works nicely.

s.

Let's hope it works for 8.1. I'm going to give this a shot too.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html


Return to “Networking”