Skip to content

Instantly share code, notes, and snippets.

View devinschumacher's full-sized avatar
🦩
stayin' funky

Devin Schumacher devinschumacher

🦩
stayin' funky
View GitHub Profile
@devinschumacher
devinschumacher / script.js
Created July 14, 2024 00:50
browser console function to get and save all your cookies, storage and authentication related information to a file on desktop
// Function to get all cookies
function getCookies() {
return document.cookie.split(';').reduce((cookies, cookie) => {
const [name, value] = cookie.trim().split('=');
cookies[name] = decodeURIComponent(value);
return cookies;
}, {});
}
// Function to get all localStorage items
@devinschumacher
devinschumacher / post.md
Created July 11, 2024 17:30
How to Remove UNIQUE lines only (opposite of remove duplicates) in VS Code with simple `cmd+f` & REGEX
title tags
How to Remove UNIQUE lines only (opposite of remove duplicates) in VS Code with simple `cmd+f` & REGEX
vs code
productivity

How to Remove UNIQUE lines only (opposite of remove duplicates) in VS Code with simple cmd+f & REGEX

  1. Use cmd+f to open the 'Find' dialog box
@devinschumacher
devinschumacher / v1-serp-clapper-latest-viewport.js
Last active January 13, 2024 03:46
SERP Clapper - New Code /latest
// keeps clapping in viewport
(async function() {
const events = ['mousedown', 'mouseup', 'click'];
function randomDelay(min, max) {
return Math.floor(Math.random() * (max - min + 1)) + min;
}
async function scrollToBottom() {