To write a Chrome extension that allows ES6 imports
, imitate <script type="module">
with a dynamic import:
Author: underblob
Chrome extension MV2 access to page data
Chrome extensions exist in an “isolated world” to prevent global var collisions between the website and the extension that runs on a given website. This mostly applies to content_scripts
in an extension.
E.g. window.foo
: my extension declares foo
in the global scope and the website the extension runs on also declares foo
in the global scope. With “isolated world” scoping for the extension, this is not a worry since it doesn’t share scope with the web page it runs on.
Comparison Formulae
Collecting performance metrics, I needed a way to compare optimization before/after numbers into some meaningful value that would impress the brass.
Continue reading “Comparison Formulae”Portal
Pika: Have you ever seen a portal?
Kirik: Yes.
Pika: Was it like a doorway or a window?
Kirik: It looks like the room you’re in but the room’s dimensions start changing around you.
Continue reading “Portal”Bright and Stormy
- 3 parts clear gin
- ½ part absinthe verte
- 1 part fresh squeezed lemon juice
- 4+ parts ginger beer
Stir uncarbonated ingredients in Collins glass with ice cubes. Top with ginger beer.
Myopic Mania
Over one hundred years of intellectual discipline in the mathematical, chemical, and physical sciences culminates in this amazing device I hold in my hand; empowering me to instantly tweet across oceans and continents that viruses and vaccines are a hoax.
Ghost of Gatsby
- 3 parts dry gin
- 1 part sweet vermouth
- 1 part absinth
All Grows Up
The purpose of accepting authority is to learn to outgrow it.
Elaine Pagels
Why am I alive?
We long to be here for a purpose. Yet despite much self-deception, none is evident. The significance of our lives and our fragile planet is then determined only by our own wisdom and courage. We are the custodians of life’s meaning. If we crave some cosmic purpose, then let us find ourselves a worthy goal.
Carl Sagan
Say it ain’t so
Your drug is a heart breaker. My love is a life taker.
Weezer