Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make class="btn" clickable / Or support clickable css rule extention #3550

Open
eromoe opened this issue Apr 28, 2020 · 1 comment · May be fixed by #4566
Open

Make class="btn" clickable / Or support clickable css rule extention #3550

eromoe opened this issue Apr 28, 2020 · 1 comment · May be fixed by #4566

Comments

@eromoe
Copy link

eromoe commented Apr 28, 2020

Some button without link could not be clicked :

image
image

I think we can add <button> , <xxx class="btn xxxx"></xxx>, <xxx class="button xxx"></xxx> to clickable list .

Futher, we may support different framework's clickable element, such as element with attribute data-toggle="xxx" or someting else . This can be added as extention of vimium .

@eromoe eromoe changed the title Make class="btn" clickable Make class="btn" clickable / Or support clickable css rule extention Apr 28, 2020
@eromoe
Copy link
Author

eromoe commented Apr 28, 2020

Related to #3536, #3049

ScottWilliamAnderson added a commit to ScottWilliamAnderson/vimium that referenced this issue Oct 29, 2024
Fixes philc#3550

Update `content_scripts/link_hints.js` to make elements with class 'btn' clickable.

* Add logic to `getLocalHintsForElement` to check for class 'btn' and mark elements as clickable.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/philc/vimium/issues/3550?shareId=XXXX-XXXX-XXXX-XXXX).
@ScottWilliamAnderson ScottWilliamAnderson linked a pull request Oct 29, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant