tomone / clean-html-userscript Goto Github PK
View Code? Open in Web Editor NEWUserscript to clean up HTML from a rich text editor
License: MIT License
Userscript to clean up HTML from a rich text editor
License: MIT License
Should use an event to wait until the iframes are loaded instead of setTimeout
: https://github.com/TomOne/clean-html-userscript/blob/master/src/index.js#L39
The wrapImmediateSiblingsWithTag
function has performance issues. I noticed it taking about 1 second for a not so large HTML snippet.
Using jQuery bloats the project quite a bit. The isPreviousSiblingIgnoreWhitespace
and wrapImmediateSiblingsWithTag
functions still depend on it.
Sometimes there’s a noticeable performance degradation in Chrome after some time when navigating through a TYPO3 backend when clean-html-userscript
is active.
One symptom is dramatically increased memory usage of the Chrome tab process with the TYPO3 backend.
I haven’t had the time to further investigate the issue. Maybe it’s because of a memory leak caused by the mutation observers.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.