The "Add-ons" page Search bar for the "Available Add-ons" tab doesn't work Topic is solved

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
User avatar
Pallid Planetoid
Knows the dark side
Knows the dark side
Posts: 3874
Joined: Tue Oct 06, 2015 4:59 pm
Location: Los Angeles CA USA

The "Add-ons" page Search bar for the "Available Add-ons" tab doesn't work

Unread post by Pallid Planetoid » Sat Jul 18, 2020 5:58 pm

The browser extension "Search" bar for "Get Add-ons" doesn't work for me (PMv28.11.0):
Search for 'Get Add-ons' doesn't work.png
Get this result for PM extensions that do exist:
pic-2 Search for 'Get Add-on's doesn't work.png
Note: the "My Add-on" tab does appear to work -- it is just the "Available Add-ons" tab that doesn't.
... Please confirm - thanks.

I have to go to the Pale Moon Extensions Website page where the Search does work:
Pale Moon Extension website - search works.png
Pale Moon Extension website - search works
You do not have the required permissions to view the files attached to this post.
Last edited by Pallid Planetoid on Sat Jul 18, 2020 6:10 pm, edited 2 times in total.
Current Pale Moon(x86) Release | WIN10 | I5 CPU, 1.7 GHz, 6GB RAM, 500GB HD[20GB SSD]
Formerly user Pale Moon Rising - to provide context involving embedded reply threads.
Good judgment comes from experience and a lot of that comes from bad judgment. - Will Rogers
Knowing Pale Moon is indisputably #1 is defined by knowing the totality of browsers. - Pale Moon Rising

vannilla
Board Warrior
Board Warrior
Posts: 1699
Joined: Sat May 05, 2018 1:29 pm

Re: The "Add-ons" page Search bar for the "Available Add-ons" tab doesn't work

Unread post by vannilla » Sat Jul 18, 2020 6:08 pm

I think the search field in the addon manager is meant to search installed addons.

User avatar
Pallid Planetoid
Knows the dark side
Knows the dark side
Posts: 3874
Joined: Tue Oct 06, 2015 4:59 pm
Location: Los Angeles CA USA

Re: The "Add-ons" page Search bar for the "Available Add-ons" tab doesn't work

Unread post by Pallid Planetoid » Sat Jul 18, 2020 6:14 pm

vannilla wrote:
Sat Jul 18, 2020 6:08 pm
I think the search field in the addon manager is meant to search installed addons.
As illustrated in the 2nd screen-shot in the first set of screen-shots: There is a tab for "My Add-ons" -- which does appear to work and there's a tab for "Available Add-ons" which results in "Could not find any matching add-ons" -- which I presume should list "Available" add-ons that may not be the users add-ons.
Current Pale Moon(x86) Release | WIN10 | I5 CPU, 1.7 GHz, 6GB RAM, 500GB HD[20GB SSD]
Formerly user Pale Moon Rising - to provide context involving embedded reply threads.
Good judgment comes from experience and a lot of that comes from bad judgment. - Will Rogers
Knowing Pale Moon is indisputably #1 is defined by knowing the totality of browsers. - Pale Moon Rising

vannilla
Board Warrior
Board Warrior
Posts: 1699
Joined: Sat May 05, 2018 1:29 pm

Re: The "Add-ons" page Search bar for the "Available Add-ons" tab doesn't work

Unread post by vannilla » Sat Jul 18, 2020 7:14 pm

I'm now in a position I can test it, and indeed the "avaliable add-ons" menu does not display anything, regardless if I have the extension installed or not.

User avatar
opus_27
Hobby Astronomer
Hobby Astronomer
Posts: 28
Joined: Tue Jun 16, 2020 1:29 pm

Re: The "Add-ons" page Search bar for the "Available Add-ons" tab doesn't work

Unread post by opus_27 » Sat Jul 18, 2020 7:21 pm

Searching for Available Add-ons also fails on 28.10.0 (64-bit); don't know how far back this goes.

User avatar
Pallid Planetoid
Knows the dark side
Knows the dark side
Posts: 3874
Joined: Tue Oct 06, 2015 4:59 pm
Location: Los Angeles CA USA

Re: The "Add-ons" page Search bar for the "Available Add-ons" tab doesn't work

Unread post by Pallid Planetoid » Sat Jul 18, 2020 7:23 pm

