افزونه‌های مرورگر فایرفاکس
  • افزونه‌ها
  • پوسته‌ها
    • برای فایرفاکس
    • واژه‌نامه‌ها و بسته‌های زبان
ورود
پیش‌نمایش Filter Drop-Down Menu

Filter Drop-Down Menu 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 (۴ بررسی)3 (۴ بررسی)
۱۴۷ کاربر۱۴۷ کاربر
فایرفاکس را دریافت کنید و افزونه را بگیرید
دریافت فایل

فرادادهٔ افزونه

تصاویر صفحه
دربارهٔ این افزونه
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.
امتیاز ۳ توسط ۴ بررسی‌کننده
وارد شوید تا به این افزونه امتیاز دهید
هنوز هیچ امتیازی ثبت نشده است

امتیاز ستاره‌ای ذخیره شد

۵
۲
۴
۰
۳
۰
۲
۰
۱
۲
تمام ۴ بررسی را بخوانید
اطلاعات بیشتر
پیوند‌های افزونه
  • کپی شناسه افزونه
نسخه
0.1.3
اندازه
۵۴٫۱۷ کیلوبایت
آخرین به‌روزرسانی
۷ سال پیش (۱۰ آوریل ۲۰۱۹)
دسته‌بندی‌های مرتبط
  • ابزارهای جستجو
  • ظاهر
مجوز
تنها مجوز عمومی گنو نسخه ۳.۰ (GPL v3.0)
تاریخچهٔ نسخه‌ها
  • نمایش همه نسخه‌ها
افزودن به مجموعه
گزارش این افزونه
رفتن به صفحه اصلی موزیلا

افزونه‌ها

  • درباره
  • وبلاگ افزونه‌های فایرفاکس
  • کارگاه افزونه
  • مرکز توسعه‌دهندگان
  • سیاست‌های توسعه‌دهنده
  • وبلاگ انجمن
  • انجمن
  • گزارش خطا
  • راهنمای بررسی

بارگیری

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

آخرین نسخه‌های ساخت

  • Nightly
  • Beta

فایرفاکس برای کسب‌وکار

  • Enterprise

انجمن

  • Connect
  • Contribute
  • Developer

دنبال کردن

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • حریم‌خصوصی
  • کوکی‌ها
  • حقوقی

غیر از مواردی که مشخص شده، محتوای این سایت تحت گواهینامه Creative Commons Attribution Share-Alike License v3.0 یا هر نسخه بعدی خواهد بود.