Search
Proxying Third-Party JavaScript as First-Party JavaScript (and the Potential Effect on Analytics)
2.11.2021
First, check out how incredibly easy it is to write a Cloudflare Worker to proxy another URL:
addEventListener("fetch", (event) ={
event.respondWith(
fetch("https://css-tricks.com")
);
});
It doesn’t have any error handling or anything, but hey, it works:
Now imagine how …
The...
HeliconNFT: All-New Play-to-Earn NFT Ecosystem Launches NFT Mystery Box Event and Battlefy Partnership
28.10.2021
PRESS RELEASE. Singapore: HeliconNFT, the brand-new, global, gaming-focused NFT ecosystem, which recently unveiled a partnership with Battlefy, has announced that it will launch an NFT mystery box event on Sunday, 24th October. Ahead of the event, users will be given the opportunity to access...
A Themeable React Data Grid With Great UX-Focused Features
7.10.2021
(This is a sponsored post.)
KendoReact can save you boatloads of time because it offers pre-built componentry you can use in your app right away. They look nice, but more importantly, they are easily themeable, so they look however …
The post A Themeable React Data Grid With Great UX-Focused...
The Options for Password Revealing Inputs
6.10.2021
In HTML, there is a very clear input type for dealing with passwords:
<input type="password"
If you use that, you get the obfuscated bullet-points when you type into it, like:
••••••••
That’s the web trying to help with security. If …
The post The Options for Password Revealing...
Fed Chair Says US Inflation ‘More Enduring Than Anticipated’ — Strategist Predicts 10% Market Correction
29.9.2021
Americans are not only worried about future inflation, but they are also dealing with dwindling purchasing power in real-time. Meanwhile, on Thursday, Federal Reserve chairman Jerome Powell plans to address the Senate Banking Committee and discuss inflation. In the remarks pre-published from...
Blockchain Startup Triall Introduces a Tokenized Ecosystem to Speed Up and Improve Medical Research
28.9.2021
PRESS RELEASE. Triall launches its main utility token TRL on Uniswap following a successful token pre-sale that raised more than 2 million USD. AMSTERDAM, Sept 28, 2021 – Blockchain startup Triall launched its main utility token TRL in an initial DEX offering (IDO) on Uniswap at 13:00...
Before NFTs: Surging interest in pre-CryptoPunk collectibles
27.9.2021
Court Extends Detention of Finiko Pyramid Founder Doronin and His Right-Hand Man
25.9.2021
A court in Tatarstan has extended the detention of Kirill Doronin, founder of Russia’s largest Ponzi scheme in recent times, Finiko. Doronin will spend at least two more months in custody as authorities fear he could hide from law enforcement. Ilgiz Shakirov, vice-president of the crypto...
Konami Rolls Out Loot Box Pre-Orders
16.9.2021
Over the summer, Konami announced its killing of the Pro Evolution Soccer brand (known as Winning Eleven in Japan) by morphing the popular franchise into the free-to-play eFootball.Read more
What Deathloop Does Differently From Dishonored and Prey
16.9.2021
Blackreef is a city built for violence. Every citizen is armed, and every law is overturned. It is a 24 hour party, and sometimes partying involves shooting your friend in the head...I guess. I’ve never been a real party girl.Read more
“Just in Time” CSS
10.9.2021
I believe acss.io is the first usage of “Atomic CSS” where the point of it is to be a compiler. You write CSS like this:
<div class="C(#fff) P(20px)"text
</div
And it will generate CSS like:
.C\(\#333\) {
color: #333;
…
The post “Just in Time” CSS appeared...
Native JavaScript Routing?
23.8.2021
We can update the URL in JavaScript. We’ve got these APIs:
// Adds to browser history
history.pushState({}, "About Page", "/about");
// Doesn't
history.replaceState({}, "About Page", "/about");
JavaScript is also capable of replacing any content in the DOM....
The Big Gotcha With Custom Properties
19.8.2021
I’ve seen this confuse more than a handful of people recently, including myself, so I’m making sure it’s written down.
Let’s chuck a couple of custom properties into CSS:
html {
--color-1: red;
--color-2: blue;
}
Let’s use them right …
The post The...
CSS Nesting, specificity, and you
10.8.2021
Here’s Kilian Valkhof on CSS nesting which isn’t available in browsers yet, but will be soon. There are a few differences he notes between CSS nesting and nesting in Sass or Less though. Take, for example, the following code:
div
…
The post CSS Nesting, specificity, and you appeared...
Choice Words about the Upcoming Deprecation of JavaScript Dialogs
9.8.2021
It might be the very first thing a lot of people learn in JavaScript:
alert("Hello, World");
One day at CodePen, we woke up to a ton of customer support tickets about their Pens being broken, which ultimately boiled down to …
The post Choice Words about the Upcoming Deprecation of JavaScript...
Analogue Pocket Pre-orders: The Kotaku Review
6.8.2021
The other day a Redditor pointed out that a full god-dang year has passed since Analogue Inc. offered the world a fleeting, three-minute window to pump its coffers full of cash in exchange for a promise that we’d one day receive a physical device called the Analogue Pocket, billed to be...
Robinhood stock outruns Bitcoin intraday crash, down over 10% in pre-market
5.8.2021
The decline followed Robinhood Market's announcement that it would sell up to 98 million Class A shares over time
Record 57K BTC leave exchanges in one day dropping Bitcoin reserves to pre-crash levels
29.7.2021
57,000 BTC leaves exchanges in a single day as demand returns with Bitcoin at the upper end of its multi-month trading corridor
ECMAScript proposal: JSON modules
21.7.2021
Dr. Axel Rauschmayer looks at JSON modules, which is already live in Chrome 91 (but nothing else). It looks just like an ES Modules-style import, only you asset the type at the end.
import configData from './config-data.json' assert {type:
…
The post ECMAScript proposal: JSON modules...
Discovering your game's regional appeal, pre-launch?
21.7.2021
We've got some data suggestions for youuuu!