vannilla wrote:
Sat Jul 18, 2020 7:14 pm
I'm now in a position I can test it, and indeed the "avaliable add-ons" menu does not display anything, regardless if I have the extension installed or not.
And this result occurs when a known PM add-on is entered in the "Search" bar (to presumably search for) -- so the expectation is that the known PM add-on should be listed as an "Available" PM extension (instead of the message: "Could not find any available add-ons".)
opus_27 wrote:
Sat Jul 18, 2020 7:21 pm
Searching for Available Add-ons also fails on 28.10.0 (64-bit); don't know how far back this goes.
Interesting -- thanks for the feedback. :thumbup:
Current Pale Moon(x86) Release | WIN10 | I5 CPU, 1.7 GHz, 6GB RAM, 500GB HD[20GB SSD]
Formerly user Pale Moon Rising - to provide context involving embedded reply threads.
Good judgment comes from experience and a lot of that comes from bad judgment. - Will Rogers
Knowing Pale Moon is indisputably #1 is defined by knowing the totality of browsers. - Pale Moon Rising

User avatar
billmcct
Banned user
Banned user
Posts: 883
Joined: Tue Sep 04, 2012 3:19 pm

Re: The "Add-ons" page Search bar for the "Available Add-ons" tab doesn't work

Unread post by billmcct » Sun Jul 19, 2020 1:11 am

Seems to be working in 28.9 portable.

User avatar
Pallid Planetoid
Knows the dark side
Knows the dark side
Posts: 3874
Joined: Tue Oct 06, 2015 4:59 pm
Location: Los Angeles CA USA

Re: The "Add-ons" page Search bar for the "Available Add-ons" tab doesn't work

Unread post by Pallid Planetoid » Sun Jul 19, 2020 3:14 am

billmcct wrote:
Sun Jul 19, 2020 1:11 am
Seems to be working in 28.9 portable.
So I tested my 28.7.2 portable and as before "Cookie Masters" failed to render using that extension name in the "Search" bar.

So I'm thinking -- why would an earlier version (28.7) fail to work when your later version (28.9) appears to work?

Could the problem be based on what is searched?... (like perhaps extensions with more than one word in their name is what fails came to my mind).

Sure enough I found that "CLEO", "FEBE", ABPrime, CipherFox all worked in my portable. That said, I found discrepancies -- for example "FEBE" resulted in both "FEBE" and "CLEO" (see screen-shot below) getting listed (hmm is the amount of letters, in this case 4, impacting the search results too? -- that would be weird).

But I digress.... So... maybe more than one word in the extension name is part of the problem in the first place with the current version of the installed Pale Moon.

Sure enough "CLEO", "ABPrime", "CipherFox" all work for the installed PMv28.11.0 -- there is a problem with "FEBE" however as this search results in only "CLEO" (there's that 4 letter thing again).

Clearly the Search function appears "buggy" in the first place (i.e. "FEBE" only lists "CLEO", see screen-shot below) while "CLEO" works) and extensions that have names with more than one word are apparently problematic.

Bottom Line: A search for "Cookie Masters" (a two worded extension name) fails to work but other extensions work, that is if they do not have more than one word in their names such as another one I tried "Pentadactyl" as another example which does work (since its name is comprised of one word).

So there you have it... ;)
Portable:
In Portable FEBE gets both FEBE and CLEO.png
Resident:
FEBE gets CLEO.png
Example of "buggy" results (above - not due to multiple word extension names).
You do not have the required permissions to view the files attached to this post.
Current Pale Moon(x86) Release | WIN10 | I5 CPU, 1.7 GHz, 6GB RAM, 500GB HD[20GB SSD]
Formerly user Pale Moon Rising - to provide context involving embedded reply threads.
Good judgment comes from experience and a lot of that comes from bad judgment. - Will Rogers
Knowing Pale Moon is indisputably #1 is defined by knowing the totality of browsers. - Pale Moon Rising

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 10103
Joined: Tue Oct 09, 2012 7:37 pm
Location: Sector 001

Re: The "Add-ons" page Search bar for the "Available Add-ons" tab doesn't work

Unread post by New Tobin Paradigm » Sun Jul 19, 2020 5:07 am

JustOff or anyone else that includes an email address causes an XML error in search results because it isn't valid xml. Which means I suppose I will have to filter that massive horseshit out that I begged him to change.

Give me a little time so that those with small minds that can't look for an obvious error in the Error Console will have it fixed as if it was magic and not computer science.

For example:

