Jump to content
CCleaner Community Forums

How to exclude Edge local storage?


Recommended Posts

Hi, I'm the Community Manager for AdBlock. We're getting reports from our users that AdBlock's settings (options, subscribed filter lists, and custom filters) aren't saved when they exit Edge. We've traced this to Ccleaner. AdBlock's settings are stored in Local Storage, specifically the path:

 

%LocalAppData%\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\AC\#!003\MicrosoftEdge\User\Default\DOMStore\******\EdgeExtension_BetaFishAdBlock_c1wakc4j0nefm[1].xml

 

(The "******" varies.)

 

I noticed that the name of the XML file is the same as a cookie I find when I search for "adblock" in Ccleaner's cookies list.

 

I tried excluding %LocalAppData%\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\AC\#!003\MicrosoftEdge\User\Default\DOMStore\, but Ccleaner still resets all AdBlock settings to the default the next time I launch Edge.

 

I also tried excluding %LocalAppData%\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\AC; same result.

 

Finally, I tried moving the cookie EdgeExtension_BetaFishAdBlock_c1wakc4j0nefm to the Keep column. Again, same result.

 

What do we need to advise our users to exclude to prevent their AdBlock settings from being removed when Ccleaner is run?

 

Thanks in advance for your help!

 

Rhana

AdBlock Community Manager

Link to comment
Share on other sites

  • Moderators

Hello Rhana,

 

I believe the issue is already being investigated by the devs.

 

https://forum.piriform.com/index.php?showtopic=46789

 

However thanks for posting and I'll make the devs aware of your post.

CCleaner documentation can be found here

https://www.ccleaner.com/docs/ccleaner

Support contact

https://support.piriform.com/hc/en-us/requests/new

support@ccleaner.com

 

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
  • Moderators

@rhana,

just for my own curious nature, are your users only seeing this Adblock issue when using the Edge browser?

Backup now & backup often.
It's your digital life - protect it with a backup.
Three things are certain; Birth, Death and loss of data. You control the last.

Link to comment
Share on other sites

  • Moderators

Hi! Has there been any progress on this?

 

I promised I will post when there is news and I will :)

 

I ask the devs for updates about this regularly.

CCleaner documentation can be found here

https://www.ccleaner.com/docs/ccleaner

Support contact

https://support.piriform.com/hc/en-us/requests/new

support@ccleaner.com

 

Link to comment
Share on other sites

@hazelnut, thanks so much! It's just that I know how issues that are open for a while can sometimes slip through a crack. :)

 

@mta, no, our users have the same issue with Chrome. This is what we advise our Chrome users:

 

You're using a cookie, disk, or file cleaning program such as Ccleaner.

Make sure to tell it not to remove "localStorage" files, because that will delete AdBlock's settings. To do this, exclude the following folder:

 

C:\Users\{yourusername}\AppData\Local\Google\Chrome\User Data\{yourprofilename}\Local Storage

 

In the path above, replace "{yourusername}" with your Windows username and "{yourprofilename}" with the name you gave your Chrome profile. If you didn't create a specific user profile, use "default"; for example, C:\Users\jane\AppData\Local\Google\Chrome\User Data\default\Local Storage

 

A similar solution doesn't seem to be working for Edge, however, based on the test results I included in my original post.

Link to comment
Share on other sites

  • Moderators

I know about the Adblock settings being removed which was why I could never use it with SRWare Iron, it took me months to figure out what was causing the problem.

 

This is what we advise our Chrome users

 

Perhaps give my findings a look too as a possible workaround until there's an official solution:

https://forum.piriform.com/index.php?showtopic=45274

Link to comment
Share on other sites

  • Moderators

With Chrome/Chromium browsers the answer is Yes.

 

The reason being when excluding the whole "Local Extension Settings" folder it will protect all installed extensions settings, since Adblock isn't the only extension that will have settings deleted for whatever reason.

Link to comment
Share on other sites

  • Moderators

Is there no sign of the exact file being removed?

When analysis is run on the local storage entry are no files identifiable as belonging to your specific software? Are you unaware what the software you represent places in local storage. This really seems a simple file exclude instead of the large sweeping folder excludes you and my cohort are suggesting

 

ADVICE FOR USING CCleaner'S REGISTRY INTEGRITY SECTION

DON'T JUST CLEAN EVERYTHING THAT'S CHECKED OFF.

Do your Registry Cleaning in small bits (at the very least Check-mark by Check-mark)

ALWAYS BACKUP THE ENTRY, YOU NEVER KNOW WHAT YOU'LL BREAK IF YOU DON'T.

CCLEANER, RECUVA, DEFRAGGLER AND SPECCY DOCUMENTATION CAN BE FOUND AT  https://support.piriform.com/hc/en-us and  https://www.ccleaner.com/docs

Pro users file a PRIORITY SUPPORT request at https://support.piriform.com/hc/en-us/requests/new

