Skip to content

Instantly share code, notes, and snippets.

@matheuscorreia
matheuscorreia / removeGlassDoorContentWall.js
Created February 27, 2023 20:49
A Tampermonkey user script to remove the content wall from Glassdoor review pages
// ==UserScript==
// @name Remove Glassdoor reviews content wall
// @namespace mailto:matheuscorreia2005@gmail.com
// @version 1.0
// @description Get rid of the annoying review content wall when browsing glassdoor.
// @author Matheus Correia
// @match https://www.glassdoor.com/Reviews/*
// @icon https://www.glassdoor.com/favicon.ico
// @grant none
// @run-at document-end
@RobertAKARobin
RobertAKARobin / safari.md
Last active May 24, 2026 00:47
Safari's date-picker is the cause of 1/3 of our customer support issues

Safari's date-picker is the cause of 1/3 of our customer support issues

...and obviously we're building a workaround. But I'm absolutely flabbergasted that a standard <input type="date"> HTML field, in a standard browser, from a company that bases its reputation good design, could be so dreadful.

The context

I'm the developer for a startup that sells a genetic test to recommend medications for high blood pressure. For medical reasons we need to know our customers' birth date. Most of our customers are in their 60s or older. We've found that many of them use iPads or iPhones. And they're the ones who complain to our customer support that our site is unusable.

The problem

Elon Musk's suspension reversals

The tables below show notable Twitter suspension reversals for each day since Elon Musk took over as owner and CEO.

All dates indicate when the suspension or reversal was detected, and the actual suspension or reversal may have been earlier. For most English-language accounts with large followings, this lag will generally not be longer than a few hours, but for accounts that have a small number of followers or that are outside the networks we are tracking, the difference can be larger, and in some cases an account on the list may have had its suspension reversed before 27 October 2022. These dates will get more precise as we refine the report.

Because of these limitations, this report should be considered a starting point for investigation, not a definitive list of suspension reversals.

javascript:(() => {
const requestURL = "http://127.0.0.1:8080/api/readingList";
const token = "dfgkjlhsdfgkljghklhj";
const pageTitle = document.title;
const pageURL = window.location.href;
let metaImage = "";
let metaDescription = "";
function getMetaValue(propName) {
@gaearon
gaearon / index.html
Created January 15, 2022 03:26
tiny worldle clone i built during a stream https://www.youtube.com/watch?v=K77xThbu66A
<h1>Wordle</h1>
<div id="grid"></div>
<style>
body, html {
background: #111;
color: white;
font-family: sans-serif;
text-align: center;
text-transform: uppercase;
}
@iosifnicolae2
iosifnicolae2 / Readme.md
Last active December 7, 2025 19:52
Youtube is Boring

How To Make Youtube Less Boring

Tutorial: https://www.youtube.com/watch?v=hIqMrPTeGTc
Paste the below code in your browser console (F12 > Console):

/**
 * YouTube "Not Interested" Automation Script
 *
 * This script marks all videos in the YouTube feed as "Not interested".
 *
 * Usage:

Cheat sheet: public prototype methods and accessors

const getterKey = Symbol('getterKey');
const setterKey = Symbol('setterKey');
const syncMethodKey = Symbol('syncMethodKey');
const syncGenMethodKey = Symbol('syncGenMethodKey');
const asyncMethodKey = Symbol('asyncMethodKey');
const asyncGenMethodKey = Symbol('asyncGenMethodKey');
@pixleight
pixleight / Tie Return Type of a Function to its Arguments.ts
Created October 14, 2021 18:51
Methods for tying the return type of a function to its arguments
// The return type matches the type of argument provided
const doSomething = <T>(data: T) : T[] => {
// processing...
return result; // array of type T
}
const something = doSomething(1) // type number[]
// For more complex narrowing...
@shawwn
shawwn / hackernews-new-comms.js
Last active September 24, 2021 22:19 — forked from linkdd/hackernews-new-comms.js
Add a bell emoji to unread comments on HackerNews
// Can be used with https://github.com/xcv58/Custom-JavaScript-for-Websites-2
// This snippet is released under the terms of the CC0 license: https://creativecommons.org/publicdomain/zero/1.0/deed.en
// Updated by sillysaurusx (v0.1.0):
// - bells stay till you mouseover each HN comment
// - use a constant localStorage key
// future plans:
// - don't bell your own comments
// - a button to un-bell the current page (or comment subtree)
@linkdd
linkdd / hackernews-new-comms.js
Last active May 4, 2026 14:08
Add a bell emoji to unread comments on HackerNews
// Can be used with https://github.com/xcv58/Custom-JavaScript-for-Websites-2
// This snippet is released under the terms of the CC0 license: https://creativecommons.org/publicdomain/zero/1.0/deed.en
const cache_key = 'hn_comments_views'
const cache = JSON.parse(localStorage.getItem(cache_key) || '{}')
document.querySelectorAll('.athing.comtr').forEach(comm => {
if (!cache[comm.id]) {
const span = document.createElement('span')
span.innerHTML = '&#x1f514;' // :bell: emoji