Skip to content

Instantly share code, notes, and snippets.

View nickkaczmarek's full-sized avatar
🌊

Nick Kaczmarek nickkaczmarek

🌊
View GitHub Profile
@nickkaczmarek
nickkaczmarek / find_jsc.sh
Created December 2, 2020 02:57
Find where jsc is the framework
find /System/Library/Frameworks/JavaScriptCore.framework -iname jsc
@nickkaczmarek
nickkaczmarek / apply-anchor-tags-to-headers-with-ids.js
Created October 6, 2023 12:50
Apply Anchor Tags to Headers with Ids
// ==UserScript==
// @name Apply Anchor Tags to Headers with Ids
// @description Finds all header tags that have ids and puts an anchor inside it
// @match *://*/*
// @exclude https://imois.in/games/travle/*
// ==/UserScript==
function applyAnchorTagsToHeadersWithIds() {
// get all header elements on the page
const headers = document.querySelectorAll("h1, h2, h3, h4, h5, h6")