Clean Links - disappearing button
Moderators: FranklinDM, Lootyhoof
Clean Links - disappearing button
I have installed Clean Links 2.7.1 on Pale Moon 28.0.0.
It works but it keeps disappearing. By that I mean: the button I customized onto a toolbar disppears from the toolbar and also from the Customize dialog. And when the button has disppeared URLs are not stripped on page load.
If I disable and enable the extension in about:addons, the button reappears in the Customize dialog and I can pull it onto the toolbar again. And URL stripping starts working again.
Any ideas what the problem is and what workaround I could try?
It works but it keeps disappearing. By that I mean: the button I customized onto a toolbar disppears from the toolbar and also from the Customize dialog. And when the button has disppeared URLs are not stripped on page load.
If I disable and enable the extension in about:addons, the button reappears in the Customize dialog and I can pull it onto the toolbar again. And URL stripping starts working again.
Any ideas what the problem is and what workaround I could try?
-
- Fanatic
- Posts: 142
- Joined: 2014-11-19, 19:48
Re: Clean Links - disappearing button
I also noticed this behavior in Pale Moon 27. I think this may have started happening when the author made the extension restart-less. Have you tried using an older Clean Links version? I went all the way back to 2.2. Hopefully someone else will respond with a proper fix.
Re: Clean Links - disappearing button
To be precise: the button disappears after closing the browser.
After startup, a disable, then enable of the extension makes the button reappear in the Customize dialog, from where it can be dragged onto a toolbar.
I'll try an older version. Thanks for the suggestion.
After startup, a disable, then enable of the extension makes the button reappear in the Customize dialog, from where it can be dragged onto a toolbar.
I'll try an older version. Thanks for the suggestion.
Re: Clean Links - disappearing button
I have been using version 2.7.1 with Firefox 45 ESR for two years. The button never disappeared.
-
- Fanatic
- Posts: 194
- Joined: 2017-09-27, 06:50
Re: Clean Links - disappearing button
The release page listed up till 2.7.0. May I know where you got the version 2.7.1?
Avatar's Source: yereverluvinuncleber
Re: Clean Links - disappearing button
Downloaded from Mozilla Add-ons in 2016. The Github link in the screenshot takes you to a version comparison.hujan86 wrote:The release page listed up till 2.7.0. May I know where you got the version 2.7.1?
2.7.0 was released on 24 Feb 2015, same date as 2.7.1. I suspect the latter is just a signed version for Mozilla.
PS: I ScrapBook every extension and I download them onto the filesystem rather than installing them into the browser. So I had everything to hand for the Pale Moon migration.
You do not have the required permissions to view the files attached to this post.
Last edited by 50addons on 2018-09-13, 08:02, edited 1 time in total.
Re: Clean Links - disappearing button
I wonder whether I could fudge something using Custom Buttons3?
Re: Clean Links - disappearing button
The following error occurs during browser startup:
The statement that throws the error:
The button is not displayed.
Next, I disable, then enable the extension.
The same error is thrown during enabling.
And another error is thrown:
Despite the errors the button is now displayed and the extension active.
Code: Select all
Error: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIXPCComponents_Utils.import]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///<cleanlinks-path>.xpi!/bootstrap.js :: <TOP_LEVEL> :: line 409" data: no]
Code: Select all
var { CustomizableUI } = Cu.import('resource:///modules/CustomizableUI.jsm', {});
Next, I disable, then enable the extension.
The same error is thrown during enabling.
And another error is thrown:
Code: Select all
Error: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIXPCComponents_Utils.import]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///<cleanlinks-path>.xpi!/bootstrap.js -> resource://cleanlinks/browser.js :: <TOP_LEVEL> :: line 26" data: no]
-
- Board Warrior
- Posts: 1651
- Joined: 2018-06-08, 17:02
Re: Clean Links - disappearing button
Does it persist a restart?Despite the errors the button is now displayed and the extension active.
[Now it does.]
OK, so what you are saying is that on initial install it was there.
But then on browser restart it was not there.
But if you then go into Addons Manager, Disable, then Enable the extension, from that point on, it sticks (persists).
Off-topic:
Any reason you weren't on 28.0.1 (& now on 28.1.0)?28.0.0
Re: Clean Links - disappearing button
No. The button vanishes after every shutdown. I need to disable/enable the extension after every browser start.therube wrote:OK, so what you are saying is that on initial install it was there.
But then on browser restart it was not there.
But if you then go into Addons Manager, Disable, then Enable the extension, from that point on, it sticks (persists).
Off-topic:
I take your point though. I should back up my profile and try the new version.
No particular reason other than that I have auto-update disabled. I tend to upgrade every few years only and only when I must (when web pages no longer work due to new HTML features) as I don't fancy breaking my extensions.therube wrote:Any reason you weren't on 28.0.1 (& now on 28.1.0)?
I take your point though. I should back up my profile and try the new version.
Re: Clean Links - disappearing button
Tried it with Pale Moon 28.0.0 in a clean profile:
The button does not disappear on browser start.
Now the big question is which setting or extension interferes with it.
The button does not disappear on browser start.
Now the big question is which setting or extension interferes with it.
Re: Clean Links - disappearing button
After having installed CleanLinks, I installed TGS.
Restarted browser: CleanLinks button had disappeared from the Navigation Menu. Disabled/enabled CleanLinks. Button re-appeared.
Exited browser, started again: button still there.
Restarted browser: CleanLinks button had disappeared from the Navigation Menu. Disabled/enabled CleanLinks. Button re-appeared.
Exited browser, started again: button still there.
-
- Board Warrior
- Posts: 1651
- Joined: 2018-06-08, 17:02
Re: Clean Links - disappearing button
Where do you have the button?The button vanishes after every shutdown.
On the Status bar, Bookmarks toolbar, Menu bar... ?
Re: Clean Links - disappearing button
In my main browser profile, I had customized the button onto the TGS toolbar. I also tested putting the button on the navigation bar - button disappears from there, too.therube wrote:Where do you have the button?The button vanishes after every shutdown.
On the Status bar, Bookmarks toolbar, Menu bar... ?
-
- Board Warrior
- Posts: 1651
- Joined: 2018-06-08, 17:02
Re: Clean Links - disappearing button
Persisting on my end.
New, clean Profile.
Installed NoScript.
Installed Clean Links 2.7.0.
Persists on the URL bar, different positions on the URL bar, on the Menu bar, Bookmarks toolbar, & the Status bar.
New, clean Profile.
Installed NoScript.
Installed Clean Links 2.7.0.
Persists on the URL bar, different positions on the URL bar, on the Menu bar, Bookmarks toolbar, & the Status bar.
Re: Clean Links - disappearing button
New clean profile.
- installed CleanLinks 2.7.1 (button on navigation bar) exit, browser start, button persists
- installed TGS 1.0.7 exit, browser start, button persists
- moved button to TGS bar exit, browser start, button persists
- installed Customize Title Text v2 0.7 exit, browser start, button disappears
- disable/enable CleanLinks button appears, exit, browser start, button persists
- removed Customize Title Text v2 0.7 exit, browser start, button disappears
- disable/enable CleanLinks button appears, exit, browser start, button persists
Last edited by 50addons on 2018-09-21, 08:31, edited 1 time in total.
Re: Clean Links - disappearing button
Another test with a new clean profile, without TGS and without ghacks user.js settings:
The difference, however, to my recently fully set up browser profile is that the button persists across exit/start if no extension is installed during this session. That would be ok provided that continued to be the case for my full set-up, which would take a few hours to find out.
- installed CleanLinks 2.7.1 (button on navigation bar) exit, browser start, button persists
- installed another extension exit, browser start, button disappeared
- disable/enable CleanLinks button appears, exit, browser start, button persists
The difference, however, to my recently fully set up browser profile is that the button persists across exit/start if no extension is installed during this session. That would be ok provided that continued to be the case for my full set-up, which would take a few hours to find out.
-
- Lunatic
- Posts: 253
- Joined: 2015-03-02, 14:18
Re: Clean Links - disappearing button
This is an old and still unsolved case. Addon stops working & button disappears · Issue #14 · diegocr/CleanLinks
A couple of years ago I've managed somehow to make the button stay by trying to install/uninstall addons in different order and that worked until now. Until I decided to move the button to another bar))
A couple of years ago I've managed somehow to make the button stay by trying to install/uninstall addons in different order and that worked until now. Until I decided to move the button to another bar))
Pale Moon 32-bit on Win 7 x64
Re: Clean Links - disappearing button
Brilliant find!_yuyu_ wrote:This is an old and still unsolved case.
I never had this problem in Firefox 45ESR - maybe just a coincidence dependent on the order of installation.
I tested this using a clean profile and just installing CleanLinks + FoxyProxy - the same versions I had used with Firefox 45ESR. I tested this twice, once installing CleanLinks first, then the other way round. It made no difference: the button never persists across exit/start.
I use FoxyProxy and right enough, once I installed FoxyProxy into my Pale Moon test profile with CleanLinks, the button stopped persisting across exit/start. It doesn't matter which navigation bar I use for the button. When a third extension was installed, not only did I have to disable/enable CleanLinks after startup, but I also needed to drag the CleanLinks button from the Customize dialog onto a navigation bar.
Last edited by 50addons on 2018-09-21, 16:17, edited 2 times in total.
Re: Clean Links - disappearing button
I wonder would it be possible to execute the disable/enable automatically, e.g. via a CustomButton?
Last edited by 50addons on 2018-09-21, 16:19, edited 2 times in total.