GoogleChromeLabs/link-to-text-fragment

Chrome Extension is disabled when running CCleaner Custom Clean

Mike-B2021 opened this issue · 8 comments

As per title - all the information is here

https://community.ccleaner.com/topic/61192-chrome-extension-is-disabled-when-running-ccleaner-custom-clean/
(Password not required to read)

Please contact me for further information if needed. Tnx

Thanks for the note. Nothing actionable from a Chrome browser point of view, though.

As per my original post with the link to CCleaner forum, it has now been shown that the issue only occurs with a particular CCleaner setting. It would be good if the Dev responsible for the Extension would investigate as CCleaner have said it shouldn't work that way.

Can you point out the actionable step from the forum post?

https://community.ccleaner.com/topic/61192-chrome-extension-is-disabled-when-running-ccleaner-custom-clean/?do=findComment&comment=331963

Where it says:

The session information seems entirely the wrong place to be saving a context menu setting, (you would have thought that anything extension related should be saved in the 'extensions' directory: C:\Users[login_name]\AppData\Local\Google\Chrome\User Data\Default\Extensions),
But I can only think that the developer of the extension is doing it that way for some reason.
Maybe he can't get it to work any other way in Chrome? (or maybe he has not realised it's being saved in the wrong place?)
Maybe Chrome has changed where things should be stored, but that extension hasn't been changed yet?
Chrome (and Firefox) do keep changing where things are or should be stored.

But...I strongly advise reading the whole thread so as to see the symptom and how I tested to show it only occurs with the CCleaner "Sessions" setting activated.

The context menu code is

browser.contextMenus.create(
{
title: browser.i18n.getMessage('copy_link'),
id: 'copy-link',
contexts: ['selection'],
},
() => {
if (browser.runtime.lastError) {
console.log(
'Error creating context menu item:',
browser.runtime.lastError,
);
}
},
);
.

@tomayac Thanks but that is of no use to me (the end user) - it needs to be alerted to CCleaner.
I'll update THAT thread now.

I am not in a position to judge external software, but as a user I have seen CCleaner ads in spurious sites and personally wouldn't feel comfortable installing it on my own computer. The recommended way to "clean" your Chrome profile is outlined in this help article.

My experience of CCleaner is altogether positive. It does what the help article does in a somewhat more elegant and less time-consuming way.
The whole point of this issue is that an extension is (apparently) incorrectly coded so as to negatively interact with CCleaner and cause itself to be disabled!
Look at the screenshots (also attached to this message) in the CCleaner thread where the extension doesn't even appear in the CCleaner list, whereas all the other extensions do so appear.

And yet, running CCleaner with Sessions enabled, disables JUST that extension.
My and CCleaner's thoughts are that the extension code is pointing to the wrong place in CCleaner...
I am not a coder, but that makes sense to me!

Actual Context Menu
CCleaner list of Context Menu items