Tag: javascript

Bookmarklet to enable Picture-in-Picture (PiP) support on sites that try to disable it, such as Hulu, and especially in browsers that honor it, such as Chrome.

Simple NPM script for detecting whether your code is executing inside of Glitch or not. Detects based on environmental variables and/or hosting info.

Project and tool for generating IFrame embeds for any tweet from just the URL, no coding required or third-party scripts.

How to easily enable VSCode Intellisense and autocomplete within Webpack config JS or JSON files.

Using TP-Link Kasa, Google Apps Script, Android, and Automagic to automate my morning wake up alarm and turn on the lights.

Overriding the default behavior of keyboard key presses in browsers with JavaScript, to get ALT and arrow key combinations working with a SPA.

An experimental ReactJS project to turn text input into a point based graphical output, shown as a Github Contributions Graph mockup.

A reminder of the emphasis on opinions in Prettier's guiding principles, and how this can conflict with ESLint.

An adventure in trying to write a Gatsby remark plugin to wrap specific markdown blocks (aka MD AST nodes) in custom classed div HTML elements.

How to test that an array does not include any members of another array with Chai JS and Mocha framework. Explains workaround and why certain tests don't work.