
How do I disable the "Forget About This Site" warning?
The latest update added a new warning to the "Forget About This Site" feature. I use this sometimes, and when I saw this warning for the first time yesterday, I knew it was going to be a pain in the arse. I understand it's useful to some people, but I do not want to see it every time. How do I disable this warning?
Modified
All Replies (12)
Too many users have used the 'Forget' option without knowing the full impact of using this feature. I don't think it should be changed.
Have you noticed that passwords would also be removed?
That is not possible.
- https://searchfox.org/mozilla-release/source/browser/components/places/content/controller.js#line-1325
- 1711759 - Show a confirmation dialog before clearing data via "Forget About This Site"
See also:
- https://searchfox.org/mozilla-release/source/browser/app/profile/firefox.js#line-1103
- 1717602 - Enable places.forgetThisSite.clearByBaseDomain for all channels
(please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html)
Modified
FredMcD said
Too many users have used the 'Forget' option without knowing the full impact of using this feature. I don't think it should be changed. Have you noticed that passwords would also be removed?
I'm not asking for it to be removed - just for an option for me to personally disable it.
And yes, I have unintentionally removed saved passwords with Forget Site before. I do think there should be an option to disable Forget About This Site removing passwords.
cor-el said
That is not possible.See also:
- https://searchfox.org/mozilla-release/source/browser/components/places/content/controller.js#line-1325
- 1711759 - Show a confirmation dialog before clearing data via "Forget About This Site"
(please do not comment in bug reports
- https://searchfox.org/mozilla-release/source/browser/app/profile/firefox.js#line-1103
- 1717602 - Enable places.forgetThisSite.clearByBaseDomain for all channels
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html)
I'm confused. Where does it say adding an option to disable the warning isn't possible?
If you are using a Primary Password and make sure that you aren't logged in (i.e. the logins aren't unlocked) then you can cancel the PP prompt to prevent removing logins when you use "Forget About This Site". You can logout from Lockwise by canceling a PP prompt like you get when you click the eye icon in Lockwise to reveal a password.
Modified
You can see in the code that this warning is always shown with no way to bypass.
let bag = await Services.prompt.asyncConfirmEx( window.browsingContext, Services.prompt.MODAL_TYPE_INTERNAL_WINDOW, title, body, flags, null, forget, null, null, false ); if (!(bag.getProperty("buttonNumClicked") === 1)) { return; }
cor-el said
You can see in the code that this warning is always shown with no way to bypass.let bag = await Services.prompt.asyncConfirmEx( window.browsingContext, Services.prompt.MODAL_TYPE_INTERNAL_WINDOW, title, body, flags, null, forget, null, null, false ); if (!(bag.getProperty("buttonNumClicked") === 1)) { return; }
Assuming I understand code, then that sucks. Is there any way to add a way to bypass the warning, or maybe some sort of extension that can disable the warning?
cor-el said
If you are using a Primary Password and make sure that you aren't logged in (i.e. the logins aren't unlocked) then you can cancel the PP prompt to prevent removing logins when you use "Forget About This Site". You can logout from Lockwise by canceling a PP prompt like you get when you click the eye icon in Lockwise to reveal a password.
Elaborate, please. I don't really understand what this means.
Only if you click the OK (Forget) button on this dialog then the forget action is done, so you would need some macro that clicks this button automatically once the dialog is shown.
cor-el said
Only if you click the OK (Forget) button on this dialog then the forget action is done, so you would need some macro that clicks this button automatically once the dialog is shown.
How do I create said macro, or where do I find one/someone or something that can make it for me?
How do I create said macro, or where do I find one/someone or something that can make it for me?
Does anyone else have an answer?