Dropdown Pokémon Rarity Filter (Legendary, Mythical, Final Evolutions, Rare)

Adds a dropdown to filter Pokémon table by Legendary, Mythical, Final Evolutions, Rare Pokémon, with radio buttons, reset option, and sets "Show All Entries" by default for https://moonani.com/PokeList/index.php.

作者
brodante
日安装量
0
总安装量
0
评分
0 0 0
版本
2.5
创建于
2024-12-17
更新于
2024-12-17
大小
7.4 KB
许可证
Apache-2.0
适用于

Pokémon Table Filter Script

Overview

This userscript enhances the Pokémon table on https://moonani.com/PokeList/index.php by adding a dropdown filter to sort Pokémon based on various categories. It also automatically selects the "Show All Entries" option in the table, ensuring that all entries are displayed.

Features

  • Automatic "Show All Entries" Selection: Automatically selects the "All" option in the Show Entries dropdown on the specific page https://moonani.com/PokeList/index.php.
  • Radio Button Filters: Allows filtering the table by:
    • Legendary Pokémon
    • Mythical Pokémon
    • Final Evolutions
    • Rare Pokémon
    • Reset (Restores the table to its original order)
  • Efficient Filtering: Uses Pokedex number to filter and sort Pokémon.
  • Works Only on Specific Page: The Show All Entries functionality is applied only to the page https://moonani.com/PokeList/index.php.

Installation

  1. Install Tampermonkey or any other compatible browser extension.
  2. Create a new script in Tampermonkey and paste the provided code.
  3. Save the script and refresh the page https://moonani.com/PokeList/index.php.

Behavior

  • On the specified page, the script will automatically click "Show All Entries" to display all Pokémon.
  • Users can filter Pokémon by Legendary, Mythical, Final Evolutions, Rare Pokémon, or reset the filter using the radio buttons.
  • The table is dynamically updated based on the selected filter.

Customization

  • To apply the "Show All Entries" functionality to other pages, modify the page URL in the script.