Code: Select all

Timestamp: 7/19/2020 1:05:00 AM
Error: XML Parsing Error: not well-formed
Location: https://addons.palemoon.org/?component=integration&type=internal&request=search&q=youtube&locale=en-US&os=WINNT&version=28.10.0
Line Number 12, Column 40:
Source File: https://addons.palemoon.org/?component=integration&type=internal&request=search&q=youtube&locale=en-US&os=WINNT&version=28.10.0
Line: 12, Column: 40
Source Code:
        <name>Off JustOff <Off.Just.Off@gmail.com></name>
Last edited by New Tobin Paradigm on Sun Jul 19, 2020 5:20 am, edited 1 time in total.
Face facts, people simply need to go to the next level and MAINTAIN these extensions not selfishly JustOff them to oblivion.
Image

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 10103
Joined: Tue Oct 09, 2012 7:37 pm
Location: Sector 001

Re: The "Add-ons" page Search bar for the "Available Add-ons" tab doesn't work

Unread post by New Tobin Paradigm » Sun Jul 19, 2020 5:19 am

RESOLVED FIXED https://github.com/Pale-Moon-Addons-Team/phoebus/commit/60a071c6db9a2dfee18150670557eb4b7f0b579f

Next time there is something wrong with the Add-ons Manager especially with integration.. Check the Error Console and if it isn't obvious? Flip extensions.logging.enabled and then look.

BTW, I knew about how to solve this from the OP on but wanted to wait to see if you empty brainpans worked out a proper error. Very disappointed, btw.
Face facts, people simply need to go to the next level and MAINTAIN these extensions not selfishly JustOff them to oblivion.
Image

User avatar
JustOff
Banned user
Banned user
Posts: 2085
Joined: Thu Sep 03, 2015 7:47 pm
Location: UA

Re: The "Add-ons" page Search bar for the "Available Add-ons" tab doesn't work

Unread post by JustOff » Sun Jul 19, 2020 3:21 pm

Off-topic:
As far as I understand, the moderator who silently deleted my comment about the offensive commit message considers it acceptable? Well, this is obviously unfair, but I will not fight the windmills. I just want to thank those who sent me words of support via PM and email, and especially for refraining from feeding this fire.

PS: And no, I'm not going to waste my time reacting to Tobin's insane accusations and hate speech below.
Last edited by JustOff on Sun Jul 19, 2020 4:20 pm, edited 1 time in total.

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 10103
Joined: Tue Oct 09, 2012 7:37 pm
Location: Sector 001

Re: The "Add-ons" page Search bar for the "Available Add-ons" tab doesn't work

Unread post by New Tobin Paradigm » Sun Jul 19, 2020 3:43 pm

c3becd17-e0b2-48ee-91df-38aa29504814.jpg
You do not have the required permissions to view the files attached to this post.
Face facts, people simply need to go to the next level and MAINTAIN these extensions not selfishly JustOff them to oblivion.
Image

User avatar
Andrew Herbert
Fanatic
Fanatic
Posts: 165
Joined: Mon Nov 25, 2019 9:46 pm

Re: The "Add-ons" page Search bar for the "Available Add-ons" tab doesn't work

Unread post by Andrew Herbert » Sun Jul 19, 2020 4:07 pm

Off-topic:
Implementing a compatibility layer for WebExtensions (except the XUL overlays part) isn't a bad idea, since not everyone wants to make powerful extensions.
Last edited by Andrew Herbert on Sun Jul 19, 2020 4:12 pm, edited 1 time in total.

User avatar
Pallid Planetoid
Knows the dark side
Knows the dark side
Posts: 3874
Joined: Tue Oct 06, 2015 4:59 pm
Location: Los Angeles CA USA

Re: The "Add-ons" page Search bar for the "Available Add-ons" tab doesn't work

Unread post by Pallid Planetoid » Sun Jul 19, 2020 4:09 pm

Thanks for fixing the search to the extent that you have. :thumbup: (and thanks in advance for taking the time to read my comments below).

That said, I'm presuming that you would agree that the Browser Extension Search function should not only list all of the appropriate extensions available to Pale Moon specific to the search text entered in the Search bar but also the Browser Extension Search results should essentially match the equivalent Search results that is produced via the Pale Moon Extension Website Search function.

As to these expectations mentioned above -- their are outlier search result exceptions that still occur some of which were previously referenced.

