-
9 votes
-
The monospace web
41 votes -
Plain Vanilla — An explainer for doing web development without tools or frameworks — just HTML, CSS, and JavaScript
35 votes -
How to center a div
33 votes -
How to use Webkit's new CSS4 ":has()" selector
10 votes -
Tailwind CSS v3.0 is released
9 votes -
A reality where CSS and JavaScript don't exist...?
8 votes -
CSS container queries: use cases and migration strategies
4 votes -
A guide to some newly supported, modern CSS pseudo-class selectors
4 votes -
CSS container queries - An upcoming CSS feature that will enable style changes based on the size of the containing element
17 votes -
Exploring the CSS @property feature and its type-checking and animating capabilities
6 votes -
Guide to advanced CSS selectors
4 votes -
A complete state machine implemented in HTML checkboxes and CSS
8 votes -
Thinking outside the box with CSS Grid
7 votes -
Edge-like vertical tabs in Vivaldi browser
5 votes -
Tailwind CSS: From Side-Project Byproduct to Multi-Million Dollar Business
5 votes -
new.css - a classless CSS framework to write modern websites using only HTML
20 votes -
moderncss.dev - A series examining modern CSS solutions to old CSS problems
15 votes -
Setting height and width on images is important again
8 votes -
Why the world needs CSS developers
6 votes -
The new two-value syntax of the CSS display: property
12 votes -
CSS is weird because it's solving a weird problem: what does it mean to design for an infinite and unknown canvas?
12 votes -
New CSS Features in Firefox 68
18 votes -
CSS Only Chat - An asynchronous chat client built with no JS
11 votes -
Tracking cursor movement in browsers without JavaScript enabled
@davywtf: Here's a PoC that confirms my hunch. *Neither* of these windows use JavaScript but the position of the cursor in the left window is sent to the right window. This works on Tor Browser with JS disabled. https://t.co/cnfOy5OkUj
11 votes -
Web Design in 4 minutes
26 votes -
A JavaScript-Free Frontend
16 votes -
Building a modern carousel with CSS scroll snap, smooth scrolling, and pinch-zoom
4 votes -
Designing the Flexbox Inspector
5 votes -
Houdini's Animation Worklet
3 votes -
A CSS based attack will crash and Restart your iPhone
19 votes -
Coding Noob Needs Help/Guidance on Small Project
Hi, There's a certain site which hosts media files and has a player that depends on a lot of third-party resources to play, while browsers have native support for those file types. Those 3rd-party...
Hi,
There's a certain site which hosts media files and has a player that depends on a lot of third-party resources to play, while browsers have native support for those file types. Those 3rd-party resources are often blocked by ad blockers and I have no desire to white-list them. I would like to extract the direct link to the media file and make it playable on my custom web page.
The link to the media file is present in the page source of each page, always on the same line. It's not anchored in HTML but present in the JavaScript for the player, like so:
$(document).ready(function(){ $("#jquery_jplayer_1").jPlayer({ ready: function () { $(this).jPlayer("setMedia", { [ext]: "https://[domain]/[filename.ext]" }); },
In this example it's on line #5. [ext] = the file extension.
I want to build the following:
- A web page with a form with a single input field meant to receive links from that specific file host
- [Something] that extracts the file link from the source of the host's page
- Present the linked file as playable in an embedded native player
So far I've managed to create a form with an input box and a submit button, but it doesn't do anything yet. What is the best way to build the actual functionality? I know HTML/CSS. I have some rudimentary understanding of JavaScript/jQuery and Python3, so those would be my preferred tools.
For those worried about piracy: The files in question are not copyrighted and I'm not looking to make copies. I just want to make them playable. This is for personal use.
Thank you for reading this far. Any and all advice is welcome!
10 votes -
Stylish browser extension snatches your browsing history---the open source Stylus is recommended instead
33 votes -
Side-channel attacking browsers through CSS3 features
8 votes