link to WINAPP2.INI explanation

Link to comment
Share on other sites

  • Moderators

Not so simple because the settings are stored in a numbered .LOG file which changes everytime a Chrome/Chromium browser is started and closed, and if people install multiple extensions it wouldn't help. In my case when using Adblock for Chrome it out of nowhere stopped keeping settings (this was in early 2015) meaning I couldn't logically use it since I have allot of custom filters. Also when I tried Adblock Plus for Chrome it also wouldn't save settings, so that "large sweeping folder" exclusion in my opinion is the best approach, and also it makes zero sense to clean that folder since it only contains settings for extensions (no different than registry settings for installed programs in my opinion).

 

From my findings I think one of the reasons cleaning software in general (not just CCleaner in this case) is wiping out the settings because a folder with settings inside of it will contain a numbered .LOG file which is the actual settings that need to be kept and left alone - but most cleaning programs like to delete logs by default. Although I think a browser that saves settings into a .LOG file is ridiculous.

 

Folder contents example (Web of Trust):

...\000003.log
...\CURRENT
...\LOCK
...\LOG
...\LOG.old
...\MANIFEST-000001

 

Folder contents example (Adblock Plus for Chrome):

This one also stores settings in the .LDB files:

...\000005.ldb
...\001533.ldb
...\001535.ldb
...\001537.ldb
...\001539.log
...\001540.ldb
...\CURRENT
...\LOCK
...\LOG
...\LOG.old
...\MANIFEST-000001

 

Edit:

In a Chrome/Chromium browser it's clear that the .LOG file is storing the settings by viewing it with a text editor. I've had about 1 1/2 years messing with this, and when I finally excluded the whole "Local Extension Settings" folder my extensions started retaining their settings again.

 

Edit 2:

Also something CCleaner cleans in Comodo Dragon (another Chrome/Chromium browser) corrupts the Profile for Dragon, well at least it did last year making it impossible to use Dragon and clean with CCleaner.

Edited by Andavari
Link to comment
Share on other sites

  • Moderators

Hi! Has there been any progress on this?

 

rhana try the Ccleaner new build and let us know your findings ..thanks

 

https://forum.piriform.com/index.php?showtopic=46991&do=findComment&comment=276380

CCleaner documentation can be found here

https://www.ccleaner.com/docs/ccleaner

Support contact

https://support.piriform.com/hc/en-us/requests/new

support@ccleaner.com

 

Link to comment
Share on other sites

  • Moderators

@Andavari isn't local storage also used by super cookies?

 

ADVICE FOR USING CCleaner'S REGISTRY INTEGRITY SECTION

DON'T JUST CLEAN EVERYTHING THAT'S CHECKED OFF.

Do your Registry Cleaning in small bits (at the very least Check-mark by Check-mark)

ALWAYS BACKUP THE ENTRY, YOU NEVER KNOW WHAT YOU'LL BREAK IF YOU DON'T.

CCLEANER, RECUVA, DEFRAGGLER AND SPECCY DOCUMENTATION CAN BE FOUND AT  https://support.piriform.com/hc/en-us and  https://www.ccleaner.com/docs

Pro users file a PRIORITY SUPPORT request at https://support.piriform.com/hc/en-us/requests/new

link to WINAPP2.INI explanation

Link to comment
Share on other sites

Thanks, Andavari! For safety's sake, advising our users to exclude the entire Local Extension Settings folder sounds like a good idea to me.

 

I tested Ccleaner v5.22.5724 with the following settings:

 

MS Edge:

  • Internet Cache
  • Internet History
  • Cookies
  • Download History
  • Session
  • Recently Typed URLs

Windows Explorer:

  • Thumbnail Cache

System:

  • Temporary Files
  • Memory Dumps
  • Chkdsk File Fragments

Registry Cleaner: Everything selected

 

After cleaning, AdBlock was missing something vital. Here's how our menu looks now:

 

6bd813bf2ab408517f7670ff27b47c97.png

 

Ruh-roh!

Link to comment
Share on other sites

It happened when I did the full clean. I'm not that familiar with Ccleaner, if that wasn't already obvious. :)

 

Our developer says that with the latest update of CCleaner and with the proper files excluded, AdBlock on Edge is unaffected by running CCleaner on his machine. So it's definitely not you, it's me. I didn't have any files excluded when I tried it. D'oh!

Link to comment
Share on other sites

And here are the new instructions we're including in our Knowledge Base article:

  1. In Ccleaner's Cleaner settings for Microsoft Edge, select Cookies only.
  2. Click Analyze.
  3. In the results panel, double-click Microsoft Edge - Cookies to open the results. Make sure the Ccleaner window is wide enough to see the entire file path.
  4. Find the two files that contain the word "BetaFishAdBlock."
  5. Right-click each of these files and select Add to Exclude list.

 

Easy-peasy!

 

Thanks so much for the quick response and all your help!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.