Here's two examples:
1) The search text "Cookie" or for that matter "Cookie Masters" continues to not list the "Cookie Masters" extension in the Browser Extension Search (but does get listed in the Website Extension Search [linked above]).
2) A "privacy" search in the Pale Moon browser results in 5 extensions getting listed however the Pale Moon Website Extension Search results for "privacy" has 8 listed (that includes the additional "Greedy Cache, Decentraleyes and uBlock Origin (legacy) [external]). Because of the unique way that UBO is handled perhaps there's a reason for it not getting listed in the browser extension search - but I would presume the other two would be expected to be listed in the browser extension Search the same as the website extension search).

There are a number of other examples of similar kinds of results that I won't take the time to mention.

Bottom line: If the two search results (browser versus website) are expected to essentially produce the same results then perhaps some changes in the way the searches are performed should be looked into. :think:

And if the answer is that the two search functions (Browser Extension Search versus PM Extension Website) is not expected to produce the same results :o -- I would respectfully be curious as to why this would or should be the case? :eh:
Current Pale Moon(x86) Release | WIN10 | I5 CPU, 1.7 GHz, 6GB RAM, 500GB HD[20GB SSD]
Formerly user Pale Moon Rising - to provide context involving embedded reply threads.
Good judgment comes from experience and a lot of that comes from bad judgment. - Will Rogers
Knowing Pale Moon is indisputably #1 is defined by knowing the totality of browsers. - Pale Moon Rising

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 10103
Joined: Tue Oct 09, 2012 7:37 pm
Location: Sector 001

Re: The "Add-ons" page Search bar for the "Available Add-ons" tab doesn't work

Unread post by New Tobin Paradigm » Sun Jul 19, 2020 4:13 pm

They do match.. However, externals are not physically existing xpi-based add-ons so they can't be represented in the Add-ons Manager Search to install. But aside from that, the results are identical. The other bit is add-ons that are installed will be omitted from the displayed search results unless you switch over to "My Add-ons".

tl;dr it functions identically to how it has always functioned since Firefox 4. ALSO, the search is NOT limited to just extensions. It is any xpi-based add-on on the site for the application.

https://addons.palemoon.org/search/?terms=cookie

https://addons.palemoon.org/?component=integration&type=internal&request=search&locale=en-US&os=WINNT&version=28.11.0&q=cookie

0d99d2f9-35f5-4794-bc0d-21adca7d5d6c.jpg
You do not have the required permissions to view the files attached to this post.
Face facts, people simply need to go to the next level and MAINTAIN these extensions not selfishly JustOff them to oblivion.
Image

User avatar
Pallid Planetoid
Knows the dark side
Knows the dark side
Posts: 3874
Joined: Tue Oct 06, 2015 4:59 pm
Location: Los Angeles CA USA

Re: The "Add-ons" page Search bar for the "Available Add-ons" tab doesn't work

Unread post by Pallid Planetoid » Sun Jul 19, 2020 6:06 pm

New Tobin Paradigm wrote:
Sun Jul 19, 2020 4:13 pm
They do match.. However, externals are not physically existing xpi-based add-ons so they can't be represented in the Add-ons Manager Search to install. But aside from that, the results are identical. The other bit is add-ons that are installed will be omitted from the displayed search results unless you switch over to "My Add-ons".
First - correct me if I'm wrong, but the Cookie Masters extension does not appear to me to be "external":
Cookie Masters extension.png
But more importantly beyond that -- why (in PMv28.11.0) using the same exact search text ("cookie") in both cases result in your Pale Moon Add-ons Manager list including the "Cookie Masters" extension --- yet the same "search" text for my Pale Moon Add-ons Manager list is missing that same "Cookie Masters" extension?

Example screen-shots:
1) My Browser Add-ons Manager list for the "search" of "cookie" (w/out the "Cookie Masters" extension getting listed):
PIC-1 My 'cookie' browser 'add-ons manager' search results - missing 'Cookie Masters' that you get.png
2) Your Browser Add-ons Manager list (that you posted above) for the same "search" of "cookie" does list this extension (that is missing in my search):
PIC-2 Compared to your Search of 'cookie' that does list 'Cookie Masters' - that is missing from my search.png
You do not have the required permissions to view the files attached to this post.
Last edited by Pallid Planetoid on Sun Jul 19, 2020 6:19 pm, edited 1 time in total.
Current Pale Moon(x86) Release | WIN10 | I5 CPU, 1.7 GHz, 6GB RAM, 500GB HD[20GB SSD]
Formerly user Pale Moon Rising - to provide context involving embedded reply threads.
Good judgment comes from experience and a lot of that comes from bad judgment. - Will Rogers
Knowing Pale Moon is indisputably #1 is defined by knowing the totality of browsers. - Pale Moon Rising

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 10103
Joined: Tue Oct 09, 2012 7:37 pm
Location: Sector 001

