Skip to content

Instantly share code, notes, and snippets.

@heycassidy
heycassidy / delete-likes.js
Last active November 11, 2024 19:15
Unlike Tweets
// // THIS SCRIPT DELETES YOUR LIKES
// // I AM NOT RESPONSIBLE IF YOUR ACCOUNT GETS BANNED OR SUSPENDED BECAUSE IDK MAYBE THIS IS AGAINST TWITTER TOS
// 1. Go to your likes page, e.g. https://x.com/USERNAME/likes
// 2. Open the browser JavaScript console
// 3. Paste this script
// 4. Hit enter to run
@heycassidy
heycassidy / comeauReset.js
Created February 5, 2022 03:10
Josh Comeau's CSS reset formatted as a JavaScript style object
// Josh's Custom CSS Reset
// https://www.joshwcomeau.com/css/custom-css-reset/
export const comeauReset = {
// 1. Use a more-intuitive box-sizing model.
'*, *::before, *::after': {
boxSizing: 'border-box',
},
// 2. Remove default margin