Mozilla Add-ons Filter

By JoeSimmons Last update Nov 19, 2008 — Installed 4,373 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 10 posts, 5 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
JoeSimmons Script's Author

filtering out extension without page reload

Added that.

 
ekbworldwide Scriptwright

Idea

You could consider allowing Adblock Plus and its Element Hiding helper to filter / hide / show the add-ons with a little help from your script.

I created such a filter for search results at thepiratebay.org - with ABP I click on the link and choose the title or the href - and I never have to see the result again.

And ABP sorts everything for me.

And if I want to turn all the filters off - I disable APB.

Currently at addons.mozilla.org search page if you select an add-on with ABP you get this as a filter choice:

addons.mozilla.org#LI(class=addon)

You could do someting like create an ID with the number on the end. And then ABP could select the LI by ID. And then using ABP with just a few clicks you select a particular LI and hide it.

All the script would need to do is to make an ID.

example
FootballFox SVG
https://addons.mozilla.org/en-US/firefox/addon/...
id=5926

A possible APB filter

addons.mozilla.org#LI(id=5926)

ABP also supports regex so another thing you could do is stick the number + the title into the ID.
id=5926-FootballFox-SVG

A possible APB filter

addons.mozilla.org#LI(id*=football)

---

Another idea - you could force the output of 100 results.

 
JoeSimmons Script's Author

Ok I'll add those when I have time. Thank you.

 
Kulmegil Scriptwright

When I first asked for such script I didn't know about there is one already ("AMOUSER" by Mathemajor). I don't really write this for some unproductive comparison thingy. And I don't want anyone to feel obligated doing something. But if authors feel like they would like to spent some of their time improving their scripts as a part of constructive (I hope) opinion I would like to share my thoughts about those two:

If "AMOUSER" would filter extensions based on their ID (+ fixing the one bug related to not showing it's button) it would become ultimate (as for my needs) script.

If "Mozilla Add-ons Filter" would have the 2 options, that is: filtering out extension without page reload (annoying) and showing list of blocked extensions on current page it would become the ultimate one.

As for now Mozilla Add-ons Filter is my choice because the way it works (IDs).

 
JoeSimmons Script's Author

Fixed it Kulmegil.

 
Kulmegil Scriptwright

I tested it on japanese language version and Thunderbird product addons and it worked fine.
So both "en-US" and "firefox" parts can be romoved... to counter possible mistakes maybe a bit tighter script URL patterns:
https://addons.mozilla.org/*/browse/*
https://addons.mozilla.org/*/search?*

As a side note Mozilla is using same ID for all locales and if addon is supported with different aplications also... that's good :)

The one thing I found is that it's possible to add same ID twice.

 
JoeSimmons Script's Author

French31, I changed the include and included other languages.

 
French31 Scriptwright

Thanks for this script.

Could you please make it available for other languages? Thanks in advance.

Also, you should put a '*' at the end of 'https://addons.mozilla.org/en-US/firefox/search?q=' in the default sites the script applied to.

 
Kulmegil Scriptwright

Thank You very much, works great :)

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel