I hereby claim:
- I am j-f1 on github.
- I am j_f (https://keybase.io/j_f) on keybase.
- I have a public key ASDP4ZOty1cZs_hiUV3tHl-AUC_crezmEtI9y4RQKbf1qgo
To claim this, I am signing this object:
MIT License | |
Copyright (c) 2021 Jed Fox | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
// ==UserScript== | |
// @name Messenger Native Emoji | |
// @namespace http://jedfox.com/ | |
// @version 1.0 | |
// @description Use native emoji on Messenger | |
// @author Jed Fox | |
// @match *://*.messenger.com/* | |
// @grant GM_addScript | |
// ==/UserScript== |
I hereby claim:
To claim this, I am signing this object:
/* | |
Copy this into the console of any web page that is interactive and doesn't | |
do hard reloads. You will hear your DOM changes as different pitches of | |
audio. | |
I have found this interesting for debugging, but also fun to hear web pages | |
render like UIs do in movies. | |
*/ | |
const audioCtx = new (window.AudioContext || window.webkitAudioContext)() |
load( | |
'https://charcoal-se.org/userscripts/vendor/debug.min.js', | |
[ | |
'https://cdn.rawgit.com/joewalnes/reconnecting-websocket/fd7c819bb15eeee3452c17e317c0a3664c442965/reconnecting-websocket.min.js', | |
'https://charcoal-se.org/userscripts/autoflagging/autoflagging.user.js' | |
], | |
'https://charcoal-se.org/userscripts/fire/fire.user.js', | |
[ | |
'https://charcoal-se.org/userscripts/vendor/actioncable.min.js', | |
'https://charcoal-se.org/userscripts/sds/sds.user.js' |
export default function(context) { | |
const fileSource = context.eslint.sourceCode.text | |
return { | |
ImportDeclaration(node) { | |
const idx = node.parent.body.indexOf(node) | |
const line = node.loc.start.line | |
if (idx > 0) { | |
const prevNode = node.parent.body[idx - 1] | |
if (line - prevNode.loc.end.line < 2) { |
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// default font size in pixels for all tabs | |
fontSize: 12, | |
// font family with optional fallbacks |
export default function (babel) { | |
const { types: t } = babel; | |
return { | |
visitor: { | |
CallExpression(path) { | |
if (!t.isMemberExpression(path.node.callee) | |
|| path.node.callee.object.name !== 'log') { | |
return | |
} |