Search

Nalezeno "Script": 99

Custom Styles in GitHub Readme Files


Even though GitHub Readme files (typically ./readme.md) are Markdown, and although Markdown supports HTML, you can’t put <style> or <script> tags init. (Well, you can, they just get stripped.) So you can’t apply custom styles there. Or can you? You can use SVG as...

Make Your Own Dev Tool


Amber Wilson on making bookmarklets to help yo-self. She shows off one that injects an accessibility script — I like this approach, as it means you don’t have to maintain the bookmarklet, just the script it links to). Another example runs some code contained right in the link. The result...

Vue 3


It’s out! Congrats to the Vue team for getting it done, I know it was a massive effort and a long time coming. All new docs, as well. I like it’s still a priority that Vue can be used with just a <script tag with no build process at all. But it’s ready for build processes...

Import Non-ESM libraries in ES Modules, with Client-Side Vanilla JS


We’re living through a weird era where there are tons of JavaScript libraries that were meant to be used as <script> tags that expose available globals. AND there are tons of JavaScript libraries that are meant to be used through module loaders. AND there are tons of JavaScript...

Apple declined to implement 16 Web APIs in Safari due to privacy concerns


Why? Fingerprinting. Rather than these APIs being used for what they are meant for, they end up being used for gross ad tech. As in, “hey, we don’t know exactly who you are, but wait, through a script we can tell your phone stopped being idle from 8:00 am to 8:13 am and were near...

Rough Notation


This is a neat little library. It uses SVG to insert hand-drawn looking annotations to elements (probably text), like underlines and box highlights (there are 6 design options, all configurable). Super clever. Here’s a little demo: CodePen Embed Fallback Aside from it just being cool,...

Can JavaScript Detect the Browser’s Zoom Level?


No, not really. My first guess was that this was intentionally not exposed in browsers because browsers intentionally don’t want us fighting it — or making well-intentioned but bad-outcome decisions based on that info. But I don’t see any evidence of that. StackOverflow answers paint...

Bundling JavaScript for Performance: Best Practices


Performance advice from David Calhoun on how many scripts to load on a page for best performance: [...] some of your vendor dependencies probably change slower than others. react and react-dom probably change the slowest, and their versions are always paired together, so they...

A Web Component with Different HTML for Desktop and Mobile


Christian Schaefer has a great big write-up about dealing with web advertisements. The whole thing is interesting, first documenting all the challenges that ads present, and then presenting modern solutions to each of them. One code snippet that caught my eye was a simple way to design a component...

Reports Criticize Bitcoin SV Miners and the Chain’s Upcoming Fork


In the last two days there have been two critical posts published against the Bitcoin Satoshi’s Vision network (BSV). On December 17, Binance Research published an allocation mining report that analyzed the mining activities of BTC, BCH, and BSV and the research detailed that BSV miners...

Bitcoin Cash Upgrade Complete: 2 New Protocol Changes Added


The Bitcoin Cash network has successfully upgraded the latest ruleset changes to the protocol. The BCH blockchain now features the enforcement of minimal pushdata in script which will make a majority of BCH network transactions non-malleable. Moreover, as an extension to last May’s Schnorr...

What to Expect From the Next Bitcoin Cash Protocol Upgrade


On November 15, shortly after 12 p.m., Bitcoin Cash (BCH) will execute an upgrade of the network’s consensus rules. After the upgrade is locked in, the next block will enforce minimal pushdata in script and the opcodes OP_Checkmultisig and OP_Checkmultisigverify will be upgraded to accept...

Bitcoin Cash Proponents Prepare for Forthcoming Upgrade Features


In five weeks, the Bitcoin Cash (BCH) network will upgrade once again, adding two new features to the blockchain. The first component added will be Schnorr support for OP_Checkmultisig, which will allow more complex mechanics to multi-signature transactions and all signature checking operations...

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace