tidy-html5
stylus
tidy-html5 | stylus | |
---|---|---|
9 | 118 | |
2,663 | 5,098 | |
0.2% | 1.3% | |
0.0 | 9.6 | |
8 days ago | 8 days ago | |
C | JavaScript | |
- | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tidy-html5
- Show HN: I made a tool to clean and convert any webpage to Markdown
- Localize HTML Tidy (README.md)
-
libtidy, compilation errors
So I included the tidy libraries in my project.
-
Searching for the *old* W3C XHTML/CSS validator or something of equivalent functionality
Maybe look into HTML Tidy. It's job is to clean up HTML and convert legacy code to modern form, so it knows about DTDs. You might be able to pass it some options to get what you want.
-
Converting a IETM delivered in HTML to XML S1000D 4.0.
I've always used tidy for HTML/XML formatting jobs.
-
Expand one very long HTML line (>30k characters) as multi-line formatted indented HTML?
Personally I use command that switches the file type to html, and then formats it with tidy. It assumes you're pasting into a new buffer.
-
Unminify HTML in terminal
I use tidy.
-
Inspecting the Clipboard (on Linux)
So I installed HTML tidy.
-
The most underused browser feature
Prune instructs the parser to remove any elements within the extracted article block that look superfluous. This can result in false positives, so we tend to disable it when we've gone to the trouble of creating site-specific extraction rules.
Tidy determines if the source HTML should be cleaned up first with HTML Tidy - https://github.com/htacg/tidy-html5. If you're parsing the source HTML with an HTML 5 parser, as we are now, it shouldn't be necessary any more (I think we actually ignore it now). We used it more before when we relied on libxml parsing, which often trips up on modern HTML.
stylus
-
Nepal bans TikTok and says it disrupts social harmony
I used a Firefox add-on called "Stylus" and wrote a custom css rule to hide the relevant divs/elements. It's not perfect, but it's okay. https://github.com/openstyles/stylus
However, after the recent ad-blocker targeting by Youtube I pretty much just stopped watching. I added my regular subscriptions to the NewPipe app on my phone and just watch what they put out.
The add-on I mentioned above is super useful to personalize my experience with other websites. Particularly online-shopping and other marketplaces that have huge amounts of whitespace for no reason. You'd be surprised how much nicer the web experience is after you add a few "margin: 0px;" css styles to strategic areas.
- /r/AccidentalRenaissance moderators have all resigned. The subreddit has permanently shut down and moved to Lemmy.
-
Official Minecraft wiki editors so furious at Fandom's 'degraded' functionality and popups they're overwhelmingly voting to leave the site
I try to maintain a user style to improve Fandom's wikis, for anyone using the Stylus Extension.
-
Make GoodReads 15% Less Annoying with One Weird Trick!
Both of these are hosted on userstyles.world. To use them, you'll need to have a browser extension like Stylus . Then just click the blue Install button for each tool you want!
-
Promote Your Work! July 2023 Self-Promotion thread
These are both hosted on userstyles.world. I recommend using them with the Stylus browser extension, which works on Chrome, Firefox (including Firefox Nightly for Android) and Opera. (Pretty sure it will also work with Cascadea if you're on Safari but I haven't tested it yet.)
-
Any way to make lemmy look more like old reddit?
I wonder if Stylus would be good for this...
-
What have they done to my subscriptions page?!
Use Stylus
-
Fidelity cuts Reddit valuation by 41%
Stylus and display: hide !important; are your friends.
-
YouTube extension
looks good to me, its a css file so its already quite limited, and i did a quick check and it doesnt seem to load anything (from just searching for "url"), so it should all be local. stylus is open source, but of course thats no garuntee that its safe https://github.com/openstyles/stylus . its also a reccomended extension on firefox, which means that they do check it more thouroghly, but idk if thats good enough for you.
- Ad-free Twitter with 1 line of CSS
What are some alternatives?
parser - š Extract meaningful content from the chaos of a web page
darkreader - Dark Reader Chrome and Firefox extension
readability.php - PHP port of Mozilla's Readability.js
stylish - User styles manager for Firefox and other Mozilla software
readability - Readability is a library written in Go (golang) to parse, analyze and convert HTML pages into readable content. Originally an Arc90 Experiment, it is now incorporated into Safariās Reader View.
violentmonkey - Violentmonkey provides userscripts support for browsers. It works on browsers with WebExtensions support.
toltec - Community-maintained repository of free software for the reMarkableĀ tablet.
snahp-it-forum-link-solver - Simplify opening forum.snahp.it links.
SponsorBlock - Skip YouTube video sponsors (browser extension)
readability - A standalone version of the readability lib
ftr-site-config - Site-specific article extraction rules to aid content extractors, feed readers, and 'read later' applications.
tridactyl - A Vim-like interface for Firefox, inspired by Vimperator/Pentadactyl.