Dodaci za preglednik Firefox
  • Proširenja
  • Teme
    • za Firefox
    • Rječnici i jezični paketi
    • Druge stranice preglednika
    • Dodaci za Android
Prijavi se
Pregled za Filter Drop-Down Menu

Filter Drop-Down Menu od em_te

Allows you to filter the options in any drop down menu to quickly find something. You can filter by 'contains', 'not contains', 'begins with', 'ends with', 'does not begin with', and 'does not end with' or by any combinations thereof.

3 (4 reviews)3 (4 reviews)
134 Users134 Users
Za korištenje ovog proširenja trebat ćeš Firefox
Preuzmi Firefox i nabavi proširenje
Preuzmi datoteku

Metapodaci proširenja

Snimke ekrana
Informacije o ovom proširenju
Ever seen websites whose drop-down menu has so many things and all in the wrong order that you cannot sift through it?

Or you want to search for a word in the middle of the phrase in the drop-down menu?

This extension allows you to do that easily by first clicking on a drop-down menu, then click on the toolbar icon to activate the search function.

You can filter by any, or all, of the following:
  • contains
  • not contains
  • begins with
  • ends with
  • doesn't begin with
  • doesn't end with

A great feature of this extension is that it doesn't add extra elements or event handlers to the DOM therefore there is minimal interference with the webpage (it won't interfere with libraries like ReactJS). It does need to add 2 attributes to the element to keep track of state.

Also, this extension requests no permissions and doesn't transmit any data elsewhere, allowing you to use it in complete confidence.

Technical Explanation:
If you are a computer talking guy and want to know how this extension works then read on.

When you click on the toolbar icon, the extension will read the currently focused element on the webpage and see if it is a SELECT element. If no, then it aborts. If yes, then it will assign a random id to the element as a custom attribute (called "data-filterid") and pass that id together with the stringified content of the SELECT's OPTION's body and the contents of the filter attribute (if exist) to the extension.

The extension will show a search interface for users to enter search terms and the extension will filter the previously obtained OPTION's body text and find how many matches there are and show the count on screen.

Then it will send the search pattern and the previous id back to the webpage. Then it will search the webpage for an element with that id in the custom attribute and hide the OPTIONs in that SELECT which don't match the search pattern by setting display to "none". It will also save the filter pattern as a custom filter attribute (called "data-filterby") so that if you exit the extension and open it again, it can retrieve what the user previously filtered for.
Rated 3 by 4 reviewers
Prijavi se i ocijeni ovo proširenje
Još nema ocjena

Ocjena je spremljena

5
2
4
0
3
0
2
0
1
2
Pročitaj 4 recenzije
Daljnje informacije
Verzija
0.1.3
Veličina
54,17 KB
Zadnje aktualiziranje
prije 6 godina (10. tra. 2019)
Povezane kategorije
  • Alati za pretraživanje
  • Izgled
Licenca
Samo GNU Opća javna licenca v3.0
Povijest verzija
  • Pogledaj sve verzije
Dodaj u zbirku
Prijavi ovaj dodatak
Napomene o izdanju za 0.1.3
Fixed bug where window showed scrollbars when opened from inside hamburger menu
Daljnja proširenja od em_te
  • Još nema ocjena

  • Još nema ocjena

  • Još nema ocjena

  • Još nema ocjena

  • Još nema ocjena

  • Još nema ocjena

Idi na početnu stranicu Mozille

Dodaci

  • Informacije
  • Blog za Firefox dodatke
  • Radionica za proširenja
  • Centar za programere
  • Pravila za programere
  • Blog zajednice
  • Forum
  • Prijavi grešku
  • Priručnik za recenziranje

Preglednici

  • Desktop
  • Mobile
  • Enterprise

Proizvodi

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privatnost
  • Kolačići
  • Pravne informacije

Osim gdje je drugačije navedeno, sadržaj ove stranice licenciran je pod licencom Creative Commons Imenovanje dijeli pod istim uvjetima verzija 3.0 ili novijoj.