Addon button becomes invisible
Moderators: Lootyhoof, FranklinDM
Addon button becomes invisible
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.
I think it's a generic problem, I faced it with nMatrix as well, and it got fixed after a restart.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
Advanced URL Builder(fork)|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
Advanced URL Builder(fork)|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
-
coffeebreak
- Moon Magic practitioner

- Posts: 2586
- Joined: 2015-09-26, 04:51
- Location: U.S.
Re: Addon button becomes invisible
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?)
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
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.
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.
- New Tobin Paradigm
- Knows the dark side

- Posts: 8850
- Joined: 2012-10-09, 19:37
- Location: Skaro
Re: Addon button becomes invisible
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.
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
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
Now I notice it, 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?coffeebreak wrote: ↑2019-09-17, 05:18There 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 idea, it is a Pale Moon port, not taken from CAA.vannilla wrote: ↑2019-09-17, 07:11Is 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.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
Advanced URL Builder(fork)|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
Advanced URL Builder(fork)|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
-
coffeebreak
- Moon Magic practitioner

- Posts: 2586
- Joined: 2015-09-26, 04:51
- Location: U.S.
Re: Addon button becomes invisible
Cookie Masters is not restartless, so would that mean it's not bootstrapped?
Hmm. I've only ever seen what I referred to earlier:moonbat wrote: ↑2019-09-17, 12:52it'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?
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
Yes, "bootstrapped" is the actual name of "restartless" extensions.coffeebreak wrote: ↑2019-09-17, 17:49Cookie Masters is not restartless, so would that mean it's not bootstrapped?
Since it is not, my previous post can be disregarded.
Re: Addon button becomes invisible
Cookie Masters stopped working completely for me with Pale Moon 28. I replaced it with Cookie Permissions.
Re: Addon button becomes invisible
Thanks, I've done the same. Works for me.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
Advanced URL Builder(fork)|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
Advanced URL Builder(fork)|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Re: Addon button becomes invisible
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.
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.



