Workaday Reading

Use SSL with MAMP PRO 4



"Since I've updated to chrome 63, my sites in localhost are redirected to https, so I decided to use SSL with MAMP PRO but I can't make it work, chrome says Your connection is not private. As you've already highlighted, this issue started with a Chrome update which is forcing SSL on localhost *."

read »

Workaday Reading

Content Security Policy - An Introduction



"Content Security Policy is delivered via a HTTP response header, much like HSTS, and defines approved sources of content that the browser may load. It can be an effective countermeasure to Cross Site Scripting (XSS) attacks and is also widely supported and usually easily deployed."

read »

Workaday Reading

A new security header: Referrer Policy



"Regular readers will know how fond I am of the existing security headers so it's great to hear that we're getting another! Referrer Policy will allow a site to control the value of the referer header in links away from their pages."

read »

Workaday Reading

avn



"Now when you cd into a directory with a .node-version file, avn will automatically detect the change and use your installed version manager to switch to that version of node. What goes in your .node-version file? A semver version number corresponding to the version of Node.js that your project uses."

read »

Workaday Reading

cdnvm



"Append ?t=30 to start the playback at 30s, ?t=3:20 to start the playback at 3m 20s. Use snippets below to display a screenshot linking to this recording. Useful in places where scripts are not allowed (e.g. in a project's README file)."

read »

Workaday Reading

Autoplay Policy Changes



"Chrome's autoplay policies are about to change in 2018 and I'm here to tell you why and how this is going to affect video playback with sound. Spoiler alert: Users are going to love it!"

read »

Workaday Reading

URL Bar Resizing



"The resizing behavior of the URL bar is changing in Chrome on Android starting in version 56. Here's what you should know: Lengths defined in viewport units (i.e. vh) will not resize in response to the URL bar being shown or hidden."

read »

Workaday Reading

Certificates for localhost



"Sometimes people want to get a certificate for the hostname “localhost”, either for use in local development, or for distribution with a native application that needs to communicate with a web application."

read »

Workaday Reading

Don’t Use The Placeholder Attribute



"Upgrade your inbox and get our editors’ picks twice a month. The placeholder attribute contains a surprising amount of issues that prevent it from delivering on what it promises. Let’s clarify why you need to stop using it."

read »

Workaday Reading

dgraham/delegated-events



"Delegated event listeners A small, fast delegated event library for JavaScript. Usage import {on, off, fire} from 'delegated-events'; // Listen for browser-generated events. on('click', '.js-button', function(event) { console."

read »