Re: The "Add-ons" page Search bar for the "Available Add-ons" tab doesn't work

Unread post by New Tobin Paradigm » Sun Jul 19, 2020 6:19 pm

Do you already have that add-on installed?
Face facts, people simply need to go to the next level and MAINTAIN these extensions not selfishly JustOff them to oblivion.
Image

User avatar
Pallid Planetoid
Knows the dark side
Knows the dark side
Posts: 3874
Joined: Tue Oct 06, 2015 4:59 pm
Location: Los Angeles CA USA

Re: The "Add-ons" page Search bar for the "Available Add-ons" tab doesn't work

Unread post by Pallid Planetoid » Sun Jul 19, 2020 6:23 pm

OK -- I've got it now. So only extensions not installed will display as "Available". Which makes perfect sense! :thumbup: Thanks for the clarification (which should not have been necessary. ;))

I've marked topic as resolved based on your post referencing that fact (accomplished all w/in one page 8-)). :wave:
Current Pale Moon(x86) Release | WIN10 | I5 CPU, 1.7 GHz, 6GB RAM, 500GB HD[20GB SSD]
Formerly user Pale Moon Rising - to provide context involving embedded reply threads.
Good judgment comes from experience and a lot of that comes from bad judgment. - Will Rogers
Knowing Pale Moon is indisputably #1 is defined by knowing the totality of browsers. - Pale Moon Rising

User avatar
Pallid Planetoid
Knows the dark side
Knows the dark side
Posts: 3874
Joined: Tue Oct 06, 2015 4:59 pm
Location: Los Angeles CA USA

Re: The "Add-ons" page Search bar for the "Available Add-ons" tab doesn't work

Unread post by Pallid Planetoid » Sun Jul 19, 2020 6:48 pm

Oh btw, as an afterthought it does occur to me that this manner in which the Browser Add-ons Manager "Search" works as contrasted to the different way in which the PM Extensions Website "Search" works absolutely makes sense as well -- hence the variation would ideally be the expectation. Considering that the Website is not internal to the browser so would obviously still list all PM extensions (installed or not) as contrasted to the way the "Search" works in the Add-ons Manager that is internal to the browser by including the added functionality that results in not listing any such extensions already installed (that can as such be readily be determined). All fits together quite nicely. 8-)
Current Pale Moon(x86) Release | WIN10 | I5 CPU, 1.7 GHz, 6GB RAM, 500GB HD[20GB SSD]
Formerly user Pale Moon Rising - to provide context involving embedded reply threads.
Good judgment comes from experience and a lot of that comes from bad judgment. - Will Rogers
Knowing Pale Moon is indisputably #1 is defined by knowing the totality of browsers. - Pale Moon Rising

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 3332
Joined: Wed Dec 09, 2015 3:45 pm

Re: The "Add-ons" page Search bar for the "Available Add-ons" tab doesn't work

Unread post by moonbat » Mon Jul 20, 2020 7:07 am

Off-topic:
Andrew Herbert wrote:
Sun Jul 19, 2020 4:07 pm
Off-topic:
Implementing a compatibility layer for WebExtensions (except the XUL overlays part) isn't a bad idea, since not everyone wants to make powerful extensions.
There is already Greasemonkey for creating user scripts that modify the content of specific webpages. It isn't about powerful, more about bloat when it comes to providing multiple SDKs to accomplish the same thing. Overlay/XUL provides a clean separation of UI from functionality - your user interface is defined using XUL, and javascript is for implementing the programming logic. With everything else, it is a giant mess of dynamically creating the UI through DOM manipulation (which makes it that much harder to comprehend, maintain or fork), and these extra APIs - Addon SDK, Jetpack and now Web Extensions have been implemented as hacks over the existing architecture.

It is also why you often see the complaint of toolbar buttons disappearing or custom toolbars vanishing altogether - it is always the SDK extensions that cause such problems. Furthermore - a XUL extension can be easily adapted to work across all UXP browsers, not just Pale Moon.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX