Skip to content

Instantly share code, notes, and snippets.

@ivarmedi
ivarmedi / script.js
Last active November 9, 2023 22:05
HN User Comments
// ==UserScript==
// @name HN User Comments
// @version 1
// @grant none
// @include https://news.ycombinator.com/*
// ==/UserScript==
const userElements = document.getElementsByClassName('hnuser')
document.userData = {...document.userData}
const script = document.createElement('script');
script.type = 'text/javascript';
script.src = 'https://cdnjs.cloudflare.com/ajax/libs/tunajs/1.0.4/tuna-min.js';
document.head.appendChild(script);
const apply = () => {
const context = new AudioContext();
const tuna = new Tuna(context);
const filter = new tuna.Filter({

Keybase proof

I hereby claim:

  • I am ivarmedi on github.
  • I am ivarmedi (https://keybase.io/ivarmedi) on keybase.
  • I have a public key ASAL7jPcUuppsU3sKHBKEJdlNgFR2I2zV3suM0vPpJemgQo

To claim this, I am signing this object: