ritamsarmah / accelerate

Safari extension for video playback controls
https://ritam.me/projects/accelerate
GNU General Public License v3.0
20 stars 3 forks source link

Add keyword-based matching for text input elements #5

Closed ritamsarmah closed 9 months ago

ritamsarmah commented 9 months ago

Some sites use custom HTML node names for text input, where the active element also isn't actually editable. This adds a generic approach for determining a text input element, e.g., Reddit's search bar's <reddit-search-large>. The occasional false positive shouldn't be an issue, since it wouldn't overlap with active video elements.

Closes #4