Page 1 of 1
Addon button becomes invisible
Posted: 2019-09-17, 01:10
by moonbat
The icon for
Cookie Masters is invisible, both on the toolbar and in the customize toolbar window. I don't know what's changed since the addon hasn't been updated in over a year and was working fine earlier. Removed and reinstalled, same problem persists.
I think it's a generic problem, I faced it with nMatrix as well, and it got fixed after a restart.
Re: Addon button becomes invisible
Posted: 2019-09-17, 05:18
by coffeebreak
Does this happen on every web page, or just blank pages?
There is a long-standing issue of the Cookie Masters button disappearing on pages that lack web content, yet being visible everywhere else. (Does
this describe what you experience?)
Re: Addon button becomes invisible
Posted: 2019-09-17, 07:11
by vannilla
Is that a bootstrapped extension?
If so, the problem lies with how those extensions have to jump through some unnecessary hoops before they can register their toolbar button.
Basically, UI management for bootstrapped extensions sucks big time. Make a toolkit extension if you need to manage any kind of UI.
Re: Addon button becomes invisible
Posted: 2019-09-17, 07:38
by New Tobin Paradigm
Off-topic:This likely has jack point shit to do with this thread but..
There is a few ways that aren't commonly known when it comes to compensating for the terrible hack bootstrap is. One is lost to time unless you can find an extreme extension developer willing to share it with you.. (JustOff might know

) The second one is one I been holding on to and keeping to my self for five years.
Your easiest and best bet for consistent toolbar buttons on bootstrap (and yes it can still happen sometimes anyway) is to programmatically load an overlay that contains your toolbar button as your first things that happens for each instance of the main window opened.
You can use document.loadOverlay to do that but you need to also handle it properly. There are two examples per Phoenix-based Browser in UXP of how to do this.
Hope that helps.
Re: Addon button becomes invisible
Posted: 2019-09-17, 12:52
by moonbat
coffeebreak wrote: ↑2019-09-17, 05:18
Does this happen on every web page, or just blank pages?
Now I notice it, it's intermittent. Shows up on some pages, not on others. Refreshing page doesn't help.
coffeebreak wrote: ↑2019-09-17, 05:18
There is a long-standing issue of the Cookie Masters button disappearing on pages that lack web content, yet being visible everywhere else. (Does
this describe what you experience?)
No, not like this. I had made
another post of a similar problem with custom toolbar vanishing after restart - could it be related?
vannilla wrote: ↑2019-09-17, 07:11
Is that a bootstrapped extension?
If so, the problem lies with how those extensions have to jump through some unnecessary hoops before they can register their toolbar button.
Basically, UI management for bootstrapped extensions sucks big time. Make a toolkit extension if you need to manage any kind of UI.
No idea, it is a Pale Moon port, not taken from CAA.
Re: Addon button becomes invisible
Posted: 2019-09-17, 17:49
by coffeebreak
vannilla wrote: ↑2019-09-17, 07:11
Is that a bootstrapped extension?
Cookie Masters is not restartless, so would that mean it's not bootstrapped?
moonbat wrote: ↑2019-09-17, 12:52
it's intermittent. Shows up on some pages, not on others. Refreshing page doesn't help.
No, not like this. I had made
another post of a similar problem with custom toolbar vanishing after restart - could it be related?
Hmm. I've only ever seen what I referred to earlier:
that the
Cookie Masters icon, though not its label, disappears on blank (no-web-content) pages.
- Does the button reappear if you open a new tab or window? What happens after a restart?
- Does the button still disappear if you disable all other extensions? Maybe there's a conflict.
- What do the times it disappears have in common? On which pages does it happen? What specifically are you doing just before it disappears?
As for the custom toolbar, is
Cookie Masters the only thing on it? If so, the button's removal, however unintended, would make the toolbar go away too. Other than that, I have no idea if or how they might be connected.
Re: Addon button becomes invisible
Posted: 2019-09-17, 18:27
by vannilla
coffeebreak wrote: ↑2019-09-17, 17:49
Cookie Masters is not restartless, so would that mean it's not bootstrapped?
Yes, "bootstrapped" is the actual name of "restartless" extensions.
Since it is not, my previous post can be disregarded.
Re: Addon button becomes invisible
Posted: 2019-09-17, 21:35
by Goodydino
Cookie Masters stopped working completely for me with Pale Moon 28. I replaced it with Cookie Permissions.
Re: Addon button becomes invisible
Posted: 2019-09-18, 04:31
by moonbat
Goodydino wrote: ↑2019-09-17, 21:35
Cookie Masters stopped working completely for me with Pale Moon 28. I replaced it with Cookie Permissions.
Thanks, I've done the same. Works for me.
Re: Addon button becomes invisible
Posted: 2019-09-20, 05:50
by Dypsis
I have this problem with Classic Passwords Editor.
The icon will only show in the Tools menu. If I drag it over to the Toolbar, it doesn't show after exiting Toolbar customize.