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

[Feature request] Option to collapse elements of the webpage (instead of erasing them). #187

Open
daddy32 opened this issue Oct 30, 2020 · 3 comments
Labels
enhancement New feature or request someday Not planned to do in the near future, mostly due to limited resources

Comments

@daddy32
Copy link

daddy32 commented Oct 30, 2020

Hello!

I think this would be a nice feature to have alongside the "DOM Eraser" - instead of removing the selected entirely, replacing it with some placeholder GUI element (something like Bootstrap Collapse) and making the contents available upon click/tap. This could be either new button in the "edit" hover menu or new option in "HTML editor" menu.

Thanks for reading,
D.

@danny0838
Copy link
Owner

This is very difficult, as every site may have its own styling it's not easy to get a such expander work universally. Additionally, supporting the collapsing/expanding may require injecting quite a few scripts, which may also conflict with the original web page.

@danny0838 danny0838 added enhancement New feature or request someday Not planned to do in the near future, mostly due to limited resources labels Nov 11, 2020
@daddy32
Copy link
Author

daddy32 commented May 7, 2021

Could HTML 5 details tag (reference) be used for this as a standard and fairly supported method?

@danny0838
Copy link
Owner

I don't think this would help much. detail elements are still subjects that could conflict with web page CSS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request someday Not planned to do in the near future, mostly due to limited resources
Projects
None yet
Development

No branches or pull requests

2 participants